Rename the `screenshot` command to `capture` across the codebase and documentation for consistency. Update related descriptions and references to reflect this change, enhancing clarity in the CLI usage and improving user understanding of the command's functionality. This refactor also includes adjustments in the API handling and documentation to ensure a seamless transition.
428 B
428 B
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 }