From a Graphbasic structure it write a GraphML format file
Definition at line 539 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. More... | |
Private Member Functions | |
| std::string | get_vertex_properties_list () |
| It get the vertex properties list. More... | |
| std::string | get_edge_properties_list () |
| It get the edge properties list. More... | |
| std::string | get_vertex_list () |
| Get the string containing the set of vertices. More... | |
| std::string | get_edge_list () |
| return the edge list as a string More... | |
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 684 of file GraphMLWriter.hpp.
|
inlineprivate |
return the edge list as a string
edge node output string
Get an edge iterator
Definition at line 637 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 575 of file GraphMLWriter.hpp.
|
inlineprivate |
Get the string containing the set of vertices.
vertex node output string
Get a vertex iterator
Definition at line 595 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 553 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 694 of file GraphMLWriter.hpp.