Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Model ExplorerNew to Visual Studio Code? Get it now.
Model Explorer

Model Explorer

MonsieurMouarf

|
13 installs
| (0) | Free
Displays a Markdown business glossary as an interactive graph.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Model Explorer

Turn a folder of Markdown files into an interactive graph of your business glossary. Write one file per term, link terms to each other, and see the domain model emerge.

  • One node per term. The shape tells its kind (entity, process, event...), the color tells its scope.
  • Arrows are relations, with their label, their type (UML notation) and their cardinalities.
  • A link to a term that does not exist is drawn as a dashed missing target, so the gaps are visible.
  • Click a term to read its description, follow its incoming and outgoing relations, or open its file.
  • The graph updates as you type or save. Problems (invalid YAML, duplicates, broken links...) appear in VS Code's Problems panel.
  • Nothing else to install: no Obsidian, no Foam, no server. The files are plain Markdown, and also work in Obsidian.

It is made for someone who joins a team and builds the ubiquitous language of a domain: the terms people use, and how they relate.

Contents

  1. Install
  2. Quick start
  3. Writing a term
  4. Reading the graph
  5. Commands
  6. Problems the extension reports
  7. Writing a glossary with an assistant
  8. Settings
  9. Upgrading from version 0.0.x

Install

Search for Model Explorer in the Extensions view, or install a .vsix file: open the Extensions view, click the ... menu, then Install from VSIX....

Quick start

  1. Open a folder in VS Code. It will hold your glossary (an empty folder is fine).
  2. Run Model Explorer: Add entry... from the Command Palette (Ctrl/Cmd+Shift+P). Pick a scope or type a new one (for example Billing), then a name (Invoice), then a kind. The file Billing/Invoice.md is created and opened.
  3. Write a sentence of description under the frontmatter. Create a second term, for example Customer.
  4. In Invoice.md, under ## Relations, add a line: - 0..* is issued to 1 [[Billing/Customer]].
  5. Run Model Explorer: Open graph. You see two terms joined by an arrow. Click one to read it.

From now on, every file you create, edit or delete updates the graph, even before saving.

Writing a term

One Markdown file per term, stored as <scope>/<name>.md. The YAML frontmatter says what the term is, the body is its description, and two optional lists in the body say how it relates to others.

---
name: Invoice
scope: Billing
kind: entity
aliases: [Facture, FAC]
tags: [core]
---

## Description
A document that asks a customer for a payment for a period.

Once issued, an invoice is not changed: a correction goes through a credit note.

## Relations
- is issued to: 0..* -> 1 [[Billing/Customer]]
- [[Disputed]]

## Attributes
- InvoiceNumber: string, PK, required — Identifies the invoice
- Customer: FK → [[Billing/Customer]]
- Total: decimal, required — Amount including tax

The frontmatter

Field Required Meaning
name yes The term, as the team says it.
scope yes The functional area (Billing, Catalog...). One folder per scope.
kind no (default unknown) What sort of thing it is, see below.
aliases no Synonyms, acronyms, other names. The search finds a term by its aliases.
tags no Free labels that cut across scopes and kinds (legacy, to verify).

A Markdown file without both name and scope is not a term and is ignored silently (a README.md, notes...). A term is identified by scope/name, so two scopes can both have a Customer.

Kinds (each has its own shape in the graph):

kind What it is Examples
entity Something with an identity and a life cycle Invoice, Customer
aggregate A group of entities treated as one consistent whole Billing Account
concept A descriptive notion with no identity of its own Billing Period
state A status an entity can have Disputed, Settled
event A fact that happened, named in the past tense Invoice Issued
process An activity or a treatment Dunning, Month-end Closing
role A person or a system that acts Account Manager
rule A named business rule 30-day Rule
lifecycle The states of a term and how it goes from one to another Invoice Lifecycle
tool An application or a service that works with the terms Zuora, Payment Gateway
unknown Not classified yet (the default)

Tags can be a list ([core, legacy model]) or a comma-separated string, each one optionally starting with #. A tag may hold spaces (Obsidian does not accept that). Letters, digits, spaces, _, - and / are allowed, with at least one character that is not a digit. Case is ignored.

The description

The description is the text under ## Description, in Markdown (a new entry starts with the three sections: Description, Relations, Attributes). The title is optional: text before the first section, with no title, is the description too, and a file written without the title is read the same way. It is shown in the detail panel. Raw HTML and images are not shown. A link [[Term]] in the description is clickable when it points to a term, and grey and italic when it does not.

Relations

Under a ## Relations heading, one list item per relation, written as a sentence:

- cardinality-here label cardinality-there [[Target]] (type)

For example - 0..* is issued to 1 [[Billing/Customer]]. Read it aloud: this term (0..*) is issued to (1) Customer. The first cardinality is on the side of the term that writes the line, the second on the side of the target. Only the link is required: - is issued to [[Customer]] is an association with a label, - [[Disputed]] one without. What is between the two cardinalities is the label (it may hold spaces, accents and colons). A label that begins or ends with a number goes between quotes, or it would be read as a cardinality: - 1 "30 days" [[X]]. To give a cardinality for the target alone, put an empty label before it: - "" 0..1 [[X]].

The type is a word in parentheses, after the link, when the relation is not a plain association: - 1..* is part of 1 [[Invoice]] (composition). Typing ( after a link suggests them.

Type Word after the link (English, French or short) Arrow Meaning (the term that writes the line is the source)
association none, or association --> they know each other (the default)
association, without direction no direction, sans sens, undirected, nod -- the same, drawn without an arrow head
composition composition, cmp --* the source is a part of the target and cannot live without it (full diamond on the target, which is the whole)
aggregation aggregation, agrégation, agg --o the source is a part of the target, which groups it but could live without it (hollow diamond on the target)
inheritance inheritance, héritage, inh --\|> the source is a kind of the target (hollow triangle on the parent)
dependency dependency, dépendance, dep ..> the source needs the target (dashed line)

The arrows are the same thing in symbols, for whoever prefers them: first (- 1..* is part of 1 [[Invoice]] (composition)) or just before the link (- 1..* is part of 1 --* [[Invoice]]). If a line has both an arrow and a word, the word wins. The first notation, - label: 0..* -> 1 [[Target]] (with -> and -|> for the arrows), is still read.

  • The label reads as a sentence from this term to the target: Invoice is issued to Customer.
  • Cardinalities are 1, 0..1, 0..*, 1..*, * or n..m. The first one is on this term's side, the second on the target's side. Only write them when you know them.
  • A part declares its whole, never the other way round: Invoice Line is part of Invoice (- 1..* is part of 1 [[Invoice]] (composition)). The diamond is drawn on the whole, as in UML, and the first cardinality is the one of the part.
  • Declare each relation once, in one of the two terms. The other term shows it as an incoming relation.

Life cycles

A term of kind: lifecycle describes the states of another term and how it goes from one to the other. Its frontmatter says which term it is about (of), and two sections list the states and the transitions:

---
name: Invoice Lifecycle
scope: Billing
kind: lifecycle
of: "[[Invoice]]"
---

How an invoice goes from its creation to its end.

## States
- Draft: initial — Created, can still be changed
- Posted — Sent to the customer, locked
- Canceled: final — Cannot be posted again

## Transitions
- Draft -> Posted: is posted
- Posted -> Draft: is unposted
- Draft -> Canceled: is canceled
  • of: "[[Invoice]]" links the life cycle to its term. A life cycle is not drawn in the graph of the terms: the panel of Invoice lists its life cycles, and a click on one replaces the graph by the graph of its states, from left to right, with an arrow and a label for each transition and no node for Invoice itself. The first states have a green halo and the last ones a grey halo, as you declared them. Exit lifecycle (or Esc) brings the graph of the terms back as it was. The panel then shows the life cycle: its description and its states. Image and Mermaid export the graph of the states (as a PNG, or a Mermaid stateDiagram) while it is shown.
  • A state is - Name, then optionally : initial and/or : final, and a description after a dash (—). The flags are written by you: nothing is guessed. Names may hold spaces and accents, not a colon.
  • A transition is - From -> To: what triggers it (the label is optional, a state can change into itself). Both states must be declared under ## States.
  • The states are not terms of the glossary, so every life cycle can have its own Draft. The search finds the term by the name of its life cycle or of one of its states.

Processes

A term of kind: process can have a ## Flow section that describes how it goes, as a flowchart. The actions are not terms: each one is a line, and the terms it works on are the [[links]] of that line.

## Flow
- Collect the usage: start — reads the [[Usage]] of the period
- Usage is complete?: decision
- Issue the invoice — creates an [[Invoice]] for each [[Customer]]
- Fix the usage
- Done: end
- Collect the usage -> Usage is complete?
- Usage is complete? -> Issue the invoice: yes
- Usage is complete? -> Fix the usage: no
- Fix the usage -> Collect the usage
- Issue the invoice -> Done
  • An action is - Name, then optionally : start, : end or : decision (a choice, drawn as a diamond; you write the flags, nothing is guessed) and a description after a dash (—). An order is - From -> To: condition (the condition is optional, both actions must be declared, a loop back to an earlier action is fine).
  • The panel of the process has a Show flow button: it replaces the graph by the flowchart, left to right, with a pill on each action for the terms it works on. Click a pill to see that term in the panel, and ← Back to return; Exit flow (or Esc) gives the graph back. The panel of a term lists the processes that point to it. Image and Mermaid export the flowchart.
  • The flow draws nothing in the graph of the terms, and the actions are not terms. Parallel branches, swimlanes and sub-processes are not supported: link a Mermaid diagram from the description for those.

Attributes

Under a ## Attributes heading, one list item per attribute:

- Name: type, flags — description

Only the name is required. After the colon, in any order: a type (string, decimal, date, decimal(10,2)...), the flags PK (primary key), FK (foreign key), UQ (unique) and required, a reference → [[Term]] (or -> [[Term]]), and a description after a dash (—).

Attributes appear in the detail panel (with a clickable link for a reference) and the search finds a term by one of them. They are not drawn in the graph, and a reference does not create an arrow: if two terms are related, say so in ## Relations.

Links

Typing [[ suggests the terms that exist (kind, scope and the beginning of the description are shown): pick one and the link is completed and closed. It works anywhere in a term file, including under ## Relations and ## Attributes.

  • [[Billing/Customer]] is explicit and always unambiguous. Prefer it when the term is in another scope.
  • [[Customer]] is looked up in the scope of the file first, then in the other scopes if there is exactly one match. It is ambiguous if several scopes have it.
  • Links are case sensitive and use the name, not an alias. [[Target|text]] and [[Target#heading]] are read as [[Target]].

Modelling patterns

There is no special syntax for these needs: say them with terms, relations and attributes.

  • An enumeration: write the values in the type, - ChargeType: enum(One-Time, Recurring, Usage). When each value deserves an explanation, make each one a term (kind: concept, or state for a status).
  • A link that carries data of its own (a payment applied to an invoice, with the amount applied): make the link a term (Payment Application) with its attributes and one relation to each side.
  • "Either this or that" (a refund repays a payment or a credit memo): find the common parent (Refundable Item), make both inherit from it (-|>) and link the refund to the parent. Otherwise, say it in the description.
  • The states of an entity (its life cycle): a term of kind lifecycle about it, with its states and transitions (see Life cycles above), rather than one term per state.
  • An application or a service that works with the terms (Zuora, a payment gateway): a term of kind: tool, related to the terms it works with or to the tools it uses, with a label that says how (- manages: -> [[Invoice]], - uses: -> [[Payment Gateway]]).
  • Versions and dates of effect: make the version a term (Subscription Version) with its dates as attributes.
  • The role of each side (owner, payer): put it in the label (- is owned by: [[Customer]]). Several relations between the same two terms are fine.

The same thing in YAML

Relations and attributes can also be written as YAML in the frontmatter. Both forms are read the same way and can be mixed in one file.

relations:
  - label: is part of        # optional
    target: "[[Invoice]]"    # required: a [[link]] in quotes
    type: composition        # association (default), composition, aggregation, inheritance, dependency
    from: "1..*"             # cardinality on this term's side (the part)
    to: "1"                  # cardinality on the target's side (the whole)
    directed: false          # associations only: no arrow head
attributes:
  - name: InvoiceNumber      # required (an item can also be just a name: "Total")
    type: string
    required: true
    key: primary             # primary, foreign or unique
    description: Printed on the invoice
    references: "[[Billing/Customer]]"

Use whichever is clearer for you. The commands Convert relations and attributes to lists... and ...to YAML... rewrite a whole glossary from one form to the other, and the graph does not change.

Folders and Obsidian

A term lives at <scope>/<name>.md: the name of the file is the name of the term, the folder is its scope. A name or a scope cannot contain / \ : * ? " < > | # ^ [ ] and cannot end with a dot, because Obsidian could not link the file. Spaces and accents are fine (Billing/Rate Plan.md).

Obsidian understands [[Scope/Name]] and [[Name]] the same way as the extension, so you can open the same folder in both.

Several glossaries in one folder

A repository can hold one glossary per domain. A folder becomes a glossary when it holds .model-explorer/glossary.json, which gives its name:

{
  "name": "Billing"
}

The glossary takes everything under its folder (a glossary inside another one keeps its own terms). You can rename or move the folder: the name stays in the file. Add glossary... writes it for you, and a right click on a folder of the explorer offers Add glossary here....

  • Links work across glossaries as across scopes: a scope is unique in the whole folder. [[Customer]] is looked up in the scope of the file, then in the other scopes of its glossary, then everywhere, so two domains can each have their own Customer.
  • Open graph asks which glossary to show (the one of the open file first) or All glossaries. Each glossary opens in its own tab; the terms of other glossaries that are linked to it are shown faded, and the detail panel says which glossary a term is in.
  • Each glossary keeps its views in its own .model-explorer/views.json; the graph of all glossaries keeps its own in .model-explorer/views-all.json. A scope has the same color everywhere, and two scopes never share one.
  • Without any glossary.json, nothing changes: the folder is one glossary, as before. Once there is one, a term outside every glossary is reported.

Reading the graph

Open graph shows one node per term. Terms of the same scope share a color; the shape tells the kind. Drag a node to move it, scroll to zoom. To move several terms at once, hold Shift and drag a rectangle on the background (or Ctrl/Cmd + click to add terms one by one), then drag one of the selected terms: they all follow. A click on the background or Esc clears the selection. The button at the bottom right of the graph (or the F key) fits every term in the view, for when you are lost in the empty space. A term related to itself is drawn as a loop with its label and cardinalities beside it.

Detail panel. Click a term to open it on the right (drag its left edge to resize it): name, scope, kind, aliases, tags, description, attributes, then outgoing and incoming relations. Click a relation to go to the other term, then ← Back (top of the panel) to return, step by step. Open file opens the Markdown file as an ordinary tab, in the group where your other files are open (or beside the graph if none is), and brings it to the front if it is already open. Click the empty graph or press Esc to close the panel.

Search. Type in the box at the top of the sidebar, or press /. It looks in the name, the aliases, the attributes, the states of its life cycles, the tags and the scope, ignoring case and accents; every word you type must be found, and the name counts more than the alias. The other terms fade. Enter or a click on a result selects the term and centers it; Esc clears the box. #legacy looks among the tags only (#"two words" for a tag with spaces); a click on a tag chip fills the box for you.

Focus. Open a term and click Focus to keep only that term and the terms up to 1, 2 or 3 links away (in both directions). A banner at the top left of the graph changes the depth or leaves the focus, and the graph comes back as it was. Following a link to a term outside the focus recenters the focus on it. Esc closes the panel first, then leaves the focus.

Legend and filters. The legend on the left is also the filter. Click the color dot of a scope to choose its color (a color another scope already has is refused); Reset colors, next to All / None in the Scopes list, gives the automatic colors back. The colors are kept in .model-explorer/views.json, so they are shared with the glossary. Untick a scope, a kind, a tag or a type of relation to hide it; All and None next to each title tick or untick the whole list. Hiding a type of relation also hides the terms that were only linked through it. Show all brings everything back. Following a link to a hidden term turns its filter back on.

Layout. The Layout card at the top right of the graph (closed by default) arranges the terms with one of eight layouts: Free (manual), layered (left-right or top-bottom, the default), force-directed, hubs at the center, tree, circle, and a grid grouped by scope. In the free layout nothing moves the terms but you: drag them where you want, and their places are saved as you go, in the view you are looking at ("All terms" or a named view), so the graph opens as you left it, and a refresh or a new term moves nothing (a new term settles next to the terms it is linked to). Choosing it keeps the terms where they are at that moment. The layered layouts and the force-directed one work to avoid crossing arrows (the layered ones come from ELK, the Eclipse Layout Kernel, under the EPL-2.0 license); the hubs, circle and grid layouts follow their own shape and do not. Each has sliders for its distances and forces (the graph follows a slider once it stands still for a moment); Reset restores the defaults. With the force-directed layout, Scope cohesion pulls the terms of a scope together: at 1 each scope forms a separate group. Tick Show scope zones to draw a soft colored area behind the terms of each scope.

Arrows. The Arrows dropdown of the Layout card draws the arrows straight (the default), curved (each arrow bows gently) or at right angles (horizontal and vertical segments). A term related to itself keeps its loop. Arrows that share both ends (A refers to B and B refers to A) are spread apart: they keep their curves, and at right angles they run side by side. With right angles, every arrow is attached to the border of its terms and leaves at a right angle to the side: the arrows that share a side of a term are spread along it, so that none lies on another and the cardinalities can be read (a side that is full sends the extra arrows to the next side). The choice is remembered (setting glossaryGraph.edgeStyle).

Cardinalities. The Cardinalities dropdown of the Layout card shows them as numbers (the default: 0..*, 1...) or as crow's feet, the symbols of an entity-relationship diagram, drawn at the end of the arrow where the term is: two bars for exactly one, a circle and a bar for zero or one, three prongs and a bar for one or more, three prongs and a circle for zero or more (* is zero or more; a fixed number above one counts as one or more). With a crow's foot, an association has no arrow head at the end where one is drawn; the diamond or the triangle of the other types stays, with the symbol just behind it. The symbols follow curves, right angles and waypoints, and they are part of the exported image. The choice is remembered (setting glossaryGraph.cardinalities).

Waypoints (free layout). In the free layout, double-click an arrow to add a waypoint where you clicked: the arrow now goes through it. Drag the waypoint to move it. This works with every style of arrow. To remove waypoints: click a waypoint (it gets a ring) and press Delete, or double-click it; click an arrow and a small bar appears next to it, with Remove waypoint (the selected one) and Straighten (every waypoint, and the attachments you chose, of that arrow); Reset all arrows in the Layout card, in the free layout, does it for every arrow of the view (click twice to confirm). With right angles, click an arrow to see a handle on each of its segments: drag one to move the segment sideways. The first and the last segments slide the attachment along the side of the term; pull one past the end of the side and the arrow turns the corner onto the next side, with a new segment at a right angle to the one you hold. Where the arrow is attached is saved with its waypoints. A waypoint that falls inside one of the two terms of its arrow is drawn on the edge of the term, so that the arrow never vanishes. The waypoints are saved as you edit, in the view you are looking at, in .model-explorer/views.json. They are drawn only in the free layout, since the other layouts move the terms: choosing another layout drops the waypoints of the view you are looking at, which no longer mean anything once the terms have moved.

Views. The View menu at the top of the sidebar remembers an arrangement. A named view stores the filters, the focus, the layout with its sliders, the zones and where every term is. Save as... creates one, Update view rewrites it, Delete removes it. On "All terms" (the default), Save positions only remembers where the terms are. Moving a node saves nothing until you click one of these buttons. Views live in .model-explorer/views.json in the glossary folder: commit it to share them with the team. The file also remembers the color of each scope, so that adding a scope never changes the colors of the others.

Export. Export in the sidebar (or the commands below) saves what is shown, meaning the terms that the filters and the focus leave and the relations whose type is not hidden:

  • Image saves a PNG of the whole displayed graph (not only the visible part), on the background of your theme, with the scope zones if they are shown.
  • Mermaid saves a class diagram you can paste into a Markdown file: one class per term, a namespace per scope, attributes as members, and each relation with its type, cardinalities and label.

Commands

All of them are in the Command Palette, under Model Explorer.

Command What it does
Open graph Opens the graph in a tab. When the folder holds several glossaries, asks which one (or all of them); each has its own tab.
Add glossary... Asks for a name and a place (a new folder at the top, a new folder in a folder you choose, or an existing folder), says which terms change glossary, then writes .model-explorer/glossary.json. Also Add glossary here... on a folder of the explorer.
Add entry... Asks for the glossary when the folder holds several (the one of the open file first), then for a scope of it (pick one or type a new one, its folder is created), a name and a kind, then creates <scope>/<name>.md with the frontmatter and the three sections (Description, Relations, Attributes) ready to fill in, and opens it. It refuses a forbidden character or a file that already exists (case ignored).
Move term to another scope... Moves a term (the one of the open file, or picked from a list) to another scope, which can be a new one. The file moves to the new folder, scope: is rewritten, and the links that led to the term still lead to it (a link is only rewritten, as [[Scope/Name]], when it would become ambiguous or broken). views.json follows: positions, waypoints, colors, filters, focus. Shows a preview first, reports in the Output panel, and refuses if the target already exists or a file has unsaved changes.
Rename scope... Same for a whole scope: its folder is renamed (or its files merged into an existing scope), every scope: and the links are updated. A change of case only is refused.
Export graph as image... / Export graph as Mermaid... Saves what is shown as a PNG or a Mermaid class diagram.
Copy authoring guide Copies a guide that tells an assistant or a script how to write a glossary for this extension. It can also save it in the glossary folder as MODEL-EXPLORER-GUIDE.md (never overwritten, and not read as a term).
Convert relations and attributes to lists... / ...to YAML... Rewrites the files of the glossary from one way of writing relations and attributes to the other. A confirmation shows what will change (Preview changes nothing) and a report goes to the Output panel. A file that could not be converted without a change of meaning stays as it is and is listed in the report. Comments inside the converted YAML blocks are lost. Commit your files first.
Migrate legacy glossary... Converts files written for the previous version, see Upgrading.
Refresh graph Reads the files again. The graph normally does it by itself; this is a fallback, for instance on a network drive where file notifications are unreliable.

Problems the extension reports

They are computed as soon as the folder is opened (no need to open the graph) and appear in VS Code's Problems panel, on the file and the line concerned.

Errors

Message What to do
Invalid YAML frontmatter, or unclosed frontmatter Fix the YAML (quote values that contain : or start with [, *, &, #) and close it with ---.
Duplicate identifier Two files have the same Scope/Name. Both are flagged; the graph keeps the one whose path comes first alphabetically.
Relation is missing its target, or the target is not a [[link]] Complete it.
Unreadable relation / attribute line A line under ## Relations or ## Attributes does not follow the shape described above.
Attribute without a name, or a references that is not a [[link]] Fix it.
relations or attributes that is not a list (YAML form) Make it a list.

Warnings

Message What to do
Target not found The linked term has no file: create it (it is drawn as a dashed node until then), or fix the name. Also reported for the reference of an attribute.
Ambiguous link Several scopes have this name: write [[Scope/Name]]. The arrow points to a missing target until you do.
Unknown kind / relation type / attribute key Use one of the values listed above. An unknown type is treated as an association.
Malformed cardinality Use 1, 0..1, 0..*, 1..*, * or n..m. It is ignored.
Invalid tag Use letters, digits, spaces, _, - or /. It is ignored.
A line of a section that is not a list item Start it with - . It is ignored.
Attribute declared twice Same name (case ignored).
Unexpected file location The file should be <Scope>/<Name>.md, with the same name and scope as in the frontmatter.
Forbidden character in a name or scope Remove it: Obsidian could not link the file.

A Markdown file without a frontmatter, or whose frontmatter has no name and scope, is not a term: it produces no message.

Writing a glossary with an assistant

There is no import: the files above are the only format. To turn another source (a documentation, a data dictionary, an API reference...) into a glossary, ask an assistant or write a script, and give it the authoring guide:

  1. Run Model Explorer: Copy authoring guide. It copies a short guide to the clipboard and offers to save it in your glossary folder.
  2. Paste it into your assistant, with your sources and a request, for example: "Write a glossary of Billing for Model Explorer, using the guide above. Sources: this documentation. Put the files in this folder, one folder per scope. Do not invent: when a source does not say it, use kind: unknown and the tag to verify."
  3. Open the folder in VS Code and look at the Problems panel: it tells the assistant (and you) what to fix. Repeat until it is empty, then open the graph.

The guide asks the assistant to cite its sources, to work at business level and to mark what is uncertain with the tag to verify, so that you can hide or review those terms with the Tags filter. If you prefer to give YAML to an assistant, Convert relations and attributes to YAML... does it in one step.

Settings

Setting Default Meaning
glossaryGraph.root empty Folder to scan, relative to the workspace folder. Empty: the workspace folder itself.
glossaryGraph.exclude [] Glob patterns of files to ignore, relative to the workspace folder, for example **/*_old.md. Ignored files appear neither in the graph nor in the Problems panel.
glossaryGraph.layout layered-lr How the terms are arranged. Set by the Layout card of the graph.
glossaryGraph.scopeZones false Draw a colored area behind the terms of each scope. Set by the Layout card.
glossaryGraph.layoutOptions {} Slider values of each layout, for example { "force": { "repulsion": 20000 } }. Set by the Layout card.

Upgrading from version 0.0.x

Files written for the previous version (a name and a functional_scope, with relations written as text under ## Relations) are not shown until they are migrated. When the extension finds some, it offers to migrate them (with a Don't ask again choice, remembered for the workspace). You can also run Model Explorer: Migrate legacy glossary... at any time: it shows what it will do (use Preview to change nothing), then rewrites the files in place and moves them to <scope>/<name>.md. A file without functional_scope gets the scope unknown. A report goes to the Output panel. Commit your files first: git is the way back.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft