17 #ifndef HPP_MANIPULATION_GRAPH_DOT_HH 18 # define HPP_MANIPULATION_GRAPH_DOT_HH 26 namespace manipulation {
31 typedef std::pair <std::string, std::string>
Pair;
32 typedef std::map <std::string, std::string>
Map;
38 attr.insert (Pair (K,
"\"" + V +
"\""));
40 inline void insert (
const std::string& K,
const std::string& V) {
41 attr.insert (Pair (K, V));
47 separator (
", "), openSection (
"["), closeSection (
"]"),
57 inline std::string
toStr ()
const {
60 for (TooltipLineVector::const_iterator
61 it = v.begin (); it != v.end (); ++it ) {
64 if (i > 0) ss << tooltipendl;
68 inline void addLine (
const std::string& l) {
81 #endif // HPP_MANIPULATION_GRAPH_DOT_HH
std::string closeSection
Definition: dot.hh:34
std::ostream & insertComments(std::ostream &os, const std::string &c)
std::string & operator[](const std::string &K)
Definition: dot.hh:43
std::map< std::string, std::string > Map
Definition: dot.hh:32
void insert(const std::string &K, const std::string &V)
Definition: dot.hh:40
std::pair< std::string, std::string > Pair
Definition: dot.hh:31
std::string openSection
Definition: dot.hh:34
std::string separator
Definition: dot.hh:34
DrawingAttributes()
Definition: dot.hh:46
void insertWithQuote(const std::string &K, const std::string &V)
Definition: dot.hh:37
Map attr
Definition: dot.hh:35
std::ostream & operator<<(std::ostream &os, const DrawingAttributes &da)