Skip to content

0.18.0

Choose a tag to compare

@jpwalsh234 jpwalsh234 released this 22 Oct 04:28
· 142 commits to main since this release

More shapes, for flowcharts and the rest. Nothing that worked is refused, and the only diagram that draws differently is a circle given a width: and a height: that differ.

  • More shapes (#18): diamond, pill, parallelogram, hexagon, trapezoid, triangle and cylinder, named for how they look, and the flowchart standard's shapes that have no geometric name as flow- and what they mean, from flow-subprocess and flow-delay to flow-collate. A shape's settings go in a bracket after its name: shape: parallelogram (slant: 2, lean: left), shape: cylinder (lying), shape: document (fold: 1.5).
  • A shape grows to hold its text at its middle, and a stated width: and height: stretch it. Its sides are the stretches of outline round its points, so from: right leaves a diamond from its right point, as a flowchart's "no" does.
  • A circle given a width: and a height: that differ is an ellipse. It used to stay round and ignore the height without saying so.