Releases: andrewcmyers/constrain
Releases · andrewcmyers/constrain
Release 0.6.4
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
- 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
- Bug fix to substitution solving.
- Some documentation improvements.
0.6.1
Fixed some bugs in 0.6.0 which broke various examples.
Release 0.6.0
- 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
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
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
New features:
- PDF rendering support (using jsPDF)
- improved text formatting (TeX-style optimization, subscripts, italic, bold, ...)
- touch support
- opacity
- closed curves
v0.2.0
Added support for printable diagrams and refactored Graph into its own module.
v0.1.3
More bug fixes to constraint solver.