Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Render ¶
func Render(v *Visualization, filenames ...string) string
Types ¶
type Config ¶
type Config struct { RootPath string // project root path TargetPath string // target directory path, relative to RootPath Module string // project module name All bool // parse all subdirectories SysPkg bool // include go sdk packages ThirdPkg bool // include third party packages OrgPkg bool // include same organization packages HostAsOrg bool // use host as organization }
type Digraph ¶
type Digraph struct { Nodes map[string]*Node Edges map[string]*Edge // contains filtered or unexported fields }
func NewDigraph ¶
func NewDigraph() *Digraph
type Package ¶
type Package struct { FullName string SimpleName string Type ImportType RelativePath string }
type Visualization ¶
func New ¶
func New(c Config) (*Visualization, error)
func (*Visualization) Parse ¶
func (p *Visualization) Parse(root string) error
Click to show internal directories.
Click to hide internal directories.