Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

Changing swimlane table title causes the lanes to resize randomly.

0 votes
As the title says, I have recently been building swimlane tables using yEd 3.15.0.2 and have noticed the vertical lanes will change position (causing contained items to be in different lanes) whenever the title text of the swimlane is modified.
in Help by
Please provide an exact step-by-step description of what you are doing, what is actually happening and what you would have expected to happen. If possible, please include screenshots that illustrate the problem.
I am unsure how to attach screenshots to this system so I have put them in my dropbox public folder for now.
https://dl.dropboxusercontent.com/u/45407754/initial%20table.PNG
As can be seen I created a swimlane table and populated it with some empty boxes. When I rename the table it causes the lanes to spontaneously resize and some of the content ends up in different lanes. I would expect them to remain unchanged.
https://dl.dropboxusercontent.com/u/45407754/renamed%20table.PNG

1 Answer

0 votes
You have "Dynamically Adjust Node Size to Label Size" from "File" -> "Preferences", tab "Editor" activated. You need to turn this feature off if you do not want nodes to be automatically resized when editing their labels.
by [yWorks] (145k points)
Ok, but I want that feature turned on for all of the other nodes in my diagram. What I believe is a bug is that the lane widths change when changing the table title text. It would be ok if the resizing of the table actually respected the content of the table but it does not and this results in table content changing lanes when changing the table title.

Re:

Ok, but I want that feature turned on for all of the other nodes in my diagram.

Unfortunately, that feature is not able to differentiate between types of nodes. It is either all or nothing. You will have to temporarily turn off "Dynamically Adjust Node Size to Label Size" before editng table texts.

 

Re:

What I believe is a bug is that the lane widths change when changing the table title text.

Since changing the table text also resizes the table, there is no way to keep all lane widths the same. Resizing a table will always result in changed lane widths. Actually, this is the same point as the previous one: You do not want "Dynamically Adjust Node Size to Label Size" to affect table nodes. Unfortunately, that feature is not sophisticated enough.

 

Re:

It would be ok if the resizing of the table actually respected the content of the table but it does not and this results in table content changing lanes when changing the table title.

I will admit I am surprised that the first column actually inceases in width. I would have thought all columns shrink somewhat. I have filed a request for improvement for that one, but I cannot promise when or even if we will be able to work on this.

 

Legal Disclosure | Privacy Policy
...