File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -82,14 +82,13 @@ public:
8282 this ->draw_connection (&source, &sink, properties);
8383 }
8484
85- template <class T >
86- void draw_connection (Port<T>* source, Port<T>* sink, ConnectionProperties properties) {
87- if (top_environment_ == nullptr || top_environment_ == this ) {
88- log::Debug () << " drawing connection: " << source << " --> " << sink;
89- graph_.add_edge (source, sink, properties);
90- } else {
91- top_environment_->draw_connection (source, sink, properties);
92- }
85+ template <class T > void draw_connection (Port<T>* source, Port<T>* sink, ConnectionProperties properties) {
86+ if (top_environment_ == nullptr || top_environment_ == this ) {
87+ log::Debug () << " drawing connection: " << source << " --> " << sink;
88+ graph_.add_edge (source, sink, properties);
89+ } else {
90+ top_environment_->draw_connection (source, sink, properties);
91+ }
9392 }
9493
9594 void optimize ();
You can’t perform that action at this time.
0 commit comments