(final Graph graph, N node)
| 25 | private N node; |
| 26 | |
| 27 | public NodeRef(final Graph graph, N node) { |
| 28 | this.graph = graph; |
| 29 | this.node = node; |
| 30 | this.id = node.ref.id; |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * used when creating a node without the underlying instance at hand |