Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add C4 Diagram. Compatible with C4-PlantUML syntax (2). #3038 #3151

Merged
merged 3 commits into from Jun 28, 2022

Commits on Jun 18, 2022

  1. C4 diagram is fixed style, such as css color, so different css is not…

    … provided under different skins.
    
    updateElementStyle and UpdateElementStyle are written in the diagram last part. updateElementStyle is inconsistent with the original definition and updates the style of the relationship, including the offset of the text label relative to the original position.
    
    - [ ] Custom tags/stereotypes support and skinparam updates
    - - [ ] AddElementTag(tagStereo, ?bgColor, ?fontColor, ?borderColor, ?shadowing, ?shape, ?sprite, ?techn, ?legendText, ?legendSprite): Introduces a new element tag. The styles of the tagged elements are updated and the tag is displayed in the calculated legend.
    - - [ ] AddRelTag(tagStereo, ?textColor, ?lineColor, ?lineStyle, ?sprite, ?techn, ?legendText, ?legendSprite): Introduces a new Relationship tag. The styles of the tagged relationships are updated and the tag is displayed in the calculated legend.
    - - [X] UpdateElementStyle(elementName, ?bgColor, ?fontColor, ?borderColor, ?shadowing, ?shape, ?sprite, ?techn, ?legendText, ?legendSprite): This call updates the default style of the elements (component, ...) and creates no additional legend entry.
    - - [X] UpdateRelStyle(from, to, textColor, lineColor, ?offsetX, ?offsetY): This call updates the default relationship colors and creates no additional legend entry. Two new parameters, offsetX and offsetY, are added to set the offset of the original position of the text.
    - - [ ] RoundedBoxShape(): This call returns the name of the rounded box shape and can be used as ?shape argument.
    - - [ ] EightSidedShape(): This call returns the name of the eight sided shape and can be used as ?shape argument.
    - - [ ] DashedLine(): This call returns the name of the dashed line and can be used as ?lineStyle argument.
    - - [ ] DottedLine(): This call returns the name of the dotted line and can be used as ?lineStyle argument.
    - - [ ] BoldLine(): This call returns the name of the bold line and can be used as ?lineStyle argument.
    - - [X] UpdateLayoutConfig(?c4ShapeInRow, ?c4BoundaryInRow): New. This call updates the default c4ShapeInRow(4) and c4BoundaryInRow(2).
    pinghe committed Jun 18, 2022
    Copy the full SHA
    546eb28 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    b0d6516 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. Update docs.

    pinghe committed Jun 20, 2022
    Copy the full SHA
    0c5b494 View commit details
    Browse the repository at this point in the history