-
Notifications
You must be signed in to change notification settings - Fork 5
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
Shape and color issues #8
Comments
after several hours of trial and error, I can verify some styles that are problematic and need to be avoided...
|
Hi @plasticfist, the second problem you mentioned should be resolved in the unstable branch. Please see relevant issue #7 The problem related to the shapes occurs with all rounded shapes. In the generated SVG, somehow the shape itself and its rounded corners are rotated and they don't align correctly. It needs further investigation. |
@kinimesi: I am using cytoscape-svg from npm where it is still only available as version 0.3.1, could you deploy the fixed version on npm? |
I just published 0.4.0, try it out and let me know if it works, thanks. |
Yes it works perfectly, thanks! |
@kinimesi i still have the problem with the rounded corners. Any updates on this topic? |
First, thank you for this, it looks like there are some style features that this (or the libraries it uses) fails to render as expected. Is there a supported style reference list? If there is I would evaluate changing my styles in order to get a good svg output.
I was surprised both by what it renders well, and just as surprised by the rest.
Here is an example cytoscape.js view
and the svg output
The text was updated successfully, but these errors were encountered: