@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    GraphNode graphNode = (GraphNode)o;

    if (myNodeIndex != graphNode.myNodeIndex) return false;
    if (myType != graphNode.myType) return false;

    return true;
  }
@Override
  public boolean equals(Object o)