dstruct v0.1.0 (2015-03-29T14:44:48Z)
Home
Dub
Repo
BasicGraph.addEdge
dstruct
graph
BasicGraph
Add an edge to the graph.
New vertices will be added to the graph automatically.
void
addEdge
(Vertex left, Vertex right)
void
addEdge
(Vertex left, Vertex right)
void
addEdge
(Vertex left, Vertex right)
struct
BasicGraph
(Vertex, EdgeDirection edgeDirection)
@
safe
pure nothrow
void
addEdge
(
Vertex
left
,
ref
Vertex
right
)
void
addEdge
(Vertex left, Vertex right)
Meta
Source
See Implementation
dstruct
graph
BasicGraph
functions
addEdge
addVertex
directedEdgeCount
edgeCount
hasEdge
hasVertex
removeEdge
removeVertex
properties
vertexCount
variables
isDirected
Add an edge to the graph.
New vertices will be added to the graph automatically.