drumlin

UML diagrams from plain text

Write a few lines. Get a drawing a draftsman would sign.

drumlin turns plain text into UML diagrams as SVG. It lays them out on a grid, routes every line at right angles around the boxes, and inks the result with three pen weights and optional single-stroke lettering. Component, package, state, sequence and activity diagrams. One small program with no dependencies.

You write
diagram component "Weather station"
direction right

component "Station" as station {
  component Sensors
  component Logger
  Sensors --> Logger : samples
  requires IForecast
}
component Forecast <<service>> {
  provides IForecast
}
note Forecast: Ball and socket join by name.
drumlin draws
A component diagram: a Station holding Sensors and Logger, joined to a Forecast service by a ball-and-socket IForecast interface.