Giter Club home page Giter Club logo

force-horse's People

Contributors

amitmy avatar ramtob avatar yonatankra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

force-horse's Issues

Add labels functionality to links

  1. A link can have a label.
  2. Labels can't be shown or not (same show/don't labels button).
  3. No level of details for link labels (as opossed to nodes that always have degree centrality measure, links don't necessarily have weights so we can't enforce LOD).
  4. Link labels should be aligned with the link itself.

[Enhancement]: Accept an "onInit" method

Accept an onInit method that would be called once the directive is initiated. This method will be called with the forceHorseInstance.
This would replace the current options.forceHorseInstance mechanism.
Motivation:

  1. Creating more than one forceHorse with the same options object.
  2. Preventing memory leaks by not forcing the user to hold the API in a long term object.

[Exception] Uncaught DOMException: Failed to read the 'value' property from 'SVGLength'

hi,
getting this exception after passing data to force-horse, I am passing data a number of times in a second - I guess it causes the issue:

the exception:

Uncaught DOMException: Failed to read the 'value' property from 'SVGLength': Could not resolve relative length.
    at SVGSVGElement.defaultExtent (http://localhost:3000/webpack-internal:///2894:29:25)
    at new Gesture (http://localhost:3000/webpack-internal:///2894:198:26)
    at gesture (http://localhost:3000/webpack-internal:///2894:190:12)
    at SVGSVGElement.eval (http://localhost:3000/webpack-internal:///2894:164:40)

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.