spmviz.io.write_graph#
- spmviz.io.write_graph(G, path, format=None, scale=400.0)[source]#
Write a graph with all node and edge attributes (format from the extension).
.gexfalso writes Gephi’svizposition (fromx,y), color (fromcolororstart/itemcolors) and size (fromsupport);.cyjswrites Cytoscape JSON with positions;.csvand.xlsxwrite node and edge tables (<name>_nodes.csv/<name>_edges.csvor two sheets);.dotwrites Graphviz.