Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] How to export the network as a graph

How can I use SUMO (or netconvert) to export a *.net.xml file to an adjacency matrix of a graph (ex:  *.csv format)? I want to plot it in Matlab as a weighted graph where the edge weights (i.e., the adjacency matrix entries) are their associated length or 0 if two nodes are not connected. My best effort was to use  "netconvert --amitran-output", but I have to process again the output to become a csv file. Is there any more direct way? 
Thanks.

Back to the top