Community
Participate
Working Groups
So, for a project we're working on, we needed to extend SpaceTreeLayoutAlgorithm so that it wouldn't break if the tree to be built would be much larger than the graph it's built in and we also needed the algorithm to calculate the trees optimal size before laying all the nodes out. For this we needed to change the following methods: *moveNodeForward *moveNodeBackward *getAvailableSpace *maximizeExpansion from the inner class SpaceTreeExpandCollapseManager But it's all fairly impossible to do with all those private inner classes. So, what I'm asking is that could all this be a little more open to other classes and packages?
This sounds like your changes would make a lot of sense for other users too. Perhaps it would be an option to add them to SpaceTreeLayoutAlgorithm itself. Would be great if you could attach a patch with your fixes. Regarding making things public I'm reluctant in general, because once we release that API, we can't change it in the future. And for fixing bugs, it would be ideal to fix them directly, instead of creating subclasses with fixes.