geowerkstatt has updated their plug-in “INTERLIS 2” for Microsoft Visual Studio Code. Starting with version 0.3.0, the plug-in has the ability to automatically draw the (live) UML1 class diagram of Interlis models (ili
files). The UML diagrams can be exported (and refined) as SVG files2 or in Mermaid syntax3. In my quick tests, the drawing feature mostly worked; it couldn’t render some models4.
Here is part of the ARA_DB_REP_V1_2
model as drawn by the geowerkstatt plug-in:
The plug-in continuous to offer the following features:
- Syntax highlighting of object names, data types, keywords, and string patterns for
ili
files - Snippets for commonly used Interlis blocks (
MODEL
,TOPIC
,CLASS
,STRUCTURE
,ASSOCIATION
, andRole
) - Auto-generation of documentation in Markdown for
ili
files
The plug-in is open-source under the MIT license.
Footnotes
Unified Modeling Language↩︎
Scalable Vector Graphics, an open standard for two-dimensional vector graphics↩︎
Mermaid is a JavaScript-based diagramming tool that takes Markdown-inspired text definitions and creates diagrams dynamically. Mermaid is supported in GitHub, for example.↩︎
In my random sample,
Amphibien_Laichgebiete_V1_2.ili
,BLN_V1_2.ili
, andFlachmoore_V1_2.ili
didn’t render visually. I haven’t tested them in the umleditor.↩︎