load_graph_from_csv() problem

OK, solved it - hadn't seen the note here:

https://graph-tool.skewed.de/static/doc/graph_tool.html?highlight=property%20map#graph_tool.PropertyMap.get_array

The way to access string property maps is via

g.vp.name.get_2d_array(pos=[0])
g.ep.type.get_2d_array(pos=[0])

Hope it helps someone.

Best

Haiko

attachment.html (3.29 KB)