Mapping of diagram elements to their GraphML node ids. Each type of node has a different prefix. With parser attribute set to canonical, the nodes must have a n prefix and edges must have a e prefix.
Definition at line 91 of file generator.h.
#include <generator.h>
Public Member Functions | |
| graphml_node_map_t (std::string prefix) | |
| std::string | add (const std::string &name) |
| std::optional< std::string > | get (const std::string &name) const |
Private Attributes | |
| uint64_t | next_node_id_ {0} |
| std::string | prefix_ |
| std::map< std::string, std::string > | map_ |
| clanguml::common::generators::graphml::graphml_node_map_t::graphml_node_map_t | ( | std::string | prefix | ) |
Definition at line 65 of file generator.cc.
| std::string clanguml::common::generators::graphml::graphml_node_map_t::add | ( | const std::string & | name | ) |
Definition at line 70 of file generator.cc.
| std::optional< std::string > clanguml::common::generators::graphml::graphml_node_map_t::get | ( | const std::string & | name | ) | const |
Definition at line 76 of file generator.cc.
|
private |
Definition at line 103 of file generator.h.
|
private |
Definition at line 100 of file generator.h.
|
private |
Definition at line 102 of file generator.h.