erikafille.ph
GraphTool Vertex Attributes
It did take me some time to figure out how to obtain a node’s attribute is using Python’s graph-tool package. In this example, we have a directed graph g with a vertex property called `…