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) {
57 inline std::string
toStr ()
const {
60 for (TooltipLineVector::const_iterator
61 it =
v.begin (); it !=
v.end (); ++it ) {
68 inline void addLine (
const std::string& 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:34
DrawingAttributes()
Definition: dot.hh:46
std::string separator
Definition: dot.hh:34
std::map< std::string, std::string > Map
Definition: dot.hh:32
void insertWithQuote(const std::string &K, const std::string &V)
Definition: dot.hh:37
std::pair< std::string, std::string > Pair
Definition: dot.hh:31
std::string closeSection
Definition: dot.hh:34
Map attr
Definition: dot.hh:35
std::string & operator[](const std::string &K)
Definition: dot.hh:43
void insert(const std::string &K, const std::string &V)
Definition: dot.hh:40