Skip to content
Snippets Groups Projects
Commit 1329ccc5 authored by René Schöne's avatar René Schöne
Browse files

working on better visualization

- update docs and CI after merging modules
- update picture showing the newest features
parent 6de66d8c
No related branches found
No related tags found
1 merge request!9working on better visualization
Pipeline #12833 passed
......@@ -55,7 +55,7 @@ ragdoc_build:
needs:
- build
script:
- JAVA_FILES=$(find dumpAstWithPlantuml/src/ -name '*.java')
- JAVA_FILES=$(find dumpAst/src/ -name '*.java')
- /ragdoc-builder/start-builder.sh -excludeGenerated -d data/ $JAVA_FILES
artifacts:
paths:
......
......@@ -47,13 +47,11 @@ task grammar2uml(type: JavaExec) {
### dumpAst
To use `DumpAst` or `DumpAstWithPlantuml`, add it as a dependency:
To use `DumpAst`, add it as a dependency:
```
dependencies {
implementation group: 'de.tudresden.inf.st', name: 'dumpAst', version: '0.3.4'
// or
implementation group: 'de.tudresden.inf.st', name: 'dumpAstWithPlantuml', version: '0.3.4'
implementation group: 'de.tudresden.inf.st', name: 'dumpAst', version: '0.3.7'
}
```
......@@ -66,7 +64,7 @@ If you want to build the tools of `Relast2Uml` from source, first build the jar
git clone https://git-st.inf.tu-dresden.de/jastadd/relast2uml.git
cd relast2uml
./gradlew jar
ls dumpAst/build/libs/ dumpAstWithPlantuml/build/libs/
ls dumpAst/build/libs/
```
Those JARs can then be copied to your project.
......
pages/docs/img/dumpAst.png

22.7 KiB | W: | H:

pages/docs/img/dumpAst.png

45.3 KiB | W: | H:

pages/docs/img/dumpAst.png
pages/docs/img/dumpAst.png
pages/docs/img/dumpAst.png
pages/docs/img/dumpAst.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -23,9 +23,9 @@ Using the return value, the following methods are supported and can be chained t
|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| customPreamble | Add the given string as preamble to the visualization. |
| disableTypes | Disable all objects with types matching at least one of the given regex strings. Disabled objects won't be included in any output. However, their children are still processed. |
| dumpAsPNG | Write out content as PNG image generated by plantuml. (**Only available in dumpAstWithPlantuml**) |
| dumpAsPNG | Write out content as PNG image generated by plantuml. |
| dumpAsSource | Write out content as plantuml source code |
| dumpAsSVG | Write out content as SVG image generated by plantuml. (**Only available in dumpAstWithPlantuml**) |
| dumpAsSVG | Write out content as SVG image generated by plantuml. |
| dumpAsYaml | Write out content as YAML representation of the ASTNode |
| enableDebug | Add debug information in dumped content, mainly version numbers. |
| excludeAttributesFor | *experimental, documentation missing* |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment