Documentation ¶
Overview ¶
Package drawer gen the graph and etc.
Index ¶
- Constants
- func DrawWithMap(baseNode string, pkgMap map[string][]string) (string, error)
- func DrawWithMapAndSave(baseNode string, filename string, pkgMap map[string][]string) error
- func DrawWithSlice(baseNode string, pkgNames []string) (string, error)
- func DrawWithSliceAndSave(filename string, baseNode string, pkgNames []string) error
Constants ¶
View Source
const ( // DefaultFileName defines default file name DefaultFileName = "mew.dot" // GraphName defines parent graph name GraphName = "Mew" )
Variables ¶
This section is empty.
Functions ¶
func DrawWithMap ¶
DrawWithMap returns DOT lang of a map
func DrawWithMapAndSave ¶
DrawWithMapAndSave draws the graph and save to current path by a map
func DrawWithSlice ¶
DrawWithSlice returns the DOT lang of a slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.