I am trying to use this tool to create a flow chart where the vertical and horizontal dimensions of each block must be the same in each row of blocks (even as the font size changes in order to prevent overlapping blocks).
I have this working where I force the height and width to match and I'm placing them where I want them to be but the connections are not following properly. How can I force a repaint of all connections after I do my size adjustments and block placement?
I'm doing a block move() which calls onMove() which is supposed to notify the listeners but I fear this is not happening in the proper order for my purposes and I'll need to force it somehow.
Thanks,
jack
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am trying to use this tool to create a flow chart where the vertical and horizontal dimensions of each block must be the same in each row of blocks (even as the font size changes in order to prevent overlapping blocks).
I have this working where I force the height and width to match and I'm placing them where I want them to be but the connections are not following properly. How can I force a repaint of all connections after I do my size adjustments and block placement?
I'm doing a block move() which calls onMove() which is supposed to notify the listeners but I fear this is not happening in the proper order for my purposes and I'll need to force it somehow.
Thanks,
jack
Can you please send me a piece of code that reproduces this bug?
Thanks, that solved it; trying to get just a bit of code to reproduce the problem showed me my error. :)
Ah! If all bugs were so easy to solve... :-)