button v0.1.3 (2018-11-15T00:21:03Z)
Dub
Repo
Graph.length
button
graph
Graph
Returns the number of vertices for the given type.
class
Graph
(A, B, EdgeDataAB = size_t, EdgeDataBA = size_t)
@
property
const pure nothrow
size_t
length
(
Vertex
)
(
)
if
(
isVertex
!
Vertex
)
if
(
!
is
(
A
==
B
)
)
Meta
Source
See Implementation
button
graph
Graph
aliases
EdgeData
Opposite
classes
Data
enums
isEdge
isVertex
functions
data
degreeIn
degreeOut
diffEdges
diffVertices
edges
outgoing
put
remove
subgraph
traverse
properties
cycles
empty
length
tarjan
vertices
structs
Edges
SCC
Visited
Returns the number of vertices for the given type.