Giter Site home page Giter Site logo

Labeltooltip draw issue about d3-graphviz HOT 5 CLOSED

magjac avatar magjac commented on August 15, 2024
Labeltooltip draw issue

from d3-graphviz.

Comments (5)

JonNeat avatar JonNeat commented on August 15, 2024 1

@magjac

Thanks for the example. There must be a CSS bug at my end I assume. Very strange.

Edit: Yes, I had a css bug. Be careful of removing pointer-events with css.

from d3-graphviz.

magjac avatar magjac commented on August 15, 2024

You've used labeltooltip which works as expected:

image

If you want a tooltip for just the non-label part, use edgetooltip. If you want a tooltip for the whole edge, including the label part, use tooltip.

Thanks for submitting this issue. If you are using this library, don't forget to Watch it to stay tuned for updates or even Star it if you like it.

You can also use Stack Overflow tags d3.js & graphviz or the d3-graphviz Slack to ask for help. Although I make an effort to assist everyone that asks, I am not always available to provide help promptly or directly.

from d3-graphviz.

JonNeat avatar JonNeat commented on August 15, 2024

Hi @magjac

Thanks for taking your time to reply.

I cannot reproduce what you just said. The tooltip does not show on either: labeltooltip, edgetooltip or tooltip. Tested in both chrome and firefox.

from d3-graphviz.

JonNeat avatar JonNeat commented on August 15, 2024

untitled

See attached file. Hovering "danser" gives me the graph-label. I'm using labeltooltip here. The other edge's labeltooltip works fine.

from d3-graphviz.

magjac avatar magjac commented on August 15, 2024

I don't understand your last comment. Please provide an example on https://jsfiddle.net/

This one works as expected: https://jsfiddle.net/b4phbmjd/1/

from d3-graphviz.

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.