Code Monkey home page Code Monkey logo

Comments (6)

txu-7777 avatar txu-7777 commented on July 3, 2024

I am having the same problem when my node title contains an href, I thought the problem was fixed based on comments here: #133

But doesn't seem like the case. I deleted the following code from the HTML file for the network:

.vis-tooltip {display:none;}

And then the edge title showed up, but the node titles become duplicated like this:
image

Would also like to know if there is away around this right now. Thank you!

from pyvis.

norweeg avatar norweeg commented on July 3, 2024

Are your node IDs numeric? Wondering if this is related to #272. It seems a LOT of things are ignored when node IDs are numeric

from pyvis.

txu-7777 avatar txu-7777 commented on July 3, 2024

Hey @norweeg, my node IDs are strings in this case

from pyvis.

norweeg avatar norweeg commented on July 3, 2024

Hey @norweeg, my node IDs are strings in this case

right, but are the strings numeric in that they contain only numeric characters?? Pyvis silently casts numeric strings to int for no reason causing issues if your node IDs are numeric strings, but does not do the same cast-as-int when adding edges containing numeric node ID strings. I fixed this in #277 which addresses my issue, #276

from pyvis.

txu-7777 avatar txu-7777 commented on July 3, 2024

Oh, I see your point. In my case, the node IDs don't contain any numeric strings, they are BQ table names in the following format project.dataset.table

from pyvis.

lucca-miorelli avatar lucca-miorelli commented on July 3, 2024

In addition to this issue:

I'm encountering a similar problem. When I set the node title to HTML that includes an href, the edges' tooltips mysteriously disappear, even though the titles are present in the HTML file.

  • Node IDs are strings with numbers and letters;
  • If node title is a simple string, the edge titles show up as expected.

from pyvis.

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.