saveGraphML

saveGraphML(fileName)
Write the network to the file fileName in GraphML format.

Example (python-conedy)

import conedy as co


N = co.network()


N.completeNetwork (10, co.node(), co.weightedEdge());

N.saveGraphML("output/saveGraphML.py.graph")


#N.clear()
#N.createFromAdjacencyList("output/createFromAdjacencyList.py.mat")

#N.saveAdjacencyList("output/createFromAdjacencyList.py.mat2")

Example (conedy)

network N;

N.completeNetwork(10, node, weightedEdge );

N.saveGraphML("output/saveGraphML.co.graph");
#N.clear()
#N.createFromAdjacencyList("output/createFromAdjacencyList.py.mat")

#N.saveAdjacencyList("output/createFromAdjacencyList.py.mat2")

Table Of Contents

Previous topic

saveAdjacencyMatrix

Next topic

scaleFreeNetwork