- addEdge
AddEdgeResult addEdge(VertexDescriptor src, VertexDescriptor dst, EdgeProperty value)
Adds an edge to the graph.
- addVertex
VertexDescriptor addVertex(VertexProperty value)
Adds a new vertex to the graph.
- edgesBetween
auto edgesBetween(VertexDescriptor from, VertexDescriptor to)
Undocumented in source. Be warned that the author may not have intended to support it.
- inDegree
size_t inDegree(VertexDescriptor vertex)
Undocumented in source. Be warned that the author may not have intended to support it.
- inEdges
auto inEdges(VertexDescriptor vertex)
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndex
inout(VertexProperty) opIndex(VertexDescriptor v)
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndex
const(EdgeProperty) opIndex(EdgeDescriptor e)
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndex
EdgeProperty opIndex(EdgeDescriptor e)
Undocumented in source. Be warned that the author may not have intended to support it.
- outDegree
size_t outDegree(VertexDescriptor vertex)
Undocumented in source. Be warned that the author may not have intended to support it.
- outEdges
auto outEdges(VertexDescriptor vertex)
Lists the outbound edges of a given vertex.
- removeEdge
void removeEdge(EdgeDescriptor edge)
Removes an edge from the graph.
- removeVertex
void removeVertex(VertexDescriptor vertex)
Removes a vertex from the graph. The complexity of this operaton
varies with the storage class. For storage classes that have
stable indexes, this is O(1). For classes with unstable indexes
this is at least O(n), where n is the number of edges in the graph,
due to the VertexDescriptors in all the edges having to be fixed up.
- source
VertexDescriptor source(EdgeDescriptor edge)
Fetches the descriptor of the source vertex of the given edge.
- target
VertexDescriptor target(EdgeDescriptor edge)
Fetches the descriptor of the target vertex of the supplied edge.