python - How to add properties to edges when using add_edge_list in graph_tool? -




i trying use add_edge_list instead of inserting edges 1 one using add_edge in order make graph creation faster.

but can't find how can create these edges @ once , associate weight property them without looping on edges once created.

from documentation at:

https://graph-tool.skewed.de/static/doc/graph_tool.html#graph_tool.graph.add_edge_list

if given, eprops specifies edge property maps filled remaining values @ each row, if there more two.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -

python - Read npy file directly from S3 StreamingBody -