I’m beginner in GoJS and trying to do some testing because my company seriously is thinking to buy it.
For example, I want to create the group with fixed border that contains 2 different types of nodes: simple rounded rectangle with text and table with rows and columns?
I’d like to fill both nodes with their own nodeDataArray objects, which data I’m getting from jQuery Ajax calls. The Ajax calls trigger actions in standard MVC application.
Should I do that in this way or it’s working in another way in GoJS?
If you have some code samples it could be very welcome.
You could create different node templates for your various node types, and set the category within your model data. We have lots of examples of using multiple node templates; searching those will probably help you figure out what you how to implement what you want.
Could you, please, show me in code how to group those 2 nodes in rectangle, which can’t resize, but can move. Also, the nodes inside the group (rectangle) can’t move or resize?
Have you read the Intro pages? Many of your questions are covered under the various topics there, so I’d suggest reading that to familiarize yourself with the library.
Did you see my post about node template maps earlier? For example, if you look at the Flowchart sample, there are a few different node templates defined, and in the model, categories are specified to determine how each of the node data should be represented.