Hello,
I'm creating a diagram using the Diagram component. I'm adding my nodes using the addShape and connect methods.
The problem is that my nodes aren't positioned correctly in the window, they're one on top of the other.
I've set the layout-type and layout-subtype properties, but they don't seem to work in my case. But, by using Hierarchicaldatasource with Diagram, these properties are taken into account and the diagram is displayed correctly.
Unfortunately, this doesn't suit me because I need to customize the connections between nodes (add labels), which is not possible using hierarchical data source.
So my question is whether it's possible to take advantage of the layout-type and layout-subtype properties when adding nodes manually?
Thanks in advance