How to make GoJS tooltips appear only in some nodes?
in a severe procrastination attack from med school studies, I decided to build a graph that shows the approach to anemia as a decision tree. It has some links in the nodes and tooltips on mouse hover in some nodes.
The problem is, it shows an empty tooltip even if hoverText is not defined in the node template, and even worse, if it’s not defined it shows the last tooltip text the mouse hovered over.
I’m not a JS programmer, so clearly I’m doing something wrong here, can you help me fix this code?
Labels above links are not visible
I’m trying to visualize an entity diagram using the Go.js library. I found an example on their website that is as close as possible to what I want to do.
I modified it by setting up links not between entities, but between their fields, but after that the links did not work correctly – the inscriptions displaying the types of connections between the fields of entities disappeared.