Skip to content

Releases: WithoutHaste/Pinker

Labels and Relations

29 Jun 21:59

Choose a tag to compare

  • support labels on relationship lines/arrows
  • support passing multiple options into render() and draw()
  • support arrows pointing right or left; support double-headed arrows
  • support lists on both sides of a Relate line
  • support dotted lines
  • support quantitative arrows
  • bug fix: parsing Relate row when label contains a comma
  • refactoring
  • test cases

Smart Arrows

15 Jun 15:35

Choose a tag to compare

  • support for curl, elbow, and zigzag SmartArrows
  • spread out coincident paths (vertical, horizontal) with or without SmartArrows
  • additional option for .render() and .draw(): do not overwrite the source
  • config option: "useSmartArrows" turns SmartArrows on/off
  • config option: "labelPadding" for padding around text blocks
  • bug fix: finding scopes by relative paths
  • bug fix: finding scopes by aliased paths
  • bug fix: aliased scopes

Improved Layout

10 Jun 20:38

Choose a tag to compare

  • favor horizontal/vertical lines over angled lines
  • favor golden-ratio labels
  • favor more homogeneous scope sizes
  • update plain arrow head for visibility
  • update arrow head sizes to be more regular
  • clean up define-section layout
  • center sub-diagrams in each scope
  • move more layout control into pinker.config
  • refactoring

Initial Release

05 Jun 22:09

Choose a tag to compare

  • single-file JavaScript library with no dependencies
  • generate code/UML diagrams from plain text
  • supports nested scopes to any level
  • supports arrows across scopes
  • supports aliases