Documentation ¶
Index ¶
Constants ¶
View Source
const ( BaseTypeFlag = "{{TYPE}}" PackageBaseTypeURL = "tree" FileBaseTypeURL = "blob" )
Variables ¶
This section is empty.
Functions ¶
func NewGenerator ¶
func NewGenerator(numberNodes int) *generator
Types ¶
type Node ¶
type Node struct { Name string `json:"name"` URL string `json:"url"` Branch string `json:"branch"` Type NodeType `json:"type"` Width float64 `json:"width"` Depth float64 `json:"depth"` Position Position `json:"position"` NumberOfLines int `json:"numberOfLines"` NumberOfMethods int `json:"numberOfMethods"` NumberOfAttributes int `json:"numberOfAttributes"` Children []*Node `json:"children"` Line int `json:"-"` // contains filtered or unexported fields }
func (*Node) GenerateChildList ¶
func (*Node) GenerateChildrenPosition ¶
func (n *Node) GenerateChildrenPosition()
Click to show internal directories.
Click to hide internal directories.