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

Edges with same source and target rendered as a star instead of an edge? #123

Open
pvillads opened this issue Dec 2, 2021 · 1 comment

Comments

@pvillads
Copy link

pvillads commented Dec 2, 2021

I have a situation where nodes commonly have references to themselves (like nodes representing methods with edges representing calls: Recursive methods then have calls pointing to themselves). In such cases, instead of the vertex (showing a label, like "Calls" in this example) I just see a star in the top left corner of the node. That throws away a lot of information. How do I get to see the self-pointing vertex properly?

Another example where this is indispensable is a state machine. Many states will transition onto themselves, and may be multiple such self-loops for a particular state

Best Regards

Peter Villadsen

@pvillads pvillads changed the title Edges with same source and target overflow rendered as a star instead of an edge? Edges with same source and target rendered as a star instead of an edge? Dec 2, 2021
@panthernet
Copy link
Owner

Hi, there's quite lazy implementation for self looped edges as I haven't come up with a good implementation idea at the time. You can look for PART_SelfLoopedEdge in the EdgeControl template to be able to modify the look of the self looped edge.

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

2 participants