I’m evaluating GoDiagram for use in a process control environment. I want to create nodes connected by links.
- the nodes must be *.gif or *.jpg files
- the links must change color and animate according to the physical processes involved.
Q1: how can I create a GoNode that takes a filename.gif for the image? GoIconicNode doesn’t seem to be what I want because the icons must all be the same size, while my images vary in size within a single picture. I’m guessing I need to subclass GoNode and combine it with GoImage, but beyond that, I’m confused.
Q2: it looks like I can just change the pen used to draw a link to change the color and other animation features… is that the best way to change a link from a thin green line to a thick, red, flashing line?