-
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
Beziers don't seem to render nicely #3315
Comments
Hi, @bryjohnston. It looks like it's working in this demo: https://jsbin.com/gunozik/edit?js,output Would you fork that demo to show a case where it's not working for you? |
I'm not sure how to fork this but I was able to replicate by changing the javascript file to this:
|
with this version, no matter how I change control point step size the graph does not look nice |
size too small, You can set edge style
|
You can also use the edge-distances property to control the beziers further: https://js.cytoscape.org/#style/bezier-edges In your case, the first step would be to set the endpoints appropriately in the stylesheet, e.g.
If you use custom endpoint values (px or %), then setting |
I am doing this through plotly dash cytoscape but I do not think that actually matters here, please let me know if that's not ok to post. The issue is only with cytoscape, not dash.
I am trying create a graph but I cannot find suitable values for the control point distance, weight, etc.
I suspect this has to do with the fact I am using rather small edge and node sizes. I am hoping to get my bezier curves to look like in the demo but mine will only form little mountains at best. my too big bezier curves
I made a simple dash app to demonstrate the issue, allowing the control of each parameter. I have tried enabled and disabled control-point-step-size vs control-point-distance.
The text was updated successfully, but these errors were encountered: