Hello,
I would like to be able to create a kind of "zone" in my diagram (like a Swimlane but without row and column). All nodes inside a zone will move with it.
Example:
Each zone as an header (a custom toolbar) and a textzone to put a comment. The tool bar is not represented on my example.
It's is possible to drag it.
It's possible to resize it (as swimlane does, taking into account the nodes inside it).
Thank you in advance.
Hello,
The toolbar is at the top of the zone: it's just a favorite icon (a star icon in a Toggle button but it's not very important)
Yes, just beside the toolbar, I would like to have a RichTextBox to be able to insert some comments. The toolbar and the textzone can be in a StackPanel, I'll customize them.
Yes, everything must be dragged. If a "node" is inside the group, it's moved too (like in swimlane)
Yes, I would like that behavior, please (stretch).
Ok, thank you for your example. It's interresting but it's not what I would like.
I don't want that nodes resize with the "zone" (=group), to have to double click each time I want to edit something..., etc.
Is it possible to customize a swimlane: hide the function, add stackpanel in content's phase, etc.?
Query |
Response | |
I don't want that nodes resize with the "zone" (=group), to have to double click each time I want to edit something..., etc. |
This requirement can be achieved using constraints property of node element. You can remove resize constraints from node’s constraints property. It will restrict the node’s resize operation while resize the group(zone). It will resize the only group bounds when doing resizing operation, not node bounds.
Code Snippet
To add any label you can do double click on the Group, Node.
Please refer the sample from below link,
Also we have prepared a video to demonstrate the sample. Please find the video link as below,
| |
Is it possible to customize a swimlane: hide the function, add stackpanel in content's phase, etc.? |
Currently, it is not possible to hide function and phase elements inside the Swimlane and it is the actual behavior of the Swimlane element. |