Is there a solution for specifying the order of diagram shapes ? I am using layered layout
3 Answers, 1 is accepted
answered on 27 Feb 2017, 09:45 AM
You can control the order of the shapes in the diagram through the toFront() and toBack() methods of the widget. Let me know if this is not the type of order you need to control or if further assistance on this matter is needed.
I want to set the right or left order of the shape. For example, in the attached picture, my problem is how to place yellow shapes at the right of other shapes in the same layer.
answered on 01 Mar 2017, 10:31 AM
Thank you for the clarification.
I am afraid that the diagram does not provide such shapes reordering API, unless you set the X and Ycoordinates for each shape. Otherwise, the shapes will be rendered depending on the sequence in which they are configured.