-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable auto-layout #34
Comments
One of our students is already working on it... |
Prototype layouting functionality added to branch "layouting". |
The current implementation uses the VisualizationViewer component to compute the JUNG layout. It is probably better to work with VisualizationModel instead. Example: VisualizationModel visModel= new DefaultVisualizationModel(myLayout, new Dimension(800, 600)); This will also solve potential multithreading problems with the Swing EDT and JavaFX. |
Great news! Very much looking forward to testing the new codebase 😄 |
Fixed the bug with multiplying edges and switched from using VisualizationViewer to DefaultVisualizationModel. |
Newest implementation adresses both problems. |
Looks much better now. Thanks! |
Current implementation will be published in next maven release. Since it is still an incubating feature, LayoutGenerator* classes will be moved to the incubating package. |
@TCMBoby are we ready for maven/bintray publication? |
Yes. |
We have a new release which includes automatic layout as incubating feature: https://bintray.com/miho/VWorkflows/vworkflows-fx/0.2.3 |
Hey, just a heads-up: the getters for boolean values are called "is..." instead of "get..." as per Java convention. I think this should get fixed. |
Related to #33. Would be great if the canvas had an auto-layout feature. Perhaps http://jung.sourceforge.net/ and https://github.com/prefuse/Prefuse can serve as inspiration; even better, their layouting algorithms could be reused "as is".
The text was updated successfully, but these errors were encountered: