-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labeltooltip draw issue #59
Comments
You've used labeltooltip which works as expected: 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. |
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. |
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/ |
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. |
Hi everyone,
Try render this dot:
digraph X {
rankdir=LR;
"X" [label=Bob, shape=square, URL="Y", style=filled, fillcolor="#dd4477"];
"Y" [label=Bob2, shape=square, URL="Y", style=filled, fillcolor="#ff9900"];
"X" -> "Y" [label=Danser, labeltooltip=asdada];
}
When hovering the X -> Y edge, the tooltip is not displayed. Looking at the HTML it seems to be an order issue.
Move the g-tag for the label above all others in the rendered html and it works.
The text was updated successfully, but these errors were encountered: