issues
search
CANVE
/
canve-viz
CANVE visualizer UI
3
stars
1
forks
source link
Feature/40 node text
#43
Closed
danielabar
closed
8 years ago
danielabar
commented
8 years ago
display text in node is now split into lines via GraphTextService (old rules from legacy now in unit testable format)
a repeater in Node custom element iterates over the lines to generate
<tspan>
elements
bounding box is determined after all text lines for a given node are appended to body, using Aurelia's micro task queue
node calculations for radius and centering text are extracted to NodeCalculator and unit tested
Fixes #40
<tspan>
elementsFixes #40