This project contains a demo of our model visualization case study based on model transformation plus constraints.
The example is a very simplified class diagram.
The UML2JavaFX.atlc file contains a specification of the transformation from (a subset of) the Eclipse UML metamodel to JavaFX, accompanied by some constraints.
The src/fr/eseo/aof/example/classdiagram/UML2FX.xtend file contains an implementation of this transformation using an internal xtend-based DSL.
The latter is executable by importing the whole repository contents as an Eclipse project. Once all required dependencies have been installed (basically latest versions of xtend & UML), the Main class can be executed as a Java application.
A video demo of this class diagram example is available on YouTube:
Videos of other projects based on our approach are also available:
A sequence diagram demo:
A graph & edge demo:
The graph & edge demo uses some interactors to enable users to modify the source model, thus updating the view.
This has been published in the 34th ACM/SIGAPP Symposium On Applied Computing.
@inproceedings{lecalvar2019explorable,
TITLE = {{Toward a Declarative Language to Generate Explorable Sets of Models}},
AUTHOR = {Le Calvar, Th{\'e}o and Chhel, Fabien and Jouault, Fr{\'e}d{\'e}ric and Saubion, Fr{\'e}d{\'e}ric},
BOOKTITLE = {{34th ACM/SIGAPP Symposium on Applied Computing (SAC '19)}},
ADDRESS = {Limassol, Cyprus},
YEAR = {2019},
PAGES = {1837--1844},
MONTH = Apr,
HAL_ID = {hal-01948080},
URL = {https://hal.archives-ouvertes.fr/hal-01948080},
HAL_VERSION = {v1},
}
This project uses Cassowary-java for constraint optimization. Sources and licence are available at https://github.com/pybee/cassowary-java
This project is distributed under the Eclipse Public License. It can be found at http://www.eclipse.org/org/documents/epl-v10.php