graph
- m3sh.vis.graph(points, graph, color=(0.0, 0.0, 0.0))[source]
Graph visualization.
Experimental support for graph plotting. The graph parameter is described in more detail in SciPy’s
csgraph
module- Parameters:
points (array_like) – Node coordinate array.
graph (csr_matrix) – Combinatorial graph definition.
color (array_like, shape (3, ), optional) – Edge color.
- Returns:
Polygonal graph instance.
- Return type:
Note
Conversion from a dense matrix repesentation can be achieved via the
csgraph_from_dense()
utility function.