From a Graphbasic structure it write a GraphML format file
Definition at line 543 of file GraphMLWriter.hpp.
#include <GraphMLWriter.hpp>
Public Member Functions | |
GraphMLWriter (Graph &g) | |
bool | write (std::string file, std::string graph_name="Graph") |
It write a GraphML file from a graph. | |
Private Member Functions | |
std::string | get_vertex_properties_list () |
It get the vertex properties list. | |
std::string | get_edge_properties_list () |
It get the edge properties list. | |
std::string | get_vertex_list () |
Get the string containing the set of vertices. | |
std::string | get_edge_list () |
return the edge list as a string | |
Private Attributes | |
Graph & | g |
Graph to write. | |
|
inline |
GraphMLWriter constructor, it take a graph and write a GraphML format
g | Graph to write |
Definition at line 688 of file GraphMLWriter.hpp.
|
inlineprivate |
return the edge list as a string
edge node output string
Get an edge iterator
Definition at line 641 of file GraphMLWriter.hpp.
|
inlineprivate |
It get the edge properties list.
It get the edge properties list of the edge defined as a GraphML header
edge property output string
Definition at line 579 of file GraphMLWriter.hpp.
|
inlineprivate |
Get the string containing the set of vertices.
vertex node output string
Get a vertex iterator
Definition at line 599 of file GraphMLWriter.hpp.
|
inlineprivate |
It get the vertex properties list.
It get the vertex properties list of the vertex defined as a GraphML header and define position and shape of the node
vertex property output string
Definition at line 557 of file GraphMLWriter.hpp.
|
inline |
It write a GraphML file from a graph.
file | path where to write |
name | of the graph |
Definition at line 698 of file GraphMLWriter.hpp.
|
private |
Graph to write.
Definition at line 546 of file GraphMLWriter.hpp.