Jeff Avallone
c2d8473425
Adding node-type-specific anchor code
2014-12-14 19:13:08 -05:00
Jeff Avallone
cb9785de91
Folding _position methods into render method promises
2014-12-13 12:55:03 -05:00
Jeff Avallone
773fd5c1a6
Refactoring how _position is called to be promise-based
...
The render method now returns a promise. Once this promise is resolved,
the _position method for that node will be called (if applicable). This
promise must be resolved only after all subordinate nodes have completed
their render phase (the promise returned by subordinate node's render
method has resolved). Node that do not have subordinates can return the
result of calling terminalRender, and proxied renders only need to
return the result of calling proxy.
With this change, it is no longer necessary to explicitly position
subordinate nodes. They will already be positioned once their render
promise is resolved.
2014-12-13 09:09:58 -05:00
Jeff Avallone
f81ba6535f
Adding transform method to Base node
2014-12-10 20:28:02 -05:00
Jeff Avallone
dbcdd583ed
Removing need for separate setContainer calls
2014-12-10 19:31:07 -05:00
Jeff Avallone
521ab74723
Cleanup of path code
2014-12-10 19:09:31 -05:00
Jeff Avallone
f0c25dfc41
Simplifying code related to passing rendering through to nested node
2014-12-10 19:01:57 -05:00
Jeff Avallone
fc7032241f
Short-circuiting the render of nodes.
...
This will reduce the depth of nesting of elements (and hopefully make
final positioning easier)
2014-12-10 17:16:21 -05:00
Jeff Avallone
b13ee3add2
Removing some connecting lines
...
This is in preparation for properly aligning nodes and simplifying the
connecting lines to reduce the number of path elements required.
2014-12-10 17:13:23 -05:00
Jeff Avallone
0b85f552c3
Setting class names of nodes automatically
2014-12-10 16:57:42 -05:00
Jeff Avallone
cd11b7e6e5
Centralizing some of the layout code
2014-12-09 19:02:31 -05:00
Jeff Avallone
7ed865ecdb
Normalizing function names
2014-12-09 18:08:40 -05:00
Jeff Avallone
7ab386e7a4
Cleanup of match fragment rendering
2014-12-09 17:56:22 -05:00
Jeff Avallone
fadfaee440
Adding code to render charsets
2014-12-07 17:38:24 -05:00
Jeff Avallone
d2b96c7833
Adding code to render loop and skip paths for repetitions
...
This currently breaks the rendering and will need more work. Also need
to add labels for {a,b} syntax
2014-12-06 12:34:00 -05:00
Jeff Avallone
b364198030
Adding a MatchFragment rule
...
Also reducing the amount of object cloning that is being done
2014-12-02 21:09:20 -05:00