graph

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DfsUpdatePositions

func DfsUpdatePositions(nodes []graphtypes.Node, edges []graphtypes.EdgeT)

DfsUpdatePositions updates the positions of the nodes using a layered layout algorithm that utilizes Depth 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