Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inserting edges after GraphView initialization causes them to overlap #40

Open
lorenzodbr opened this issue May 8, 2024 · 0 comments
Open

Comments

@lorenzodbr
Copy link

As the title says, when you add (at least) a new edge to an existing Graph (hence to an existing GraphView), it produces the result shown in the picture. A minimal code to reproduce this (it only needs to be added at the end of the provided Main class) is:

scene.setOnKeyPressed(e -> {
    List<Vertex<String>> vertices = new ArrayList<>(g.vertices());
    g.insertEdge(vertices.get(0), vertices.get(1), String.format("%02d", new Random().nextInt(100)));
    graphView.updateAndWait();
});

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant