Graph.edge_sample
- Graph.edge_sample(size=1)[source]
Get the identifiers of a set of random edges.
- Parameters
size (int, optional) – The size of the sample.
- Returns
list – The identifiers of the random edges.
Get the identifiers of a set of random edges.
size (int, optional) – The size of the sample.
list – The identifiers of the random edges.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev