Giter VIP home page Giter VIP logo

Comments (9)

metincansiper avatar metincansiper commented on June 1, 2024

There is an open issue (cytoscape/cytoscape.js#884) for this in Cytoscape.js.

from chise.js.

ugurdogrusoz avatar ugurdogrusoz commented on June 1, 2024

Let's wait for cytoscape.js core for now

from chise.js.

ugurdogrusoz avatar ugurdogrusoz commented on June 1, 2024

Cytoscape.js will have this in version 3.1

from chise.js.

ugurdogrusoz avatar ugurdogrusoz commented on June 1, 2024

Should be done right after upgrade

from chise.js.

metincansiper avatar metincansiper commented on June 1, 2024

@ugurdogrusoz Latest cytoscape.js provides us with this feature. They expose 'arrow-scale' style property of edges for this purpose.
The default value of the 'arrow-scale' is 1 and the arrow heads seems like the following with default behaviour:
arrow-scale-1
If we set 'arrow-scale' to1.5 we have the following result:
arrow-scale-1-5
If we set it to 2 we get the following result:
arrow-scale-2
Which value should be used for 'arrow-scale' style property?

from chise.js.

ugurdogrusoz avatar ugurdogrusoz commented on June 1, 2024

1.5 looks good I think

from chise.js.

metincansiper avatar metincansiper commented on June 1, 2024

Okey I set it as 1.5

from chise.js.

amazein avatar amazein commented on June 1, 2024

After we changed the default font size and related shape sizes, the view was excellent. I think now the arrowheads are too big, for example catalysis arrowhead is almost the size of the process glyph.

from chise.js.

ugurdogrusoz avatar ugurdogrusoz commented on June 1, 2024

Right, looks like we exaggerated a bit. Decreased to 1.25 with iVis-at-Bilkent/sbgnviz.js@9275e8f.

from chise.js.

Related Issues (20)

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.