-
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
Dotted and dashed lines #1497
Comments
The plugin you mention was indeed a solution, in a time when sigma was still rendering networks using canvas. Now, all nodes and edges are drawn using WebGL, and there is no implemented solution yet. Now, I feel that implementing dashed line should be doable - probably easier than proper dotted lines with circles, actually. And both would certainly be useful to other people. |
I can give it a try if you give me some pointers on where to start, or any similar PRs to reference. |
Hi @franciscorubin, Sorry for the delay, it's been a busy month. A PR would be great! I just published a short notice on how to start a new package in the monorepo here: https://www.sigmajs.org/docs/advanced/new-packages Then, you can look at existing edge renderers, both in the core package or as additional packages (only About how to render dashed lines using WebGL, basically, the vertex shader would have to return a rectangle (built using two triangles) exactly as Don't hesitate if you need some help, I'll try to be more reactive from now. |
I'm trying to add dashed lines to my graph, but can't find support for it in the last version of SigmaJS. I see mentions online of the "customEdgeShapes" plugin, but it doesn't appear to exist in the current version.
The text was updated successfully, but these errors were encountered: