| 119 | }; |
| 120 | |
| 121 | struct LinkTarget { |
| 122 | GenNode* node; // Node where this link points. |
| 123 | Port port; // Port on the remote side of this link. |
| 124 | |
| 125 | LinkTarget(GenNode* a_node, Port a_port) : node(a_node), port(a_port) {} |
| 126 | }; |
| 127 | // All the links that are connected to the same port of this node |
| 128 | // are collected in one vector. A link is an edge of the graph that connects |
| 129 | // 2 nodes. Each of the connected nodes has its own perspective on the link, |