Hi, how to put a label ()string in vertex or edge properties ?
I can only find:
new_vertex_property("int") and new_edge_property("int")
Hi, how to put a label ()string in vertex or edge properties ?
I can only find:
new_vertex_property("int") and new_edge_property("int")
Just do g.new_vertex_property("string").
Did you read the documentation?
https://graph-tool.skewed.de/static/doc/quickstart.html#property-maps
Best,
Tiago