Create beautiful diagrams just by typing notation in plain text.
disjoint
constraint on boxesopt
tab in inspector displays the objectives and constraints that apply to your diagram, as well as information about how well the optimizer was able to satisfy them.autostep
is no longer on by default. By default, you will see the initial state of a diagram, and should hit autostep
to turn it on, so it optimizes.strokeDashArray
property of any shape to a string value, following the SVG spec for stroke-dasharray
. For example: strokeDashArray: "4 1 2 3"
Polygon
and Polyline
. Example program triple in examples/shape-spec
: shape-spec.dsl
,shapes.sub
, shape-spec.sty
sqrt
, max
, min
, abs
, norm
, normsq
, vdist
, vdistsq
, rot90
to be called from Style; better support for disjoint functions (example program: roger watch graph-domain/small-graph.sub graph-domain/disjoint-rect-line-horiz.sty graph-domain/graph-theory.dsl
)ifCond
, max
, min
, etc.)VARYING_INIT(i)
(where i
is your custom value). This is helpful for testing the optimization with custom initial states. See the Style language page for more information.evalFns
for individual opt fns, and compile each opt fn