Skip to content

zuzu v0.8.2

Choose a tag to compare

@kenshaw kenshaw released this 22 Nov 11:12
· 17 commits to main since this release

zuzu v0.8.2 puts the labels of some shapes of Mermaid where a reader expects them, and keeps the text of a note and of a box title of a sequence diagram in its box. The output of some diagrams changes, as the sections below say.

Labels of shapes

  • The label of a document, a lined document and a tagged document centers on the sheet above the wave across its bottom, as in diagrams/20-named-shapes.mmd and diagrams/55-shapes-documents.mmd. The label of a lined document also moves off its strip, and the label of a stack of documents centers on its front sheet.
  • The label of a block arrow to one side centers on its shaft, which ends where its head starts, as in block/04-arrows.mmd. An arrow to both sides, or on both axes, keeps its label in its middle.
  • A block diagram places the label of each shape as a flowchart does, so the label of a cylinder or a document in a block sits on its body.

Sequence diagrams

  • A note of several lines draws its lines in the middle of its box, as in sequence/09-config.mmd. Before, its first line drew above the box. A divider of ZenUML does the same.
  • The title of a box of participants of several lines draws in the box, and the diagram no longer leaves space above it.

Dependencies

  • github.com/xo/okage v0.20.1

Full changes: v0.8.1...v0.8.2