graph

package
v0.3.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL