Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BfsUpdatePositions ¶ added in v0.3.7
func BfsUpdatePositions(nodes []graphtypes.Node, edges []graphtypes.EdgeT)
BfsUpdatePositions updates the positions of the nodes using a layered layout algorithm that utilizes Breadth First Search.
func GetNodesAndEdges ¶
func GetNodesAndEdges(graph graphtypes.Graph) ([]graphtypes.Node, []graphtypes.EdgeT)
GetNodesAndEdges returns nodes and edges that can be displayed using the web UI.
func StartServer ¶
func StartServer(graph graphtypes.GraphT, port int32) error
StartServer starts the graph server and web UI to display the nodes and edges.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.