Block.vertex_sample
- Block.vertex_sample(size=1)
A random sample of the vertices.
- Parameters:
- sizeint, optional
The number of vertices in the random sample.
- Returns:
- list[int]
The identifiers of the vertices.
See also
A random sample of the vertices.
The number of vertices in the random sample.
The identifiers of the vertices.
See also