NorthwoodsSoftware / GoJS

JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
http://gojs.net
Other
7.7k stars 2.86k forks source link

The layout has to be set twice with `geometryString` and `makeTwoWay` `location` binding in the group #216

Open postulkam opened 2 months ago

postulkam commented 2 months ago

Hi, when I specifically set fromSpot and toSpot in a table row, the layout has to be set twice if there is a makeTwoWay location binding in the group and a geometryString binding in the group column.

Example: https://jsfiddle.net/Mi_Po/7z4t60ur/149/

WalterNorthwoods commented 2 months ago

We'll look at this. Thanks for providing a reproducible sample.

One comment: you should probably not be setting the desiredSize (or width or height) on the Shape that is the border of the "Auto" Panel that is your getTableColumnTemplate. Perhaps you want to set the size of the whole "Auto" Panel, but not on the Shape that is stretched to act as a border around the Shape that has the geometryString.

postulkam commented 1 month ago

Hi, how is it going? Did you find something? :)

WalterNorthwoods commented 1 month ago

Although we did look at it, we still haven't diagnosed the problem. Since you have a work-around, we believe it is a low-priority problem.