NetBeans Graph Library
Graph Library has been designed to support visualization and editing of node-edge structures using drag'n'drop style of work.
The library has been used in the Visual Designer in NetBeans Mobility Pack 4.1.
Run Graph Library Demo using WebStart (requires JDK 1.4 or later)
If you have questions, visit users@graph.netbeans.org mailing list (view archive).
Screenshots
Features in 1.0
- Visualize a graph model
- Drag&Drop style of work
- Visual Feedback
- Looks and Feels
- Fully Plugable/Extensible
- Multi View support
- Multi-layers Rendering support
- Undo-Redo support
- Zoom in/out
- In-place Editing support
- Snap-to-grid support.
- Alternative mode
- Orthogonal link router
- Breadth-first nodes layouter
See list of features with descriptions.
Planned Features for 1.1
Following features will be available around middle of December 2005:
- Support for locking document and working in outside of AWT thread.
- Improve API: merge of model and proxy components, remove
I prefix from class names.
- Improve logic/order for resolving locations, active areas, bounds of objects on a scene.
- Improve API for (de)serialization.
- Support nodes grouping with colapse/expand capability.
Planned Features for 2.x
Following features are planned for next year:
- Support CSS-like programming of look&feel.
- SVG support
- Dynamic port positioning
- Better realign screen algorithm
- Improve performance of orthogonal link router
Build and Try
Before you start, you have to setup environment first.
The sources contain: the library, VMD extension (used by Mobility Pack), examples, WebStart demo.
The Library
For building the library go to graph/lib directory and run ant command. For building javadoc run ant javadoc command.
VMD Plugin
For building the VMD plugin go to graph/vmd directory and run ant command.
Examples
You have to build the library and the VMD plugin first. For building and running examples go to graph/examples directory and run ant command. When examples are built and started, a Run dialog appears. Choose an example and press Run button.
CVS
Graph Library 1.0 is available in graph1 branch.
Graph Library 1.1 is currently stopped and is available in graph_11 branch.
Graph Library 2.x is not available yet.
Distribution
The library is a jar built to location: NetBeansDir/extra/modules/org-netbeans-graph.jar. The distribution jar is dependant on org-openide-util.jar module and JDK 1.4. The VMD plugin is dependant on the distribution jar.
Documents