* Set label position of a given node group
(nodeGroup, cx: number, cy: number, yOffset: number)
| 538 | * Set label position of a given node group |
| 539 | */ |
| 540 | function labelPosition(nodeGroup, cx: number, cy: number, yOffset: number) { |
| 541 | tf_graph_scene |
| 542 | .selectChild(nodeGroup, 'text', Class.Node.LABEL) |
| 543 | .transition() |
| 544 | .attr('x', cx) |
| 545 | .attr('y', cy + yOffset); |
| 546 | } |
| 547 | /** |
| 548 | * Select or append/insert shape for a node and assign renderNode |
| 549 | * as the shape's data. |
no outgoing calls
no test coverage detected
searching dependent graphs…