Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 428 Bytes

File metadata and controls

15 lines (9 loc) · 428 Bytes

dapi selection focus

Pans and zooms the canvas to fit the currently selected nodes in view, framing them with padding; the same focus node capture uses before it captures. No-op if nothing is selected (the canvas is left unchanged).

Input

None.

Output

JSON Lines, one per selected node (no output if nothing is selected):

NodeRef   // { id: number; name: string; type: string }