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

Using the same source and target node leads to disconnected/hidden edge #85

Closed
jpuzz0 opened this issue Jul 31, 2023 · 1 comment
Closed

Comments

@jpuzz0
Copy link

jpuzz0 commented Jul 31, 2023

Describe the problem
Edge that has source and target as the same node leads to edge being disconnected, overlapped and somewhat hidden.

How do you reproduce the problem?
Use an edge with the same source and target

Expected behavior
Edge is fully visible and not hidden behind node

Screenshots
image
image

What is your environment?

  • OS: iOS
  • Browser chrome
  • Version 115.0.5790.114

What is your product and what release date are you targeting?
5.0.0

Any other information?
Using TaskNode, DefaultEdge, BreadthFirstLayout, but the layout type doesn't seem to have much of an impact.

@jeff-phillips-18
Copy link
Member

By default, edges draw on the layer below nodes intentionally so that nodes are not overdrawn by edges that pass thru them due to layout positioning. If a particular application needs to draw edges that need to draw over nodes, they can set those particular edges to draw on a layer above the default layer (TOP_LAYER or a custom defined layer).

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

No branches or pull requests

2 participants