Giter Club home page Giter Club logo

Comments (6)

anvaka avatar anvaka commented on August 15, 2024

SVG specification allows you to only compose elements within group elements. Please follow this example:
demos/tutorial_svg/06 - Composite Nodes.html

from vivagraphjs.

apivovarov avatar apivovarov commented on August 15, 2024

@anvaka how to display node text with webglGraphics?

from vivagraphjs.

anvaka avatar anvaka commented on August 15, 2024

You can use DOM labels:
http://anvaka.github.io/VivaGraphJS/demos/other/webglDOMLabels.html -
unfortunately there is no WebGL text support;
Source code:
https://github.com/anvaka/VivaGraphJS/blob/master/demos/other/webglDOMLabels.html

On Mon, Feb 29, 2016 at 4:47 PM, Alexander Pivovarov <
[email protected]> wrote:

@anvaka https://github.com/anvaka how to display node text with
webglGraphics?


Reply to this email directly or view it on GitHub
#33 (comment).

from vivagraphjs.

apivovarov avatar apivovarov commented on August 15, 2024

ok it works!
@anvaka How to implement showing label on node mouseover only (on svg or webgl)
similar to here http://www.yasiv.com/amazon#/Search?q=graph%20drawing&category=Books&lang=US

from vivagraphjs.

apivovarov avatar apivovarov commented on August 15, 2024

ok added hover as described here https://github.com/anvaka/VivaGraphJS/blob/master/demos/tutorial_svg/04%20-%20Listen%20To%20Mouse%20Events.html#L45

And set short or full text to svg text

from vivagraphjs.

apivovarov avatar apivovarov commented on August 15, 2024

Next question is to how add right panel with detailed node info?
similar to here http://www.yasiv.com/amazon#/Search?q=graph%20drawing&category=Books&lang=US

from vivagraphjs.

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.