29 #ifndef HPP_MANIPULATION_GRAPH_DOT_HH
30 #define HPP_MANIPULATION_GRAPH_DOT_HH
38 namespace manipulation {
43 typedef std::pair<std::string, std::string>
Pair;
44 typedef std::map<std::string, std::string>
Map;
50 attr.insert(
Pair(K,
"\"" + V +
"\""));
52 inline void insert(
const std::string& K,
const std::string& V) {
66 inline std::string
toStr()
const {
69 for (TooltipLineVector::const_iterator it =
v.begin(); it !=
v.end();
77 inline void addLine(
const std::string& l) {
v.push_back(l); }
std::ostream & operator<<(std::ostream &os, const DrawingAttributes &da)
std::ostream & insertComments(std::ostream &os, const std::string &c)
std::string openSection
Definition: dot.hh:46
DrawingAttributes()
Definition: dot.hh:56
std::string separator
Definition: dot.hh:46
std::map< std::string, std::string > Map
Definition: dot.hh:44
void insertWithQuote(const std::string &K, const std::string &V)
Definition: dot.hh:49
std::pair< std::string, std::string > Pair
Definition: dot.hh:43
std::string closeSection
Definition: dot.hh:46
Map attr
Definition: dot.hh:47
std::string & operator[](const std::string &K)
Definition: dot.hh:55
void insert(const std::string &K, const std::string &V)
Definition: dot.hh:52