package
Version:
v0.0.0-...-4f03491
Opens a new window with list of versions in this module.
Published: Jan 13, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Graph struct {
Total int
Nodes []Node
}
type Link struct {
To int
Weight int
}
type MergeFn func(cs []*Node) interface{}
type Node struct {
Data interface{}
Parent *Node
Children []*Node
Links []Link
Degree int
SelfLoop int
}
func (node *Node) Print()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.