I’ll explain how our current Java app operates and hopefully you can give me direction on how to make the transfer to GoJS. I’ve gone through most examples and read a lot of the docs and API, but part of my problem is I’m trying to mirror how our current app works.
We have a toolbar that these actions can be selected:
Tools - selecting, moving, and zooming
Nodes - start, stop, activity, automated, template, etc. How these work is you select the node type and click on the diagram to create nodes. Once you click a node tool you can click multiple times in the diagram to create nodes.
Links - normal, 90 degree, and template. You select one of these tools then drag from one node to another to create a link. The type of link depends on the tool selected. In the diagram, different types of links will just have a different template.
So it sounds like selecting a tool and telling GoJS what mode to be in isn’t the way to go. It appears that tools and links above are best at letting GoJS automatically select the mode and I have an idea on how to do that from the examples.
Now the challenge is putting the different node types into the diagram. The examples show drag-n-drop from a palette to the diagram. Does a palette have to be used or can I drag from our existing toolbar (written in Ext JS)? Are there any other options from creating nodes other than using a palette? I’m not against using a palette just want to know all my options.
I appreciate any direction you can give while evaluating GoJS. I think it will fit all our needs and once I get past the learning curve, know we can use the cool features of it to improve upon our Java product.