You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for custom Tags and Styles, so that any Structures can be tagged with custom Tags and then styled accordingly when the diagrams are generated.
Custom Tags should be added under Tags object in AaC. For example the built-in C4InterFlow Tags would be defined in YAML AaC as follows:
Tags:
C4InterFlow:
Lifecycle:
New:
ElementStyle:
BackgroundColor: green
FontColor: #ffffff
BorderColor: green
Shadowing: false
RelationshipStyle:
TextColor: green
LineColor: green
Changed:
ElementStyle:
BackgroundColor: orange
FontColor: #ffffff
BorderColor: orange
Shadowing: false
RelationshipStyle:
TextColor: orange
LineColor: orange
Removed:
ElementStyle:
BackgroundColor: red
FontColor: #ffffff
BorderColor: red
Shadowing: false
RelationshipStyle:
TextColor: red
LineColor: red
The Structures would be tagged in AaC as follows:
Tags:
- "C4InterFlow.Lifecycle.New"
The text was updated successfully, but these errors were encountered:
Context
At the moment all C4 and C4 Static diagrams are rendered with support for a set of built-in Element and Relationship Tags and Styles.
Requirements
Add support for custom Tags and Styles, so that any Structures can be tagged with custom Tags and then styled accordingly when the diagrams are generated.
Custom Tags should be added under
Tags
object in AaC. For example the built-in C4InterFlow Tags would be defined in YAML AaC as follows:The Structures would be tagged in AaC as follows:
The text was updated successfully, but these errors were encountered: