From 897df64dc47f86ad4e1c49323bbee30a8946780f Mon Sep 17 00:00:00 2001
From: Joseph Mirabel <jmirabel@laas.fr>
Date: Fri, 25 Jul 2014 21:18:37 +0200
Subject: [PATCH] Update GraphComponent print member functions

---
 src/graph/edge.cc          | 2 +-
 src/graph/node-selector.cc | 2 +-
 src/graph/node.cc          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/graph/edge.cc b/src/graph/edge.cc
index d195aaa..3ca6dbe 100644
--- a/src/graph/edge.cc
+++ b/src/graph/edge.cc
@@ -38,7 +38,7 @@ namespace hpp {
 
       std::ostream& Edge::print (std::ostream& os) const
       {
-        GraphComponent::print (os << " |   |   |__ ")
+        GraphComponent::print (os << "|   |   |-- ")
           << " --> " << to_.lock ()->name () << std::endl;
         return os;
       }
diff --git a/src/graph/node-selector.cc b/src/graph/node-selector.cc
index cfaea22..141bcd9 100644
--- a/src/graph/node-selector.cc
+++ b/src/graph/node-selector.cc
@@ -62,7 +62,7 @@ namespace hpp {
 
       std::ostream& NodeSelector::print (std::ostream& os) const
       {
-        GraphComponent::print (os << " |__ ") << std::endl;
+        GraphComponent::print (os << "|-- ") << std::endl;
         for (Nodes_t::const_iterator it = orderedStates_.begin();
             orderedStates_.end() != it; it++)
           os << *(*it);
diff --git a/src/graph/node.cc b/src/graph/node.cc
index 12f6260..2b3c408 100644
--- a/src/graph/node.cc
+++ b/src/graph/node.cc
@@ -75,7 +75,7 @@ namespace hpp {
 
       std::ostream& Node::print (std::ostream& os) const
       {
-        GraphComponent::print (os << " |   |__ ") << std::endl;
+        GraphComponent::print (os << "|   |-- ") << std::endl;
         for (Edges_t::const_iterator it = neighbors_.begin();
             it != neighbors_.end(); it++)
           os << *(*it);
-- 
GitLab