@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof MyLocatableNode)) return false;
        if (!super.equals(o)) return false;

        MyLocatableNode that = (MyLocatableNode) o;

        if (Float.compare(that.x, x) != 0) return false;
        if (Float.compare(that.y, y) != 0) return false;

        return true;
    }