network_connectivity_matrix
- compas.datastructures.network_connectivity_matrix(network, rtype='array')[source]
Creates a connectivity matrix from a Network datastructure.
- Parameters:
- network
compas.datastructures.Network
Network data structure.
- rtypeLiteral[‘array’, ‘csc’, ‘csr’, ‘coo’, ‘list’], optional
Format of the result.
- network
- Returns:
- array_like
Constructed connectivity matrix.