Skip to content

[Feature]: Graphical notation text builders from SysML-graphical-bnf.kgbnf #441

Open
1 of 3 issues completed

Description

@antoineatsoprasteria

What type of issue is this?

  • Bug report
  • Feature request

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the SysML2.NET
  • I have searched open and closed issues to ensure it has not already been reported

Description

Diagram tools built on SysML2.NET format the text inside diagram shapes themselves (name compartments, compartment rows, port labels, connector-end labels), and it drifts from SysML 2.0 §8.2.3 — e.g. name : value where usage-cp = usageDeclaration ValuePart? requires name = value.

The SysML v2 release ships the graphical grammar as bnf/SysML-graphical-bnf.kgbnf. This epic generates the text its productions require on top of the existing textual builders, so diagram labels match the textual notation by construction. Geometry and rendering stay with the consuming tool.

525 production names; 146 productions produce text, all ending in 61 textual non-terminals already generated in SysML2.NET.Serializer.TextualNotation. No rule carries assignments or a target metaclass.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions