Git Product home page Git Product logo

Comments (5)

plasticfist avatar plasticfist commented on June 20, 2024

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.

kinimesi avatar kinimesi commented on June 20, 2024

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.

KonradHoeffner avatar KonradHoeffner commented on June 20, 2024

@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.

kinimesi avatar kinimesi commented on June 20, 2024

I just published 0.4.0, try it out and let me know if it works, thanks.

from cytoscape-svg.

KonradHoeffner avatar KonradHoeffner commented on June 20, 2024

Yes it works perfectly, thanks!

from cytoscape-svg.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.