Skip to content

Releases: andrewcmyers/constrain

Release 0.6.4

31 Dec 06:58
Compare
Choose a tag to compare

Improved debugging support
Fixed abs operator
allow units in hspace and vspace
Removed unnecessary variables from some graphics
Added Loyd example

Release 0.6.3

16 Apr 19:23
Compare
Choose a tag to compare
  • Bug fix to handling of max and min constraints (which could get stuck at a saddle point).
  • Make graphs work better by reducing torques
  • Fix PS output

Release 0.6.2

08 Apr 16:09
Compare
Choose a tag to compare
  • Bug fix to substitution solving.
  • Some documentation improvements.

0.6.1

06 Apr 03:39
Compare
Choose a tag to compare

Fixed some bugs in 0.6.0 which broke various examples.

Release 0.6.0

05 Apr 18:53
Compare
Choose a tag to compare
  • Constraint solving accelerated by solving variables via substitution.
  • Major rework of animation code to compute future keyframes during pause time
  • connector labels now may be arbitrary objects, not just text
  • Directional constraints added: direction(), fromDirection(), rightOf(), above(), below(), etc.
  • sin() and cos() now supported as expressions.
  • ptToLineDist() expression added.
  • render() -> renderFrame() and between() -> betweenFrames() (not backward-compatible)
  • bug fixes to solving involving Groups
  • bug fixes for positioning line labels

Release 0.5.0

04 Feb 02:56
Compare
Choose a tag to compare

Document trees.
Tree constraints fixed to handle tree rotations more correctly.
New dynamically scoped style mechanism applied to trees as well.
Automatically compute fade color for repeated animations.
Renamed several methods and classes to be more concise. This is not a backward-compatible change.

Release 0.4.0

28 Jan 15:02
Compare
Choose a tag to compare

New features:

  • staged figures
  • faster constraint solving by eliminating variables
  • animated trees
  • MathJax content
  • saving and restoring styles
  • graphical objects now have a "target" point
  • objects can be placed over or under other objects
  • polygons can have rounded corners
  • curved arrowheads
  • negative space text
  • zoomed figures
  • font embedding support for PDF rendering

Bug fixes:

  • FIxed handling of vector operations
  • connectors to rounded rectangles now connect securely
  • better line label placement (this is not backward compatible, unfortunately)

Release 0.3.0

21 Apr 17:40
Compare
Choose a tag to compare

New features:

  • PDF rendering support (using jsPDF)
  • improved text formatting (TeX-style optimization, subscripts, italic, bold, ...)
  • touch support
  • opacity
  • closed curves

v0.2.0

13 Sep 15:38
Compare
Choose a tag to compare

Added support for printable diagrams and refactored Graph into its own module.

v0.1.3

18 Aug 23:43
aa0461e
Compare
Choose a tag to compare

More bug fixes to constraint solver.