Skip to content
Snippets Groups Projects
Commit 299d8d51 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

fixed indentation in dot code generation

parent 0944fd88
No related branches found
No related tags found
No related merge requests found
...@@ -206,7 +206,7 @@ namespace ChimeraTK { ...@@ -206,7 +206,7 @@ namespace ChimeraTK {
std::string myDotNode = cleanDotNode(getQualifiedName()); std::string myDotNode = cleanDotNode(getQualifiedName());
stream << myDotNode << "[label=\"" << getName() << "\""; stream << " " << myDotNode << "[label=\"" << getName() << "\"";
if(_eliminateHierarchy) { if(_eliminateHierarchy) {
stream << ",style=dotted"; stream << ",style=dotted";
} }
...@@ -221,7 +221,7 @@ namespace ChimeraTK { ...@@ -221,7 +221,7 @@ namespace ChimeraTK {
if(showVariables) { if(showVariables) {
for(auto &node : getAccessorList()) { for(auto &node : getAccessorList()) {
std::string dotNode = cleanDotNode(node.getQualifiedName()); std::string dotNode = cleanDotNode(node.getQualifiedName());
stream << dotNode << "[label=\"{" << node.getName() << "| {"; stream << " " << dotNode << "[label=\"{" << node.getName() << "| {";
bool first = true; bool first = true;
for(auto tag : node.getTags()) { for(auto tag : node.getTags()) {
if(!first) { if(!first) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment