Skip to content

0.2.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 23:56
· 15 commits to main since this release

Every chart type Volcanic supports can now be edited visually: all 22. Open any Mermaid chart in a note and choose Edit diagram.

New visual editors

Eleven new editors, each with a live preview, labelled controls and keyboard shortcuts for reordering:

  • Sankey diagrams: a table of flows (from, to, amount) with totals going in and out of each place, and a warning for loops.
  • Treemaps: an indented outline of boxes that adds up what is inside each one.
  • Packet diagrams: a list of fields with a width in bits; the bit ranges work themselves out.
  • State diagrams: states and the transitions between them, with start and end markers.
  • Entity relationship diagrams: a card for each table with its attributes, and relationships written as sentences.
  • Class diagrams: a card for each class with its members, and relationships such as "Dog inherits from Animal".
  • Architecture diagrams: services, groups and junctions, and connections that leave and arrive at a chosen side.
  • Block diagrams: blocks on a grid, with shapes, spans and links, and a note of the row and columns each block lands in.
  • Git graphs: a list of commits, branches, merges and cherry-picks that shows the branch you are on after each step.
  • Requirement diagrams: requirements and elements, and how they satisfy, verify or contain each other.
  • C4 context diagrams: people, systems and boundaries, and the relationships between them.

Diagrams that use something an editor does not cover (nested states, notes, styling and so on) still open in Code mode, with a short reason.

Improvements

  • Titles are optional. A diagram no longer needs a title to be saved. A gentle note explains that screen-reader users hear a name only when there is a title or a description.
  • Sankey links are drawn as gradients, as Pele draws them, instead of flat colours.
  • The page stays where you were after you choose Update diagram, instead of scrolling away from the chart you edited.

Fixes

  • The preview recovers after an error. Previously, once a preview failed to draw, the old error stayed on screen even after you fixed the diagram, until you reopened the editor.

Full changelog: 0.1.0...0.2.0