Skip to content
Open access

Graceful Diagramming with SVG plus AVTs

· Balisage Series on Markup Technologies · Vol 31 · 0 citations · 3 references

TL;DR

MVG (Meta Vector Graphics), an extension layer over SVG that addresses problems with little parametric structure and semantic binding and can be implemented dynamically or via preprocessing into plain SVG 1.0, is introduced.

Abstract

SVG is a mature XML vocabulary for vector graphics, but it has little parametric structure and lacks semantic binding between connectors and the objects they connect. Drawings produced in SVG are often hard to post-process, maintain, or reason about. This paper introduces MVG (Meta Vector Graphics), an extension layer over SVG that addresses these isues and can be implemented dynamically or via preprocessing into plain SVG 1.0. MVG adds general parameter passing via an XSLT-compatible Attribute Value Template syntax, at two conformance levels: heiti -conformant processors perform simple named-parameter substitution — nearly trivial to implement — while kenning -conformant processors support full XPath expression evaluation at the same syntactic hook. A port model provides named attachment points on shapes, enabling connectors and labels to bind semantically rather than to coordinates. MVG also adds shape primitives that SVG would otherwise represent opaquely. Together these additions allow users to work at a level of abstraction closer to their own conceptual models, with benefits for authoring, editing, and downstream processing. Python code implementing MVG as a preprocessor is provided.

Read PDF

Similar papers

Book Open access Oct 2026

Interweaving Graphical and Textual Modelling using GLSP and Langium

Many domain-specific modelling languages (DSMLs) combine graphical and textual elements. While simple textual labels are often sufficient, some situations (e.g., condition expressions in flowchart-like languages) require more complex textual sub-languages with their own grammar and the ability to reference elements def...

Bo-Fan Zhang, Andreas Hell, Steffen Zschaler et al. · 0 citations
Book Open access Oct 2026

Typed Edits, Reviewable Models: Toward LLM-Supported Blended Co-Modeling

Blended modeling organizes one or more concrete syntaxes over a shared abstract syntax; under this inclusive definition, conventional single-syntax modeling is a special case. The distinctive multi-syntax case additionally requires cross-notation synchronization, impact analysis, and coherent review. We propose LLM-sup...

Federico Ciccozzi · 0 citations
Book Open access Oct 2026

Zero-Width Markers for View-to-Model Traceability

A common approach for producing graphical views from models is to transform them into textual representations that can then be rendered as diagrams using off-the-shelf diagram-as-code tools such as Mermaid, PlantUML, and Graphviz. Although this approach offers a practical and cost-effective solution for model visualisa...

D. Kolovos, R. Jongeling · 1 citation
Conference Aug 2026

From Sketches to Specs: AI-Assisted Lightweight Metamodeling for Spec-Driven Development

Sketching is a natural medium for early-phase software activities. However, preserving the resulting information beyond just taking photos is difficult and laborious. A decade ago, the FlexiSketch approach addressed this problem by combining free-form sketching with lightweight metamodeling capabilities, thus enabling...

Norbert Seyff, M. Glinz · 0 citations
Open access Sep 2026

Visual LLM-Assisted Metadata Schema Construction from Spreadsheets Through Structured Editor Operations

Research data are often prepared in spreadsheets, but the meanings of their columns and values must still be translated into reusable metadata schemas. Even with a graphical editor, this translation requires repeated decisions about field names, types, properties, and hierarchy. Large language models (LLMs) can assist...

Wen-Cong Chen, Xiao-Tong Zhang, Jie He et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.