Another thing we’ve been working on is going to see the light of day soon: a graph editor for JavaFX. The current beta version provides the following main features:
- create draggable, resizable nodes and connections between them
- add multiple input or output connectors to a node
- create joints inside a connection
- add custom skins for nodes, connections, connectors, and joints
- enhanced user experience through comprehensive styling during drag-and-drop actions
Internally, we use an EMF model to represent the UI objects and their state. The model is in sync with the UI at all times.
Here’s a short video of our current development version:
Was actually thinking about doing one of these myself. Any chance to collaborate?
We’re discussing about publishing our code as open source. Stay tuned. 😉
Where could a find a demo?
I’m sorry but a demo is not yet available. We are pushing towards a release, but I can’t give you an exact timeframe yet. Stay tuned!
Great job! Waiting for you release. Thanks in advance!
Any closer to releasing the code for the javafx graph editor?
The good news is that we’re closer to a release indeed. The bad news is that I still cannot give you a specific date. 😉
Haven’t given up on this. Any word?
No news, unfortunately, but we’re making good progress.
Any updates on a release? 🙂
We’re still busy, sorry.
I’m also looking for similar UI functionality in JavaFX and would be interested in contributing to this effort.
Great to hear, Christopher. We’ll let you know once we’ve gone open-source.
any release?
The graph editor has been released on Github: https://github.com/tesis-dynaware/graph-editor
Great news! Thanks so much for releasing this. It’s a much needed addition to the JavaFX ecosystem. I have yet to explore the code in detail and I realize that it has some fairly deep connection with EMF but I was wondering what the effort might be involved with using POJOs as a backing user data model instead. Just a thought from those of us not steeped in Eclipse. Thanks again for great work!
Replacing the EMF dependencies with simple POJOs is not particularly trivial. In principle you could fork the repo and replace the model classes like GNode, GConnector etc with your own POJOs. But you would lose the undo / redo functionality because it’s implemented using EMF-Commands.
But just to be clear, you don’t need to develop in Eclipse or have an in-depth understanding of EMF to use the graph editor. See how you go with this tutorial:
https://github.com/tesis-dynaware/graph-editor/wiki/1.%20Getting%20Started