package
0.0.0-20190426092945-678096d81a4b
Repository: https://github.com/gonum/graph.git
Documentation: pkg.go.dev
# Functions
NewDirectedGraph returns a DirectedGraph with the specified self and absent edge weight values.
NewDirectedMatrix creates a directed dense graph with n nodes.
NewDirectedMatrixFrom creates a directed dense graph with the given nodes.
NewUndirectedGraph returns an UndirectedGraph with the specified self and absent edge weight values.
NewUndirectedMatrix creates an undirected dense graph with n nodes.
NewUndirectedMatrixFrom creates an undirected dense graph with the given nodes.
# Structs
DirectedGraph implements a generalized directed graph.
DirectedMatrix represents a directed graph using an adjacency matrix such that all IDs are in a contiguous block from 0 to n-1.
Edge is a simple graph edge.
UndirectedGraph implements a generalized undirected graph.
UndirectedMatrix represents an undirected graph using an adjacency matrix such that all IDs are in a contiguous block from 0 to n-1.
# Type aliases
Node is a simple graph node.