-
Notifications
You must be signed in to change notification settings - Fork 5
How To Use The Visualizer
Marcel Heinz edited this page Nov 13, 2017
·
5 revisions
- Install Java 8 correctly.
- Clone this repository.
- Install GraphViz.
-
This will give you visual models for every essential block in your megamodel. This means in the sample call below that not only the blocks in "CodeGeneration.megal" are processed, but others that exist in imported modules as well. The .dot files are written to "../visualizer/output/".
cd models java -jar "../visualizer/visualizer.jar" -f "antlr/CodeGeneration.megal" -t dot
- (Assuming that you use the dot option:) All visual models are created as png in the subfolder <[...]/megalib/output/png>. All original .dot files are placed into <[...]/megalib/output/dot>.
- The visual model give a hint at how many relationships should be in one block.
- For now, only visualization as .dot files is supported. There may be more formats in the future, e.g., for yed.
- Any suggestions on how to visualize which kind of elements are welcome. You may kindly post them as issues with the "enhancement" label.
- How to Megamodel
- Language Description
- Concrete Syntax
- Constraints
- Semantics
- Project How To's
- Install, Build, Test, Run
- Checker Tool
- Visualizer Tool