Step - statistics

statistics ยท category: Graph information and files

Returns the graph's counts: vertices and edges in total and per label.

Forms

statistics()

Example

g.statistics()["vertex_labels"]   // #{"person": 4, "software": 2}

See also