Repository navigation
PlantUML phase 2: class, object, state, use case, component and deployment diagrams; shared Layout package - #158
Merged
Merged
Conversation
…ermaid Extract the graph library (port of graphlib) and the dagre layered layout (port of dagre-d3-es) from DemaConsulting.CanvasNet.Mermaid into the new DemaConsulting.CanvasNet.Layout package so other diagram packages can share them. The files move with git mv; the namespaces become DemaConsulting.CanvasNet.Layout.Graphlib and DemaConsulting.CanvasNet.Layout.Dagre. - The types stay internal; Layout grants InternalsVisibleTo to Layout.Tests, Mermaid and Mermaid.Tests. Layout references no CanvasNet project. - LayoutWorkMeter becomes abstract (Failure, LimitExceeded, IsFailure); the new internal MermaidLayoutWorkMeter keeps Mermaid's exact messages, codes, hints and locations. DagreLayout.Run catches InvalidOperationException only when the meter does not recognize it as the consumer's failure, which is the same behavior as the old MermaidRenderException rethrow. - The dagre and graphlib tests and the dagre-layouts.json goldens move to the new Layout.Tests project with a test meter; the two Mermaid-specific meter tests move to MermaidLayoutWorkMeterTests. Layout.Tests adds system tests. - Layout ships its own third-party notices (dagre, lodash, provenance); the tool package adds licenses/Layout-third-party-README.md, and the CI tool package check expects Layout.dll and that README. Mermaid output is unchanged: every Mermaid fixture and gallery diagram renders byte-identically, and no test expectation file changed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Give the new DemaConsulting.CanvasNet.Layout package its own compliance
artifacts and move the graphlib and dagre ones out of CanvasNetMermaid.
- Requirements: new CanvasNetLayout system and platform requirements; the
graphlib and dagre requirement files move to docs/reqstream/canvas-net-layout/.
Requirement IDs are renamed one to one by prefix:
CanvasNetMermaid-Graphlib-* -> CanvasNetLayout-Graphlib-*
CanvasNetMermaid-Dagre-* -> CanvasNetLayout-Dagre-*
(no requirement split or merged; the wording names the consumer's failures
where it named Mermaid's). The Mermaid system requirements link to the
renamed IDs, and two new MermaidDocument requirements (LayoutLimit,
LayoutFailure) cover the located failures of MermaidLayoutWorkMeter.
- SysML2: new CanvasNetLayoutSystem; MermaidGraphlib/MermaidDagre become
LayoutGraphlib/LayoutDagre under it; Mermaid depends on CanvasNetLayoutSystem;
views CanvasNetLayoutView, LayoutGraphlibView and LayoutDagreView.
- Design and verification: new CanvasNetLayout system documents (including the
internal + InternalsVisibleTo rationale, the meter contract and the ID rename
record); the graphlib and dagre documents move to canvas-net-layout/ and are
made consumer-neutral; Mermaid, Tool and introduction documents and both
definition.yaml files are updated.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- .reviewmark.yaml: add the CanvasNetLayout-Architecture, -Design, -Verification and -AllRequirements review sets, and move the graphlib and dagre review sets to CanvasNetLayout-Graphlib* and CanvasNetLayout-Dagre* with the new paths (the test meter helpers join the Dagre set). Their earlier review evidence does not carry over, as expected for moved files. CanvasNetMermaid-MermaidDocument now includes MermaidLayoutWorkMeter and its tests. - .fileassert.yaml: check the rendered CanvasNetLayoutView, LayoutGraphlibView and LayoutDagreView (replacing MermaidGraphlibView and MermaidDagreView). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- README: list DemaConsulting.CanvasNet.Layout in the installation table (installed with Mermaid, no public API), describe the three shared building blocks, and give the Layout package its own license paragraph and third-party link (the dagre, graphlib and lodash ports now live there). - Architecture diagram: add the .Layout building block used by .Mermaid (with no arrow to the core, which it does not reference) and the missing .PlantUml format package, so the diagram matches the package list; the caption moves into the core box. architecture.png is regenerated with render-images.ps1, and the alt texts of the README, user guide and design introduction describe the new picture. - User guide: the Mermaid package depends on the core and the Layout package; its attribution points to the Layout provenance for the layout ports. - AGENTS.md: the Layout project in the tree, fourteen projects, a Layout row in the scoped test table, and the core row excluding Layout.Tests, as build.ps1 computes them. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add MermaidLayoutWorkMeter.IsFailure unit tests and link them from CanvasNetMermaid-MermaidDocument-LayoutFailure; link the dagre stage golden theory from the CanvasNetLayout-LayeredLayout system requirement. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Grant the PlantUml library and its tests friend access to DemaConsulting.CanvasNet.Layout, reference it from the PlantUml project, add PlantUml.Tests to the Layout row of the AGENTS.md test-selection table, and record the new dependency in the Layout and PlantUml design documents, the requirements notes, and the SysML2 model (usesLayout). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add the internal Svek subsystem, the shared engine of the diagrams that PlantUML lays out with Graphviz: the lowered model (entities with images, nested clusters with header bands, notes, and links with end decorations, styles, labels, lengths, and hints), the shared statement readers (names, arrow grammar, links, notes, page texts, direction, scale, hide/show, layout skin parameters), the layout over the dagre layered layout with PlantUmlLayoutWorkMeter, the curves, clipping, and link decorations, and the renderer of links, container symbols, and notes. Add the SvekArrow, Package, and Container skin elements, the provenance rows, and the spelling terms. No diagram type uses the engine yet, so sequence and activity output is unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add the CanvasNetPlantUml-Svek subsystem and unit requirements (parented under the system's located-errors, limits, and default-look requirements), the design and verification documents, the SysML2 parts and view, and the review sets; extend the skin-theme requirement, design, and verification with the graph elements; name the subsystem in the system design, the introduction, and the system model. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Order the units of a row with Kahn's topological sort (earliest unit first, the earliest remaining one breaking a cycle) instead of a cubic scan, precompute the label gaps between row neighbors, and charge the end-label placement steps to the work meter. Add a chain and cycle row test and link it from the same-rank requirement. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add the Class subsystem (ClassParser, ClassModel, ClassRenderer) that reads PlantUML class and object diagrams and draws them with the shared Svek engine: class boxes with circled characters, stereotypes, generics, member compartments with visibility icons and separators, objects and maps, packages and namespaces, notes, hide/show, and page texts. Rework the diagram detector to try the graph families in PlantUML's order (class, legacy activity, description, state), calibrate the page metrics of the graph diagrams, add the class skin elements and graph skinparam prefixes, extend the golden script with the Smetana layout, and add the class and object fixtures, goldens, integration, and reference shape tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add the unit tests of ClassParser, ClassModel, and ClassRenderer and the Class subsystem tests; extend the hardening tests with the class limits, a bounded layout of a dense class graph, and class fixtures and tokens in the mutation fuzzer; show class and object diagrams in the gallery. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…awn example The tests and comments that used a PlantUML class diagram as the example of a type that is not drawn now use a legacy activity diagram; the class fixture of the Viewer tests is a supported class probe with its counts, and the Tool info test reports a class diagram's nodes, edges, and packages. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add the Supported Class Syntax and Supported Object Syntax lists to the PlantUML user guide with the matching 'plantuml class' and 'plantuml object' help cards and examples (kept equal by the help parity test), Example 74, the class and object gallery entries, the counts, limits, skin parameters, codes, known differences, and detection order; update the tool guide and the style, options, unsupported, differences, and json results cards. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The class diagram keywords and upstream names join the spelling dictionary; test texts use plain words. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…grams The requirements, designs, and verification of the tool and the viewer, the README, the package descriptions, and the render help name class and object diagrams as drawn and use a legacy activity diagram as the type that is not. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Requirements, design, verification, and the SysML2 model of the Class subsystem (ClassParser, ClassModel, ClassRenderer) and its review sets; the system class diagram requirement over the Class and Svek subsystems; the detector's graph families, the class look and graph skin parameters, and the svek page spacing in their units; provenance of the ported class diagram rules. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
A note attached to an entity is now laid out as its own node, joined to the entity by a hidden edge as PlantUML links them for Graphviz (left/right in the entity's rank, top/bottom a rank before/after; axes swapped left to right), so link routes keep clear of the notes. Route ends at a unit of a row move in front of that unit before clipping. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The dashed separators of concurrent regions stop 5 inside the cluster and below its header; further links drawn in a row between the same two units become arcs below and above in turn; the label of a three-point route sits at the middle of its curve, beside a route that runs down; a label that dagre centers inside a compound cluster moves to the route outside it; [*], [H], and [H*] after an arrow are pseudo-states, not qualifiers. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
StateParser reads states, descriptions, transitions, composite states with concurrent regions, the start, end, and history pseudo-states, choices, forks, joins, junctions, notes, and hide empty description into a StateModel, which lowers it for the Svek engine; StateRenderer draws PlantUML's state boxes, pseudo-states, and composite states. State diagrams are detected and drawn; the state and stateAttribute skin parameters and stateStartColor and stateEndColor are read. Original fixtures with PlantUML's smetana goldens. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
State subsystem and unit tests, the state integration tests, the reference shape comparison of the state fixtures with PlantUML's goldens, the state limits, fuzz tokens, and dense layout budget, the state skin tests, two state gallery diagrams, and the detector and system tests now that state diagrams are drawn. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The tool's info and render help and the Viewer's PlantUML source comments name state diagrams among the drawn types; a state probe fixture and tests report a state diagram's states, transitions, and composite states. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The PlantUML guide gains the Supported State Syntax section, the state counts, limits, skin parameters, known differences, two gallery diagrams, and Example 75; the help card plantuml/state with its example matches the guide word for word (HelpTopicsTests row), and the tool guide, the other PlantUML cards, the JSON card, the introduction, and the README name state diagrams among the drawn types. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Split the joined Detection bullet of the PlantUML known differences, wrap the long lines of the guides and README, use American spelling, and teach the spelling check PlantUML's state keywords. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Requirements, design, verification, SysML2 model, and review sets of the State subsystem and its StateParser, StateModel, and StateRenderer units; the system, styling, detector, Svek, tool, and viewer artifacts updated for state diagrams; the parser's limits test. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Notes without an alias get the id note"k in the State and Class parsers, and the clusters of concurrent regions the id X"regionN; no name or alias can hold a quote. A state named like a floating note and a floating note named like a state are located syntax errors, and a short name inside a composite state links the floating note its alias qualifies, as PlantUML does. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…e state diagrams The reference README documents the state goldens, the tool guide lists state among the drawn PlantUML types of info, and the PlantUML help parity test comment names the state card. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add the Description subsystem (DescriptionParser, DescriptionModel, DescriptionRenderer): every statement of PlantUML's description diagrams is read; component diagrams are drawn through the Svek engine with PlantUML's component, interface, node, rectangle, folder, package, frame, cloud, database, and card shapes and the component container. The Svek name reader reads interfaces written () name, business forms, and a bracketed second end after an arrow; description skin prefixes and the description theme are added; component is a drawn type. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ce tests Add the component fixtures 01..08 with PlantUML's smetana goldens, the Description unit and subsystem tests, the component integration tests, the description reference shape theories (elements, containers, links), hardening rows (limits, a dense component graph, fuzz tokens and the component folder), Svek name, styling, and detector tests, and the provenance rows of the Description subsystem. The parser keeps the stereotypes written before 'as', reads links before notes (a note alias may start with a keyword), and gives generated ids a line feed, which no name holds. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add the requirements, design, verification, and SysML2 model of the Description subsystem and its DescriptionParser, DescriptionModel, and DescriptionRenderer units, the PlantUmlDescriptionView, four review sets, and the requirements includes; add the system requirement CanvasNetPlantUml-Component with its platform rows and the component tests of the shared system requirements; update the detector (drawn types; the description family wording), styling, and Svek unit documents, the system design (architecture, provenance, known differences), and the reference goldens README; test the stereotype size of the Svek cluster image. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…are reported Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…the graph families once Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ts, and every drawn type in the README Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
An active moderate issue prevents diagrams containing the supported archimate description keyword from reaching the parser, causing detection to fail before the documented unsupported report and rendering can occur.
1 open issue
What changed in this PR
This pull request expands PlantUML support from sequence and activity diagrams to class, object, state, use case, component, and deployment diagrams, while extracting Mermaid’s graphlib/dagre implementation into a shared internal Layout package.
Changes:
- Added the shared Layout package, Mermaid migration, tests, packaging, licensing, and architecture artifacts.
- Added PlantUML parsers, Svek layout and rendering, fixtures, reference comparisons, diagnostics, help cards, and documentation for six diagram families.
- Hardened sequence parsing and expanded tool, Viewer, gallery, integration, requirements, and verification coverage.
| File | Description |
|---|---|
| tools/visual-diff/README.md | Documents the relocated dagre upstream vectors used by visual-diff tooling. |
| test/DemaConsulting.CanvasNet.Viewer.Tests/Fixtures/plantuml/usecase.puml | Adds a Viewer PlantUML use case fixture. |
| test/DemaConsulting.CanvasNet.Viewer.Tests/Fixtures/plantuml/state.puml | Adds a Viewer PlantUML state fixture. |
| test/DemaConsulting.CanvasNet.Viewer.Tests/Fixtures/plantuml/legacy.pu | Retains a legacy PlantUML fixture for Viewer compatibility coverage. |
| test/DemaConsulting.CanvasNet.Viewer.Tests/Fixtures/plantuml/deployment.puml | Adds a Viewer PlantUML deployment fixture. |
| test/DemaConsulting.CanvasNet.Viewer.Tests/Fixtures/plantuml/component.puml | Adds a Viewer PlantUML component fixture. |
| test/DemaConsulting.CanvasNet.Tool.Tests/PandocFilter/PandocFilterSubsystemTests.cs | Extends Pandoc filter subsystem tests for PlantUML integration. |
| test/DemaConsulting.CanvasNet.Tool.Tests/Commands/RenderCommandPlantUmlTests.cs | Adds render-command coverage for PlantUML diagrams. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Sequence/SequenceParserTests.cs | Tests sequence parser handling for border messages and related regressions. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/PlantUmlUnsupportedDiagramTests.cs | Tests unsupported PlantUML diagram reporting. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/PlantUmlTestHelpers.cs | Provides shared helpers for PlantUML tests. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/PlantUmlSystemIntegrationTests.cs | Tests PlantUML system-level integration behavior. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/PlantUmlImageSourceTests.cs | Tests PlantUML image-source rendering behavior. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/PlantUmlGalleryTests.cs | Tests the PlantUML gallery examples. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/PlantUmlDocumentTests.cs | Tests PlantUML document parsing and rendering integration. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/usecase/07-left-to-right-page.puml | Adds a left-to-right use case page fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/usecase/06-notes.puml | Adds a use case notes fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/usecase/05-bare-names.puml | Adds a use case bare-names fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/usecase/04-relations.puml | Adds a use case relations fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/usecase/03-boundary.puml | Adds a use case boundary fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/usecase/02-forms.puml | Adds a use case forms fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/usecase/01-basic.puml | Adds a basic use case fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/state/13-page.puml | Adds a state page fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/state/12-colors.puml | Adds a state colors fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/state/11-arrows.puml | Adds a state arrows fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/state/10-left-to-right.puml | Adds a left-to-right state fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/state/09-hide-empty.puml | Adds a state hide-empty fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/state/08-notes.puml | Adds a state notes fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/state/07-history.puml | Adds a state history pseudo-state fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/state/06-pseudostates.puml | Adds a state pseudo-states fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/state/05-concurrent.puml | Adds a concurrent-region state fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/state/04-composite.puml | Adds a composite state fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/state/03-descriptions.puml | Adds a state descriptions fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/state/02-names.puml | Adds a state names fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/state/01-basic.puml | Adds a basic state fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/object/04-stereotypes.puml | Adds an object stereotypes fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/object/03-links.puml | Adds an object links fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/object/02-map.puml | Adds an object map fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/object/01-fields.puml | Adds an object fields fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/deployment/06-left-to-right.puml | Adds a left-to-right deployment fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/deployment/05-notes-colors.puml | Adds a deployment notes and colors fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/deployment/04-links.puml | Adds a deployment links fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/deployment/03-containers.puml | Adds a deployment containers fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/deployment/02-symbols.puml | Adds a deployment symbols fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/deployment/01-nodes.puml | Adds a deployment nodes fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/component/08-page-skinparam.puml | Adds a component page and skinparam fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/component/07-left-to-right.puml | Adds a left-to-right component fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/component/06-stereotypes-colors.puml | Adds a component stereotypes and colors fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/component/05-notes.puml | Adds a component notes fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/component/04-links.puml | Adds a component links fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/component/03-containers.puml | Adds a component containers fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/component/02-interfaces.puml | Adds a component interfaces fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/component/01-basic.puml | Adds a basic component fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/class/14-skinparam.puml | Adds a class skinparam fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/class/13-page.puml | Adds a class page fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/class/12-left-to-right.puml | Adds a left-to-right class fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/class/11-hide-show.puml | Adds a class hide/show fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/class/10-notes.puml | Adds a class notes fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/class/09-packages.puml | Adds a class packages fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/class/08-hints.puml | Adds a class direction-hints fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/class/07-labels.puml | Adds a class labels fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/class/06-relations.puml | Adds a class relations fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/class/05-generics-stereotypes.puml | Adds a class generics and stereotypes fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/class/04-separators.puml | Adds a class separators fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/class/03-members.puml | Adds a class members fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/class/02-kinds.puml | Adds a class kinds fixture. |
| test/DemaConsulting.CanvasNet.PlantUml.Tests/Fixtures/class/01-basic.puml | Adds a basic class fixture. |
| test/DemaConsulting.CanvasNet.Mermaid.Tests/Rendering/RenderingTestContext.cs | Updates shared Mermaid rendering test context for the extracted layout package. |
| test/DemaConsulting.CanvasNet.Mermaid.Tests/Rendering/LabelBuilderTests.cs | Tests Mermaid label building against the shared layout changes. |
| test/DemaConsulting.CanvasNet.Mermaid.Tests/Packet/PacketVectorTests.cs | Tests Mermaid packet rendering vectors. |
| test/DemaConsulting.CanvasNet.Mermaid.Tests/Packet/PacketParserTests.cs | Tests Mermaid packet parsing. |
| test/DemaConsulting.CanvasNet.Mermaid.Tests/MermaidMindmapReferenceLayoutTests.cs | Tests Mermaid mindmap reference layouts. |
| test/DemaConsulting.CanvasNet.Mermaid.Tests/Gantt/GanttVectorTests.cs | Tests Mermaid Gantt rendering vectors. |
| test/DemaConsulting.CanvasNet.Mermaid.Tests/Cose/CoseTests.cs | Tests Mermaid COSE layout behavior. |
| test/DemaConsulting.CanvasNet.Mermaid.Tests/Cose/CoseLayoutTests.cs | Tests Mermaid COSE layout calculations. |
| test/DemaConsulting.CanvasNet.Mermaid.Tests/Cose/CoseGoldenTests.cs | Verifies Mermaid COSE golden outputs. |
| test/DemaConsulting.CanvasNet.Layout.Tests/Graphlib/ObjectKeyMapTests.cs | Tests Graphlib object-key mapping. |
| test/DemaConsulting.CanvasNet.Layout.Tests/Graphlib/GraphTests.cs | Tests shared Graphlib graph operations. |
| test/DemaConsulting.CanvasNet.Layout.Tests/Graphlib/GraphlibTests.cs | Tests shared Graphlib behavior. |
| test/DemaConsulting.CanvasNet.Layout.Tests/Graphlib/GraphAlgorithmsTests.cs | Tests shared Graphlib graph algorithms. |
| test/DemaConsulting.CanvasNet.Layout.Tests/Dagre/LodashTests.cs | Tests the shared Dagre Lodash utilities. |
| test/DemaConsulting.CanvasNet.Layout.Tests/Dagre/DagreGoldens.cs | Verifies shared Dagre golden layouts. |
| src/DemaConsulting.CanvasNet.Tool/Commands/RenderCommand.cs | Integrates the expanded PlantUML rendering support into the render command. |
| src/DemaConsulting.CanvasNet.Tool/Commands/Help/plantuml/options.md | Documents PlantUML options and diagram result counts. |
| src/DemaConsulting.CanvasNet.Tool/Commands/Help/plantuml/object.md | Documents PlantUML object diagrams. |
| src/DemaConsulting.CanvasNet.Tool/Commands/Help/plantuml/differences.md | Documents CanvasNet differences from PlantUML. |
| src/DemaConsulting.CanvasNet.Tool/Commands/Help/plantuml.md | Updates the PlantUML help card for the expanded diagram support. |
| src/DemaConsulting.CanvasNet.Tool/Commands/Help/json/results.md | Documents JSON result counts for PlantUML diagrams. |
| src/DemaConsulting.CanvasNet.Tool/Commands/Help/Examples/plantuml-usecase.puml | Adds a PlantUML use case help example. |
| src/DemaConsulting.CanvasNet.Tool/Commands/Help/Examples/plantuml-state.puml | Adds a PlantUML state help example. |
| src/DemaConsulting.CanvasNet.Tool/Commands/Help/Examples/plantuml-object.puml | Adds a PlantUML object help example. |
| src/DemaConsulting.CanvasNet.Tool/Commands/Help/Examples/plantuml-deployment.puml | Adds a PlantUML deployment help example. |
| src/DemaConsulting.CanvasNet.Tool/Commands/Help/Examples/plantuml-component.puml | Adds a PlantUML component help example. |
| src/DemaConsulting.CanvasNet.Tool/Commands/Help/Examples/plantuml-class.puml | Adds a PlantUML class help example. |
| src/DemaConsulting.CanvasNet.PlantUml/State/NamespaceDoc.cs | Documents the PlantUML state namespace. |
| src/DemaConsulting.CanvasNet.PlantUml/PlantUmlDocument.Pipeline.cs | Routes the expanded PlantUML diagram families through the document pipeline. |
| src/DemaConsulting.CanvasNet.PlantUml/PlantUmlDocument.cs | Updates the PlantUML document model for the expanded diagram support. |
| src/DemaConsulting.CanvasNet.PlantUml/NamespaceDoc.cs | Documents the PlantUML package. |
| src/DemaConsulting.CanvasNet.PlantUml/Description/NamespaceDoc.cs | Documents the PlantUML description-diagram namespace. |
| src/DemaConsulting.CanvasNet.PlantUml/Class/NamespaceDoc.cs | Documents the PlantUML class-diagram namespace. |
| src/DemaConsulting.CanvasNet.Mermaid/State/StateModel.LayoutData.cs | Updates Mermaid state layout data to use the shared layout package. |
| src/DemaConsulting.CanvasNet.Mermaid/Sequence/SequenceLayout.cs | Updates Mermaid sequence layout integration. |
| src/DemaConsulting.CanvasNet.Mermaid/Sequence/SequenceLayout.Bounds.cs | Updates Mermaid sequence layout bounds calculations. |
| src/DemaConsulting.CanvasNet.Mermaid/Rendering/LabelBuilder.TextDimensions.cs | Updates Mermaid label text-dimension handling. |
| src/DemaConsulting.CanvasNet.Mermaid/Rendering/EdgeBuilder.Markers.cs | Updates Mermaid edge marker rendering. |
| src/DemaConsulting.CanvasNet.Mermaid/Rendering/EdgeBuilder.Curves.cs | Updates Mermaid edge curve rendering. |
| src/DemaConsulting.CanvasNet.Mermaid/Rendering/EdgeBuilder.cs | Updates Mermaid edge construction for the shared layout migration. |
| src/DemaConsulting.CanvasNet.Mermaid/Rendering/ClusterLayout.SelfLoops.cs | Updates Mermaid cluster self-loop layout handling. |
| src/DemaConsulting.CanvasNet.Mermaid/Rendering/ClusterLayout.Extractor.cs | Updates Mermaid cluster layout extraction. |
| src/DemaConsulting.CanvasNet.Mermaid/Rendering/ClusterLayout.cs | Updates Mermaid cluster layout integration. |
| src/DemaConsulting.CanvasNet.Mermaid/Pie/PieRenderer.cs | Updates Mermaid pie rendering integration. |
| src/DemaConsulting.CanvasNet.Mermaid/Packet/PacketRenderer.cs | Updates Mermaid packet rendering integration. |
| src/DemaConsulting.CanvasNet.Mermaid/Packet/PacketParser.cs | Updates Mermaid packet parsing integration. |
| src/DemaConsulting.CanvasNet.Mermaid/Mindmap/MindmapRenderer.cs | Updates Mermaid mindmap rendering integration. |
| src/DemaConsulting.CanvasNet.Mermaid/GitGraph/GitGraphRenderer.cs | Updates Mermaid Git graph rendering integration. |
| src/DemaConsulting.CanvasNet.Mermaid/Gantt/GanttRenderer.cs | Updates Mermaid Gantt rendering integration. |
| src/DemaConsulting.CanvasNet.Mermaid/Gantt/GanttModel.Tasks.cs | Updates Mermaid Gantt task layout data. |
| src/DemaConsulting.CanvasNet.Mermaid/Gantt/GanttModel.Dayjs.cs | Updates Mermaid Gantt date and layout integration. |
| src/DemaConsulting.CanvasNet.Mermaid/Flowchart/FlowchartModel.Render.cs | Updates Mermaid flowchart rendering integration. |
| src/DemaConsulting.CanvasNet.Mermaid/Flowchart/FlowchartModel.Elements.cs | Updates Mermaid flowchart element modeling. |
| src/DemaConsulting.CanvasNet.Mermaid/Flowchart/FlowchartModel.cs | Updates Mermaid flowchart model layout integration. |
| src/DemaConsulting.CanvasNet.Mermaid/Er/ErModel.LayoutData.cs | Updates Mermaid ER layout data integration. |
| src/DemaConsulting.CanvasNet.Mermaid/DemaConsulting.CanvasNet.Mermaid.csproj | Migrates the Mermaid project to reference the shared Layout package. |
| src/DemaConsulting.CanvasNet.Mermaid/Cose/CoseLayout.Radial.cs | Updates Mermaid radial COSE layout integration. |
| src/DemaConsulting.CanvasNet.Mermaid/Cose/CoseLayout.cs | Updates Mermaid COSE layout integration. |
| src/DemaConsulting.CanvasNet.Mermaid/Class/ClassModel.LayoutData.cs | Updates Mermaid class layout data integration. |
| src/DemaConsulting.CanvasNet.Layout/third-party/LICENSE-dagre.txt | Adds the Dagre third-party license notice. |
| src/DemaConsulting.CanvasNet.Layout/Graphlib/ObjectKeyMap.cs | Adds Graphlib object-key mapping support. |
| src/DemaConsulting.CanvasNet.Layout/Graphlib/NamespaceDoc.cs | Documents the shared Graphlib namespace. |
| src/DemaConsulting.CanvasNet.Layout/Graphlib/GraphEdge.cs | Adds Graphlib graph-edge support. |
| src/DemaConsulting.CanvasNet.Layout/Graphlib/GraphAlgorithms.cs | Adds shared Graphlib graph algorithms. |
| src/DemaConsulting.CanvasNet.Layout/Graphlib/Graph.cs | Adds the shared Graphlib graph implementation. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/NamespaceDoc.cs | Documents the shared Dagre namespace. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/Lodash.cs | Adds Dagre-compatible utility functions. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/LayoutModel.cs | Adds shared Dagre layout model support. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagreRanker.NetworkSimplex.cs | Adds Dagre network-simplex ranking. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagreRanker.FeasibleTree.cs | Adds Dagre feasible-tree ranking support. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagreRanker.cs | Adds shared Dagre ranker behavior. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagrePositioning.cs | Adds shared Dagre node positioning. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagrePositioning.BrandesKoepf.cs | Adds Dagre Brandes-Koepf positioning. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagreOrdering.Sort.cs | Adds Dagre ordering sort operations. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagreOrdering.cs | Adds shared Dagre ordering behavior. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagreOrdering.CrossCount.cs | Adds Dagre crossing-count calculations. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagreOrdering.Constraints.cs | Adds Dagre ordering constraints. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagreNormalizer.cs | Adds Dagre graph normalization. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagreNesting.cs | Adds Dagre nesting support. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagreLayout.Util.cs | Adds Dagre layout utility functions. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagreGraph.cs | Adds shared Dagre graph construction. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagreCoordinateSystem.cs | Adds Dagre coordinate-system handling. |
| src/DemaConsulting.CanvasNet.Layout/Dagre/DagreAcyclic.cs | Adds Dagre acyclic graph processing. |
| docs/verification/canvas-net-tool/pandoc-filter/pandoc-filter-shim.md | Documents Pandoc filter shim verification. |
| docs/verification/canvas-net-tool/pandoc-filter/pandoc-filter-engine.md | Documents Pandoc filter engine verification. |
| docs/verification/canvas-net-tool/pandoc-filter.md | Documents Pandoc filter verification coverage. |
| docs/verification/canvas-net-tool.md | Updates CanvasNet tool verification documentation. |
| docs/verification/canvas-net-plant-uml/sequence/sequence-parser.md | Documents PlantUML sequence parser verification. |
| docs/verification/canvas-net-plant-uml/scenegraph/scene-model.md | Documents PlantUML scene-model verification. |
| docs/verification/canvas-net-mermaid/rendering/cluster-layout.md | Documents Mermaid cluster-layout verification. |
| docs/verification/canvas-net-mermaid/mermaid-document.md | Documents Mermaid document verification. |
| docs/verification/canvas-net-mermaid/cose/cose-layout.md | Documents Mermaid COSE layout verification. |
| docs/verification/canvas-net-mermaid/cose.md | Documents Mermaid COSE verification. |
| docs/verification/canvas-net-mermaid.md | Updates Mermaid verification documentation. |
| docs/verification/canvas-net-layout/graphlib/graph-algorithms.md | Documents shared Graphlib algorithm verification. |
| docs/user_guide/introduction.md | Updates the user guide introduction for the expanded diagram support. |
| docs/user_guide/examples/plantuml-usecase-shop.puml | Adds a PlantUML use case shop example. |
| docs/user_guide/examples/plantuml-usecase-boundary.puml | Adds a PlantUML use case boundary example. |
| docs/user_guide/examples/plantuml-state-regions.puml | Adds a PlantUML state regions example. |
| docs/user_guide/examples/plantuml-state-machine.puml | Adds a PlantUML state machine example. |
| docs/user_guide/examples/plantuml-object-basics.puml | Adds a PlantUML object basics example. |
| docs/user_guide/examples/plantuml-deployment-nodes.puml | Adds a PlantUML deployment nodes example. |
| docs/user_guide/examples/plantuml-component-services.puml | Adds a PlantUML component services example. |
| docs/user_guide/examples/plantuml-component-interfaces.puml | Adds a PlantUML component interfaces example. |
| docs/user_guide/examples/plantuml-class-packages.puml | Adds a PlantUML class packages example. |
| docs/user_guide/examples/plantuml-class-model.puml | Adds a PlantUML class model example. |
| docs/sysml2/model/canvas-net-plant-uml/svek/svek-geometry.sysml | Models PlantUML Svek geometry in SysML2. |
| docs/sysml2/model/canvas-net-plant-uml/class.sysml | Models PlantUML class support in SysML2. |
| docs/sysml2/model/canvas-net-mermaid/state.sysml | Updates the Mermaid state SysML2 model. |
| docs/sysml2/model/canvas-net-mermaid/sequence.sysml | Updates the Mermaid sequence SysML2 model. |
| docs/sysml2/model/canvas-net-mermaid/rendering.sysml | Updates the Mermaid rendering SysML2 model. |
| docs/sysml2/model/canvas-net-mermaid/pie.sysml | Updates the Mermaid pie SysML2 model. |
| docs/sysml2/model/canvas-net-mermaid/packet.sysml | Updates the Mermaid packet SysML2 model. |
| docs/sysml2/model/canvas-net-mermaid/mindmap.sysml | Updates the Mermaid mindmap SysML2 model. |
| docs/sysml2/model/canvas-net-mermaid/graphlib.sysml | Updates the Mermaid Graphlib SysML2 model. |
| docs/sysml2/model/canvas-net-mermaid/git-graph.sysml | Updates the Mermaid Git graph SysML2 model. |
| docs/sysml2/model/canvas-net-mermaid/gantt.sysml | Updates the Mermaid Gantt SysML2 model. |
| docs/sysml2/model/canvas-net-mermaid/flowchart.sysml | Updates the Mermaid flowchart SysML2 model. |
| docs/sysml2/model/canvas-net-mermaid/er.sysml | Updates the Mermaid ER SysML2 model. |
| docs/sysml2/model/canvas-net-mermaid/dagre/layout-work-meter.sysml | Models Mermaid Dagre work-meter integration in SysML2. |
| docs/sysml2/model/canvas-net-mermaid/cose.sysml | Updates the Mermaid COSE SysML2 model. |
| docs/sysml2/model/canvas-net-mermaid/class.sysml | Updates the Mermaid class SysML2 model. |
| docs/sysml2/model/canvas-net-layout/graphlib.sysml | Adds the shared Graphlib SysML2 model. |
| docs/sysml2/model/canvas-net-layout/dagre/dagre-normalizer.sysml | Models Dagre normalization in SysML2. |
| docs/sysml2/model/canvas-net-layout/dagre/dagre-coordinate-system.sysml | Models Dagre coordinate handling in SysML2. |
| docs/sysml2/model/canvas-net-layout/dagre/dagre-acyclic.sysml | Models Dagre acyclic processing in SysML2. |
| docs/reqstream/canvas-net-viewer.yaml | Updates Viewer requirements traceability. |
| docs/reqstream/canvas-net-tool/commands/help-topics.yaml | Updates help-topic requirements traceability. |
| docs/reqstream/canvas-net-tool.yaml | Updates tool requirements traceability. |
| docs/reqstream/canvas-net-plant-uml/syntax.yaml | Adds PlantUML syntax requirements traceability. |
| docs/reqstream/canvas-net-plant-uml/styling.yaml | Adds PlantUML styling requirements traceability. |
| docs/reqstream/canvas-net-plant-uml/sequence/sequence-parser.yaml | Updates sequence parser requirements traceability. |
| docs/reqstream/canvas-net-plant-uml/scenegraph/scene-model.yaml | Updates PlantUML scene-model requirements traceability. |
| docs/reqstream/canvas-net-layout/graphlib/graph-algorithms.yaml | Adds Graphlib algorithm requirements traceability. |
| docs/reqstream/canvas-net-layout/dagre/dagre-coordinate-system.yaml | Adds Dagre coordinate-system requirements traceability. |
| docs/images/README.md | Documents image and gallery asset handling. |
| docs/design/canvas-net-viewer/imaging/source-loader.md | Documents Viewer source-loader design. |
| docs/design/canvas-net-tool/commands/help-topics.md | Documents tool help-topic design. |
| docs/design/canvas-net-plant-uml/sequence/sequence-renderer.md | Documents PlantUML sequence renderer design. |
| docs/design/canvas-net-plant-uml/sequence/sequence-parser.md | Documents PlantUML sequence parser design. |
| docs/design/canvas-net-plant-uml/scenegraph/scene-model.md | Documents PlantUML scene-model design. |
| docs/design/canvas-net-mermaid/state/state-model.md | Documents Mermaid state-model design. |
| docs/design/canvas-net-mermaid/state.md | Updates Mermaid state design documentation. |
| docs/design/canvas-net-mermaid/sequence/sequence-layout.md | Documents Mermaid sequence layout design. |
| docs/design/canvas-net-mermaid/sequence.md | Updates Mermaid sequence design documentation. |
| docs/design/canvas-net-mermaid/rendering/label-builder.md | Documents Mermaid label-builder design. |
| docs/design/canvas-net-mermaid/rendering/cluster-layout.md | Documents Mermaid cluster-layout design. |
| docs/design/canvas-net-mermaid/rendering.md | Updates Mermaid rendering design documentation. |
| docs/design/canvas-net-mermaid/pie/pie-renderer.md | Documents Mermaid pie-renderer design. |
| docs/design/canvas-net-mermaid/pie.md | Updates Mermaid pie design documentation. |
| docs/design/canvas-net-mermaid/packet/packet-renderer.md | Documents Mermaid packet-renderer design. |
| docs/design/canvas-net-mermaid/packet/packet-parser.md | Documents Mermaid packet-parser design. |
| docs/design/canvas-net-mermaid/packet.md | Updates Mermaid packet design documentation. |
| docs/design/canvas-net-mermaid/mindmap/mindmap-renderer.md | Documents Mermaid mindmap-renderer design. |
| docs/design/canvas-net-mermaid/mindmap.md | Updates Mermaid mindmap design documentation. |
| docs/design/canvas-net-mermaid/git-graph/git-graph-renderer.md | Documents Mermaid Git graph renderer design. |
| docs/design/canvas-net-mermaid/git-graph.md | Updates Mermaid Git graph design documentation. |
| docs/design/canvas-net-mermaid/gantt/gantt-renderer.md | Documents Mermaid Gantt renderer design. |
| docs/design/canvas-net-mermaid/gantt/gantt-model.md | Documents Mermaid Gantt model design. |
| docs/design/canvas-net-mermaid/flowchart/flowchart-model.md | Documents Mermaid flowchart model design. |
| docs/design/canvas-net-mermaid/flowchart.md | Updates Mermaid flowchart design documentation. |
| docs/design/canvas-net-mermaid/er/er-model.md | Documents Mermaid ER model design. |
| docs/design/canvas-net-mermaid/er.md | Updates Mermaid ER design documentation. |
| docs/design/canvas-net-mermaid/cose/cose-layout.md | Documents Mermaid COSE layout design. |
| docs/design/canvas-net-mermaid/cose.md | Updates Mermaid COSE design documentation. |
| docs/design/canvas-net-mermaid/class/class-model.md | Documents Mermaid class model design. |
| docs/design/canvas-net-layout/dagre/dagre-normalizer.md | Documents shared Dagre normalizer design. |
| docs/design/canvas-net-layout/dagre/dagre-coordinate-system.md | Documents shared Dagre coordinate-system design. |
| CanvasNet.slnx | Wires the shared Layout project and related tests into the solution. |
| .github/workflows/build.yaml | Updates CI build and packaging validation for the new Layout package. |
Review effort: Lite
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ft as written (class diagrams are drawn) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
15 of 18 tasks
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Pull Request
Description
PlantUML phase 2: the diagram types that PlantUML lays out with Graphviz, plus a shared graph-layout package.
Part A: the new
DemaConsulting.CanvasNet.Layoutpackage.InternalsVisibleTo, and each one supplies its own work meter..mmdinputs render identically before and after the move (the same PNG hashes, positions and exit codes), and the documentation images are byte-identical.Part B: six PlantUML diagram types, laid out by a small PlantUML "Svek" engine on top of dagre.
{static}/{abstract}, and titled separators.hide/show, and askinparamsubset.maptables.[*], composite and nested states, and concurrent regions (--and||).note on link), descriptions, stereotypes and colors.:X:, business), use cases,rectangle/packageboundaries,«include»/«extend», generalization, and notes.() X, and the containers package, node, folder, frame, cloud, database, rectangle and card.action,processand archimate elements are reported and drawn as rectangles.Each type gets the same integration as phase 1:
infocounts;plantuml-*diagnostics, and full compliance artifacts.Comparison with PlantUML: the reference is the MIT jar with
!pragma layout smetana(52 side-by-side pictures). Shapes, styling, arrowheads and fonts match, and reference-shape tests check them against the jar's goldens. The positions differ, because dagre is not Graphviz. The class example below is drawn by the jar on the left and by CanvasNet on the right:Known deviations (documented):
left/righthints keep their two ends on one row.Also fixed while here:
[->,->],?->) failed detection.Type of Change
Related Issues
Follows #157.
Pre-Submission Checklist
Before submitting this pull request, ensure you have completed the following:
Build and Test
pwsh ./build.ps1(passed: 116,930 tests, 0 failed)Code Quality
Quality Checks
Please run the following checks before submitting:
pwsh ./lint.ps1(passed;render-images.ps1 -Checkpassed)Testing
Documentation
Additional Notes
[after an arrow is accepted as a border end, which predates this branch.