Comments (5)
after several hours of trial and error, I can verify some styles that are problematic and need to be avoided...
- most of the rounded shapes, aka
"shape" : "round-octagon"
, round-pentagon, barrel, etc - the most problematic styling with a side effect, is if you use the edge style
"edge-text-rotation": "autorotate"
, while it DOES rotate the edge labels (see above) it also blacks out all the shapes...
from cytoscape-svg.
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.
from cytoscape-svg.
@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?
from cytoscape-svg.
I just published 0.4.0, try it out and let me know if it works, thanks.
from cytoscape-svg.
Yes it works perfectly, thanks!
from cytoscape-svg.
Related Issues (12)
- Cytoscape svg not rendering images HOT 6
- Cannot download .svg picture HOT 2
- Export to PDF HOT 2
- border not exported HOT 1
- Ability to drag and drop svg images HOT 3
- Export nodeHTML content HOT 1
- background color HOT 1
- Add element's id in SVG HOT 1
- Background color (not fixed ?) HOT 5
- 'edge-text-rotation': 'autorotate' breaks colors HOT 7
- Error: Attempted to apply path command to node g HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cytoscape-svg.