@Override
      public @NotNull Collection<Node> getNodes() {
        final Collection<Node> nodes = myGraph.getNodes();
        nodes.remove(node);
        return nodes;
      }
@Override
      public @NotNull Collection<Node> getNodes()