(node)
| 1317 | } |
| 1318 | |
| 1319 | function getCenter(node) { |
| 1320 | var bbox = getBBox(node); |
| 1321 | var x = bbox.x + 0.5 * bbox.width; |
| 1322 | var y = bbox.y + 0.5 * bbox.height; |
| 1323 | |
| 1324 | return { x: x, y: y }; |
| 1325 | } |
| 1326 | |
| 1327 | function getScrollBarCenter(scrollBox, scrollBar) { |
| 1328 | var scrollBoxTranslate = Drawing.getTranslate(scrollBox); |
no outgoing calls
no test coverage detected
searching dependent graphs…