A newer and maintained version is available in: https://github.com/continuumsecurity/diagram-builder
DiagramBuilder is an UI component add-on for Vaadin 7 that wraps ALLOYUI's Diagram Builder as a server side Java component.
Try the add-on demo at matti.app.fi/diagram-builder-demo/
Official releases of this add-on are available at Vaadin Directory. For Maven instructions, download and reviews, go to http://vaadin.com/addon/diagram-builder
git clone mvn clean install cd demo mvn jetty:run
To see the demo, navigate to http://localhost:8080/
- Add ALLOYUI stuff to your host page, not added automatically as in e.g. Liferay they most likely already exist. Example of that using @JavaScript/@Stylesheet annotations
- Otherwise, use like any other Vaadin Add-on component
- Initial POC
- Smarter JSON state deserialization, could use references in Transition class instead of names
The issues for this add-on are tracked on its github.com page. All bug reports and feature requests are appreciated.
Contributions are welcome, but there are no guarantees that they are accepted as such. Process for contributing is the following:
- Fork this project
- Create an issue to this project about the contribution (bug or feature) if there is no such issue about it already. Try to keep the scope minimal.
- Develop and test the fix or functionality carefully. Only include minimum amount of code needed to fix the issue.
- Refer to the fixed issue in commit
- Send a pull request for the original project
- Comment on the original issue that you have implemented a fix for it
Add-on is distributed under Apache License 2.0. For license terms, see LICENSE.txt.
DiagramBuilder is written by Matti Tahvonen