-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Edge to the same node? #810
Comments
Hello @EquaI1ty. Sigma.js does not support self-links out of the box. I remember a plugin rendering such links but cannot find it back. |
I've worked with this type of edges quite a few times with sigma and it actually works very well when using curved edges. When the source and target of the edge are the same, sigma resorts to calculating control points for a self-loop; else, it calculates regular quadratic control points. See lines 29-31 over at https://github.com/jacomyal/sigma.js/blob/master/src/renderers/canvas/sigma.canvas.edges.curve.js. Add your edge as below and it should show fine: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello! |
@Gvenvivar25 it doesn't seem like it's implemented yet in v3. See this ticket: #1429 |
Hi,
I've tried to use sigma.js for the first time. I need to draw edge from n1 to n1 (to the same node), it's possible? Maybe this result can be achieved with help of some plugins?
The text was updated successfully, but these errors were encountered: