|[Sirius] Arrange-all layout with auto-size containers [message #1790435]
||Mon, 11 June 2018 02:01
| lee lucky
Registered: October 2017
Hi, Sirius team:|
Recently, I was researching arrange-all layout in Sirius diagram. I saw an option in Window-->Preferences-->Sirius Diagram page, called "Auto-size containers during arrange-all action".
1). If this option is checked, the size of containers will be auto-sized. And if I enlarge the font size of the container label, the container size will be adapted to the font size of the container label and the container label will be fully displayed.
2). If this option is unchecked, the size of containers will not be auto-sized. And if I enlarge the font size of the container label, the container size will not be changed and the container label will not be fully displayed.
Actually, I want to use ELK(Eclipse Layout Kernel) to layout Sirius diagram. I have installed ELK in my platform and modified the GmfDiagramLayoutConnector to adapt to Sirius and ELK. But I still have many problems about this modified GmfDiagramLayoutConnector.
One problem is the container size is not changed when I enlarge the font size of the container label, after the ELK layout is executed with the "Auto-size containers during arrange-all action" set to be true.
I want my container size to be auto sized and can be auto-sized when enlarges its font size or something after ELK layout. How can I fix it in my GmfDiagramLayoutConnector or somewhere else? Can you give me some advices or hints?
Thanks very much and hope for your reply.
Powered by FUDForum
. Page generated in 0.01781 seconds