{
  "version": "4.0.0-unstable",
  "sourceRevision": "0204517be003ee5b5d428789e51050c258380c3a",
  "sections": [
    {
      "name": "The cytoscape factory",
      "prefix": "cytoscape",
      "sections": [
        {
          "name": "Entry point",
          "banner": "entry point",
          "fns": [
            {
              "name": "cytoscape",
              "descr": "Create a graph instance for queries, analysis, layouts and optional interactive rendering. Supply `container` to display the graph, or omit it for headless use. Initial elements and the requested layout are applied during construction.",
              "formats": [
                {
                  "descr": "Create a graph instance for queries, analysis, layouts and optional interactive rendering. Supply `container` to display the graph, or omit it for headless use. Initial elements and the requested layout are applied during construction.\n\nRendering requires WebGPU. Construction throws when `navigator.gpu` is missing; `cy.ready` rejects if adapter acquisition fails later.\n\nUse `cytoscape/headless` for CPU graph work without rendering, or `cytoscape/headless-gpu` for headless GPU algorithms and force layouts.\n\nFor typed application data, call `cytoscape<NodeData, EdgeData>(options)`. Those shapes check element data, queries, mapper fields and event targets. Without type arguments, keys remain unrestricted and reads return `unknown`. Unknown constructor options are ignored at runtime; use TypeScript's `CytoscapeOptions` to catch misspelled names.",
                  "args": [
                    {
                      "name": "options",
                      "type": "CytoscapeOptions<NoInfer<NodeData>, NoInfer<EdgeData>>",
                      "optional": true,
                      "rest": false,
                      "default": "{}",
                      "fields": [
                        {
                          "name": "container",
                          "type": "HTMLElement | null",
                          "optional": true,
                          "descr": "Where to render.  When given, WebGPU is required: the factory throws\nsynchronously if `navigator.gpu` is missing.  When omitted, the instance\nis headless (works in Node, never throws for missing GPU)."
                        },
                        {
                          "name": "elements",
                          "type": "ElementsInput<NodeData, EdgeData>",
                          "optional": true,
                          "descr": "the initial elements — typed by the instance's shapes"
                        },
                        {
                          "name": "style",
                          "type": "Stylesheet<NodeData, EdgeData>",
                          "optional": true,
                          "descr": "the stylesheet — its field references typed likewise"
                        },
                        {
                          "name": "layout",
                          "type": "LayoutOptions",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "zoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "pan",
                          "type": "Position",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "minZoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "maxZoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "autolock",
                          "type": "boolean",
                          "optional": true,
                          "descr": "disable node dragging globally (default false)"
                        },
                        {
                          "name": "autoungrabify",
                          "type": "boolean",
                          "optional": true,
                          "descr": "make all nodes ungrabbable globally (default false)"
                        },
                        {
                          "name": "autounselectify",
                          "type": "boolean",
                          "optional": true,
                          "descr": "disable selection globally (default false)"
                        },
                        {
                          "name": "panningEnabled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "allow panning at all — programmatic and user (default true)"
                        },
                        {
                          "name": "userPanningEnabled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "allow user (pointer) panning (default true)"
                        },
                        {
                          "name": "zoomingEnabled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "allow zooming at all — programmatic and user (default true)"
                        },
                        {
                          "name": "userZoomingEnabled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "allow user (wheel/pinch) zooming (default true)"
                        },
                        {
                          "name": "boxSelectionEnabled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "allow box selection (default true)"
                        },
                        {
                          "name": "boxSelectionIncludesLabels",
                          "type": "boolean",
                          "optional": true,
                          "descr": "box selection considers label boxes too (default false). Its sense follows\n`boxSelectionMode`: it narrows a 'contain' selection and widens an\n'overlap' one."
                        },
                        {
                          "name": "boxSelectionMode",
                          "type": "BoxSelectionMode",
                          "optional": true,
                          "descr": "what the box-selection gesture counts as selected: 'contain' (default)\ntakes only elements wholly inside the band; 'overlap' takes\nanything the band touches."
                        },
                        {
                          "name": "selectionType",
                          "type": "'single' | 'additive'",
                          "optional": true,
                          "descr": "'single' (tap/box replaces the selection) or 'additive' (taps toggle, boxes add); default 'single'"
                        },
                        {
                          "name": "multiClickDebounceTime",
                          "type": "number",
                          "optional": true,
                          "descr": "the dbltap/onetap debounce window in ms (default 250)"
                        },
                        {
                          "name": "wheelSensitivity",
                          "type": "number",
                          "optional": true,
                          "descr": "wheel-zoom rate multiplier (default 1; custom values warn once — a\nsensitivity tuned to one mouse/OS zooms unnaturally on others)."
                        },
                        {
                          "name": "wheelBehavior",
                          "type": "WheelBehavior",
                          "optional": true,
                          "descr": "what a wheel does: 'zoom' (default), 'pan' (ctrl/meta — the pinch —\nstill zooms) or 'modifier-zoom' (only a ctrl/meta wheel zooms; a plain\nwheel scrolls the page)."
                        },
                        {
                          "name": "desktopTapThreshold",
                          "type": "number",
                          "optional": true,
                          "descr": "css px a mouse/pen press may move and still count as a tap (default 4)."
                        },
                        {
                          "name": "touchTapThreshold",
                          "type": "number",
                          "optional": true,
                          "descr": "css px a touch press may move and still count as a tap (default 8)."
                        },
                        {
                          "name": "tapholdDuration",
                          "type": "number",
                          "optional": true,
                          "descr": "unmoved-press duration before 'taphold' fires, in ms (default 500)."
                        },
                        {
                          "name": "pointerCursors",
                          "type": "boolean | Partial<CursorMap>",
                          "optional": true,
                          "descr": "whether the canvas writes CSS cursors for the gesture affordances —\n`grab`/`grabbing` around dragging, `pointer` over an element, `crosshair`\nwhile boxing (default true).\n\n`false` means the interaction layer never touches `style.cursor`, for an\napp that sets its own; an object overrides individual entries (`{ pan:\n'move' }`), where `''` means inherit."
                        },
                        {
                          "name": "headlessWidth",
                          "type": "number",
                          "optional": true,
                          "descr": "rendered dimensions used when headless"
                        },
                        {
                          "name": "headlessHeight",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "pixelRatio",
                          "type": "number | 'auto'",
                          "optional": true,
                          "descr": "device pixel ratio override; defaults to the window's"
                        },
                        {
                          "name": "renderer",
                          "type": "RendererOptions",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "the instance options; every field is optional, and an omitted `container` is what selects headless mode"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "NodeData = Untyped, EdgeData = DefaultEdgeData<NodeData>",
                  "returnType": "Core<NodeData, EdgeData>",
                  "returns": "the new core, usable synchronously — reads and writes do not wait on the device, and a rendered instance additionally resolves `cy.ready`",
                  "examples": [
                    "const graph = cytoscape({ headless: true, elements: [{ data: { id: 'start' } }] });\nconsole.log(graph.nodes().length); // 1\ngraph.destroy();"
                  ],
                  "throws": [
                    "when `container` is given and `navigator.gpu` is missing"
                  ]
                },
                {
                  "descr": "Create a graph for queries, CPU algorithms and layouts without rendering. Use this entry on a server or whenever your application does not need a canvas. Worker execution is available where the environment supports it.\n\nInitial elements and the requested layout are applied during construction. Use `cytoscape<NodeData, EdgeData>(options)` to check application data shapes with TypeScript. Unknown constructor options are ignored at runtime.",
                  "args": [
                    {
                      "name": "options",
                      "type": "HeadlessOptions<NoInfer<NodeData>, NoInfer<EdgeData>>",
                      "optional": true,
                      "rest": false,
                      "default": "{}",
                      "fields": [
                        {
                          "name": "zoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "pan",
                          "type": "Position",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "elements",
                          "type": "ElementsInput<NodeData, EdgeData>",
                          "optional": true,
                          "descr": "the initial elements — typed by the instance's shapes"
                        },
                        {
                          "name": "style",
                          "type": "Stylesheet<NodeData, EdgeData>",
                          "optional": true,
                          "descr": "the stylesheet — its field references typed likewise"
                        },
                        {
                          "name": "layout",
                          "type": "LayoutOptions",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "minZoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "maxZoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "autolock",
                          "type": "boolean",
                          "optional": true,
                          "descr": "disable node dragging globally (default false)"
                        },
                        {
                          "name": "autoungrabify",
                          "type": "boolean",
                          "optional": true,
                          "descr": "make all nodes ungrabbable globally (default false)"
                        },
                        {
                          "name": "autounselectify",
                          "type": "boolean",
                          "optional": true,
                          "descr": "disable selection globally (default false)"
                        },
                        {
                          "name": "panningEnabled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "allow panning at all — programmatic and user (default true)"
                        },
                        {
                          "name": "zoomingEnabled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "allow zooming at all — programmatic and user (default true)"
                        },
                        {
                          "name": "selectionType",
                          "type": "'single' | 'additive'",
                          "optional": true,
                          "descr": "'single' (tap/box replaces the selection) or 'additive' (taps toggle, boxes add); default 'single'"
                        },
                        {
                          "name": "headlessWidth",
                          "type": "number",
                          "optional": true,
                          "descr": "rendered dimensions used when headless"
                        },
                        {
                          "name": "headlessHeight",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "the instance options, without the renderer- and pointer-only fields ({@link HeadlessOptions})"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "NodeData = Untyped, EdgeData = DefaultEdgeData<NodeData>",
                  "returnType": "Core<NodeData, EdgeData>",
                  "returns": "the new core",
                  "examples": [],
                  "throws": [
                    "when a `container` is given — this build has no renderer"
                  ]
                },
                {
                  "descr": "Create a headless graph that can also run GPU algorithms and GPU force layouts. This entry includes the CPU graph features of `cytoscape/headless`, but no canvas, pointer gestures or image export.\n\nInitial elements and the requested layout are applied during construction. An explicit GPU executor requires a usable WebGPU adapter. Use `cytoscape<NodeData, EdgeData>(options)` to check application data shapes with TypeScript. Unknown constructor options are ignored at runtime.",
                  "args": [
                    {
                      "name": "options",
                      "type": "HeadlessOptions<NoInfer<NodeData>, NoInfer<EdgeData>>",
                      "optional": true,
                      "rest": false,
                      "default": "{}",
                      "fields": [
                        {
                          "name": "zoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "pan",
                          "type": "Position",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "elements",
                          "type": "ElementsInput<NodeData, EdgeData>",
                          "optional": true,
                          "descr": "the initial elements — typed by the instance's shapes"
                        },
                        {
                          "name": "style",
                          "type": "Stylesheet<NodeData, EdgeData>",
                          "optional": true,
                          "descr": "the stylesheet — its field references typed likewise"
                        },
                        {
                          "name": "layout",
                          "type": "LayoutOptions",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "minZoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "maxZoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "autolock",
                          "type": "boolean",
                          "optional": true,
                          "descr": "disable node dragging globally (default false)"
                        },
                        {
                          "name": "autoungrabify",
                          "type": "boolean",
                          "optional": true,
                          "descr": "make all nodes ungrabbable globally (default false)"
                        },
                        {
                          "name": "autounselectify",
                          "type": "boolean",
                          "optional": true,
                          "descr": "disable selection globally (default false)"
                        },
                        {
                          "name": "panningEnabled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "allow panning at all — programmatic and user (default true)"
                        },
                        {
                          "name": "zoomingEnabled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "allow zooming at all — programmatic and user (default true)"
                        },
                        {
                          "name": "selectionType",
                          "type": "'single' | 'additive'",
                          "optional": true,
                          "descr": "'single' (tap/box replaces the selection) or 'additive' (taps toggle, boxes add); default 'single'"
                        },
                        {
                          "name": "headlessWidth",
                          "type": "number",
                          "optional": true,
                          "descr": "rendered dimensions used when headless"
                        },
                        {
                          "name": "headlessHeight",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "the instance options, without the renderer- and pointer-only fields ({@link HeadlessOptions})"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "NodeData = Untyped, EdgeData = DefaultEdgeData<NodeData>",
                  "returnType": "Core<NodeData, EdgeData>",
                  "returns": "the new core",
                  "examples": [],
                  "throws": [
                    "when a `container` is given — this build has no renderer"
                  ]
                }
              ],
              "returns": "the new core, usable synchronously — reads and writes do not wait on the device, and a rendered instance additionally resolves `cy.ready`",
              "throws": [
                "when `container` is given and `navigator.gpu` is missing",
                "when a `container` is given — this build has no renderer"
              ],
              "src": "src/index.mts:111",
              "recipes": [
                {
                  "title": "save graph data and recreate a core",
                  "url": "/docs/recipes/#recipes/save-graph-data-and-recreate-a-core"
                }
              ]
            },
            {
              "name": "cytoscape.toColumnarElements",
              "descr": "Convert element definitions to a compact columnar payload for bulk loading or binary serialization. Node fields use typed arrays, and edge endpoints refer to indices in the payload's node list.",
              "formats": [
                {
                  "descr": "Convert element definitions to a compact columnar payload for bulk loading or binary serialization. Node fields use typed arrays, and edge endpoints refer to indices in the payload's node list.\n\nThis form does not preserve `locked`, `grabbable` or `pannable` overrides. Pass definitions directly to the constructor when those flags must survive. Use the `refs` option to include references to nodes already in the graph.",
                  "args": [
                    {
                      "name": "defs",
                      "type": "ElementsDefinition | ElementDefinition",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "inferred from `data.source`/`data.target` when omitted"
                        },
                        {
                          "name": "data",
                          "type": "DefinitionData<Data>",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "position",
                          "type": "Position",
                          "optional": true,
                          "descr": "nodes only"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "nodes only: persisted miniature-compound state"
                        },
                        {
                          "name": "appliedCollapseScale",
                          "type": "number",
                          "optional": true,
                          "descr": "nodes only: current applied factor when collapsed; omitted uses the configured collapse-scale"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "pannable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "dragging this element pans the graph instead (default: true for edges, false for nodes)"
                        },
                        {
                          "name": "nodes",
                          "type": "ElementDefinition<NodeData>[]",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "edges",
                          "type": "ElementDefinition<EdgeData>[]",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "one element, an array, or `{ nodes, edges }`"
                    },
                    {
                      "name": "options",
                      "type": "ToColumnarOptions",
                      "optional": true,
                      "rest": false,
                      "default": "{}",
                      "fields": [
                        {
                          "name": "refs",
                          "type": "boolean",
                          "optional": true,
                          "descr": "Carry what the payload names but does not hold as **node references**\ninstead of throwing: an edge endpoint or a node parent that is not a node\nin the payload goes into the result's `refs`, indexed past its own nodes,\nto be resolved against the graph the payload loads into. This is how a\nchunk of a progressive `cy.load()` carries its cut edges in the columnar\nand wire forms. Default false: the payload must be self-contained."
                        }
                      ],
                      "descr": "`{ refs }`: carry endpoints and parents the payload does not hold as node references rather than throwing"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "ColumnarElements",
                  "returns": "the equivalent columnar payload — self-contained, or with `refs` when that option is on and something was referenced",
                  "examples": [
                    "const columns = cytoscape.toColumnarElements([{ data: { id: 'new' } }]);\nconsole.log(cy.add(columns).length); // 1"
                  ],
                  "throws": [
                    "if an edge lacks a source or target; without `refs`, also if an edge names a source or target that is not a node in the same payload — columnar payloads are self-contained unless they carry references; and on an unknown option"
                  ]
                }
              ],
              "returns": "the equivalent columnar payload — self-contained, or with `refs` when that option is on and something was referenced",
              "throws": [
                "if an edge lacks a source or target; without `refs`, also if an edge names a source or target that is not a node in the same payload — columnar payloads are self-contained unless they carry references; and on an unknown option"
              ],
              "src": "src/columnar.mts:110",
              "recipes": []
            },
            {
              "name": "cytoscape.serializeElements",
              "descr": "Serialize elements (definition form or columnar form) into one transferable/fetchable ArrayBuffer. `deserializeElements` (or passing the buffer straight to `options.elements`/`cy.add()`) reverses it.",
              "formats": [
                {
                  "descr": "Serialize elements (definition form or columnar form) into one transferable/fetchable ArrayBuffer. `deserializeElements` (or passing the buffer straight to `options.elements`/`cy.add()`) reverses it.",
                  "args": [
                    {
                      "name": "elements",
                      "type": "ElementsDefinition | ElementDefinition | ColumnarElements",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "columnar",
                          "type": "true",
                          "optional": false,
                          "descr": "discriminant so the loader can tell the forms apart"
                        },
                        {
                          "name": "nodes",
                          "type": "ElementDefinition<NodeData>[]",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "edges",
                          "type": "ElementDefinition<EdgeData>[]",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "refs",
                          "type": "string[] | PackedIds",
                          "optional": true,
                          "descr": "**Node references** (experimental with the wire format until 4.x): the\nids of nodes this payload does not carry but indexes — an edge endpoint\nor a node parent `nodes.count + i` names `refs[i]`. Each must name a node\nalready in the graph when the payload loads (an earlier chunk of a\n`cy.load()`, or anything `cy.add()` put there); one that does not throws\nbefore anything is added. Each id resolves once however many edges index\nit, which is what makes a chunk's cut edges as cheap as its own. The\nfactory's `options.elements` loads into an empty graph, so a payload with\nrefs cannot load there; `cy.patch()` refuses one. Build it from\ndefinitions with `toColumnarElements( defs, { refs: true })`."
                        },
                        {
                          "name": "data",
                          "type": "DefinitionData<Data>",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "inferred from `data.source`/`data.target` when omitted"
                        },
                        {
                          "name": "position",
                          "type": "Position",
                          "optional": true,
                          "descr": "nodes only"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "nodes only: persisted miniature-compound state"
                        },
                        {
                          "name": "appliedCollapseScale",
                          "type": "number",
                          "optional": true,
                          "descr": "nodes only: current applied factor when collapsed; omitted uses the configured collapse-scale"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "pannable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "dragging this element pans the graph instead (default: true for edges, false for nodes)"
                        }
                      ],
                      "descr": "the elements to serialize, in either accepted form; a definition-form payload is converted to columnar first. A columnar payload's optional graph-level `data` rides along; the definition form has nowhere to put it, so it carries none. Its node references (`refs`) ride too — convert definitions with `toColumnarElements( defs, { refs: true })` first to carry cut edges"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "ArrayBuffer",
                  "returns": "one little-endian ArrayBuffer holding the whole payload — fixed header, columns, and ids as a UTF-8 blob with prefix offsets. Every section starts at an offset aligned to its element width (8 for f64 columns), and that alignment is the encoder's contract: `deserializeElements` returns views over the buffer rather than copies because of it (census measured the decode at zero copies), so a reader may rely on it and a future encoder must keep it",
                  "examples": [
                    "const buffer = cytoscape.serializeElements([{ data: { id: 'new' } }]);\nconsole.log(cy.add(buffer).length); // 1"
                  ],
                  "throws": [
                    "if the platform is big-endian, or if a definition-form payload names an edge endpoint that is not a node in the same payload"
                  ]
                }
              ],
              "returns": "one little-endian ArrayBuffer holding the whole payload — fixed header, columns, and ids as a UTF-8 blob with prefix offsets. Every section starts at an offset aligned to its element width (8 for f64 columns), and that alignment is the encoder's contract: `deserializeElements` returns views over the buffer rather than copies because of it (census measured the decode at zero copies), so a reader may rely on it and a future encoder must keep it",
              "throws": [
                "if the platform is big-endian, or if a definition-form payload names an edge endpoint that is not a node in the same payload"
              ],
              "src": "src/wire.mts:149",
              "recipes": []
            },
            {
              "name": "cytoscape.deserializeElements",
              "descr": "Deserialize a `serializeElements` buffer (or a view over one) back into the columnar elements form.  Numeric columns are zero-copy views into the given buffer; a misaligned view is copied once to realign.",
              "formats": [
                {
                  "descr": "Deserialize a `serializeElements` buffer (or a view over one) back into the columnar elements form.  Numeric columns are zero-copy views into the given buffer; a misaligned view is copied once to realign.",
                  "args": [
                    {
                      "name": "input",
                      "type": "ArrayBuffer | ArrayBufferView",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "a `serializeElements` buffer, or a view over one"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "ColumnarElements",
                  "returns": "the columnar form, whose numeric columns are **views into the input** rather than copies — so the buffer must outlive the result, and writing into either is visible through the other. Graph-level `data` is the exception in two ways: it is decoded from JSON rather than viewed, and `cy.add()` deliberately ignores it (see `ColumnarElements.data`)",
                  "examples": [
                    "const payload = cytoscape.deserializeElements(cy.serialize());\nconsole.log(payload.nodes.count); // 3"
                  ],
                  "throws": [
                    "if the platform is big-endian, or the buffer is too short, truncated or of an unsupported format version"
                  ]
                }
              ],
              "returns": "the columnar form, whose numeric columns are **views into the input** rather than copies — so the buffer must outlive the result, and writing into either is visible through the other. Graph-level `data` is the exception in two ways: it is decoded from JSON rather than viewed, and `cy.add()` deliberately ignores it (see `ColumnarElements.data`)",
              "throws": [
                "if the platform is big-endian, or the buffer is too short, truncated or of an unsupported format version"
              ],
              "src": "src/wire.mts:363",
              "recipes": []
            },
            {
              "name": "cytoscape.CancelledError",
              "descr": "Thrown (as a rejection) by a cancelled run: an async algorithm whose handle's `cancel()` was called, a layout's `promise()` after `layout.cancel()`, or either when `cy.destroy()` ran while the run was in flight.  `error.name` is `'CancelledError'`, so a `.catch` can tell a cancellation from a defect without importing the class.",
              "formats": [
                {
                  "descr": "Thrown (as a rejection) by a cancelled run: an async algorithm whose handle's `cancel()` was called, a layout's `promise()` after `layout.cancel()`, or either when `cy.destroy()` ran while the run was in flight.  `error.name` is `'CancelledError'`, so a `.catch` can tell a cancellation from a defect without importing the class.",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "CancelledError",
                  "returns": null,
                  "examples": [
                    "const error = new cytoscape.CancelledError();\nconsole.log(error instanceof cytoscape.CancelledError); // true"
                  ],
                  "throws": []
                }
              ],
              "src": "src/algorithms/cancel.mts:31",
              "recipes": []
            },
            {
              "name": "cytoscape.GpuUnfitError",
              "descr": "A graph or algorithm input exceeds the GPU device's limits.",
              "formats": [
                {
                  "descr": "A graph or algorithm input exceeds the GPU device's limits.\n\nAdding, loading or patching elements on a rendered core can throw this error before changing the graph. Mounting a graph that does not fit rejects `cy.ready`.\n\nAn explicit GPU algorithm rejects with this error when its input does not fit. With `executor: 'auto'`, that algorithm falls back to the CPU instead. Other GPU errors still propagate.\n\nTest `error instanceof cytoscape.GpuUnfitError`, or check `error.name === 'GpuUnfitError'`, to distinguish this failure.",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "GpuUnfitError",
                  "returns": null,
                  "examples": [
                    "// Catch an algorithm or layout error before choosing a CPU fallback.\nconst isDeviceLimit = error => error instanceof cytoscape.GpuUnfitError;\nconsole.log(isDeviceLimit(new Error('application error'))); // false"
                  ],
                  "throws": []
                }
              ],
              "src": "src/algorithms/gpu-registry.mts:102",
              "recipes": []
            }
          ]
        }
      ]
    },
    {
      "name": "Core",
      "prefix": "cy",
      "sections": [
        {
          "name": "Lifecycle",
          "banner": "lifecycle",
          "fns": [
            {
              "name": "cy.ready",
              "descr": "Resolves once the render pipeline is usable (immediately when headless) — and, under an initial `cy.load()`, once its **first chunk is drawn** (headless, once it is in the model). Rejects when no adapter can be had.",
              "formats": [
                {
                  "descr": "Resolves once the render pipeline is usable (immediately when headless) — and, under an initial `cy.load()`, once its **first chunk is drawn** (headless, once it is in the model). Rejects when no adapter can be had.",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "Promise<Core<NodeData, EdgeData>>",
                  "returns": null,
                  "examples": [
                    "await cy.ready;\nconsole.log(cy.isReady()); // true"
                  ],
                  "throws": []
                }
              ],
              "src": "src/core.mts:194",
              "recipes": []
            }
          ]
        },
        {
          "name": "Style",
          "banner": "style",
          "fns": [
            {
              "name": "cy.style",
              "descr": "Read the style engine for this graph.",
              "formats": [
                {
                  "descr": "Read the style engine for this graph.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "StyleEngine",
                  "returns": "this graph's style engine",
                  "examples": [
                    "console.log(typeof cy.style().update); // 'function'"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get the style engine, or set the stylesheet and return it.\n\nThe sheet is a plain `{ nodes, edges, parents, core }` object of prop objects — there are no selector blocks and no style functions.  All per-element variation is declarative: mapper objects (`{ data, scale, … }`) and `case` conditionals, which is what keeps every value analyzable, serializable and GPU-evaluable.\n\nInside a batch the sheet is compiled and validated immediately (so errors still throw at the call site) but applied once at the outermost `endBatch()`.",
                  "args": [
                    {
                      "name": "sheet",
                      "type": "Stylesheet<NodeData, EdgeData>",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "nodes",
                          "type": "StyleProps<NodeData>",
                          "optional": true,
                          "descr": "node props; typed, a mapper's field is a node field"
                        },
                        {
                          "name": "edges",
                          "type": "StyleProps<EdgeData>",
                          "optional": true,
                          "descr": "edge props; typed, a mapper's field is an edge field"
                        },
                        {
                          "name": "parents",
                          "type": "StyleProps<NodeData>",
                          "optional": true,
                          "descr": "Compound-parent overlay: node props that apply to parent nodes on top of\nthe nodes group and the parent defaults (rectangle, #eee fill, 1px\n#ccc border, padding 10) — constants or mappers — plus the compound props\n`padding`, `padding-relative-to`, `min-width`, `min-height` and\n`compound-sizing-wrt-labels` (constants only; sizing is `'exclude'` by\ndefault, or `'include'` to add visible direct-child label bounds in model\nspace before padding. A parent's own label never sizes itself, and zoom\nLOD does not affect the geometry)."
                        },
                        {
                          "name": "core",
                          "type": "StyleProps",
                          "optional": true,
                          "descr": "Core (viewport-level) theming props (A2), constants only:\n`selection-box-color`/`-opacity`/`-border-color`/`-border-width` (the DOM\nselection box) and `active-bg-color`/`-opacity`/`-size` (the\nbackground-grab indicator circle) — plus `dim-opacity` (the rest of the\ngraph while `cy.emphasize()`\nis set) and `label-declutter` (`'none'`, the default, or `'cull'` — hide\neach node label that would overlap a higher-`label-priority` one)."
                        },
                        {
                          "name": "bypasses",
                          "type": "Record<string, StyleProps>",
                          "optional": true,
                          "descr": "Per-element bypasses: id → prop → constant. A bypass beats everything —\nthe user's group blocks and the default sheet's state conditionals\nincluded — and is an id-keyed *declaration* rather than\nelement state: it survives remove/re-add of its element, may name an id\nthat does not exist yet (inert until it does), and round-trips through\n`cy.json()`. Values are constants only — mappers belong in the group\nblocks — and prop keys take dash-case or camelCase like every prop\nsurface. A full `cy.style( sheet)` replaces the section like any other;\nthe `ele.style( name, value)` / `removeStyle()` methods are sugar over\nit."
                        }
                      ],
                      "descr": "the stylesheet to install"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "StyleEngine",
                  "returns": "the style engine (also reachable as the return value when setting, so calls chain)",
                  "examples": [
                    "cy.style({ nodes: { 'background-color': '#369', width: 40 } });\nconsole.log(cy.nodes().first().numericStyle('width')); // 40"
                  ],
                  "throws": [
                    "if the sheet references an unknown property or an invalid value"
                  ]
                },
                {
                  "descr": "Get the style engine, or set the stylesheet and return it.\n\nThe sheet is a plain `{ nodes, edges, parents, core }` object of prop objects — there are no selector blocks and no style functions.  All per-element variation is declarative: mapper objects (`{ data, scale, … }`) and `case` conditionals, which is what keeps every value analyzable, serializable and GPU-evaluable.\n\nInside a batch the sheet is compiled and validated immediately (so errors still throw at the call site) but applied once at the outermost `endBatch()`.",
                  "args": [
                    {
                      "name": "sheet",
                      "type": "Stylesheet<NodeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "nodes",
                          "type": "StyleProps<NodeData>",
                          "optional": true,
                          "descr": "node props; typed, a mapper's field is a node field"
                        },
                        {
                          "name": "edges",
                          "type": "StyleProps<EdgeData>",
                          "optional": true,
                          "descr": "edge props; typed, a mapper's field is an edge field"
                        },
                        {
                          "name": "parents",
                          "type": "StyleProps<NodeData>",
                          "optional": true,
                          "descr": "Compound-parent overlay: node props that apply to parent nodes on top of\nthe nodes group and the parent defaults (rectangle, #eee fill, 1px\n#ccc border, padding 10) — constants or mappers — plus the compound props\n`padding`, `padding-relative-to`, `min-width`, `min-height` and\n`compound-sizing-wrt-labels` (constants only; sizing is `'exclude'` by\ndefault, or `'include'` to add visible direct-child label bounds in model\nspace before padding. A parent's own label never sizes itself, and zoom\nLOD does not affect the geometry)."
                        },
                        {
                          "name": "core",
                          "type": "StyleProps",
                          "optional": true,
                          "descr": "Core (viewport-level) theming props (A2), constants only:\n`selection-box-color`/`-opacity`/`-border-color`/`-border-width` (the DOM\nselection box) and `active-bg-color`/`-opacity`/`-size` (the\nbackground-grab indicator circle) — plus `dim-opacity` (the rest of the\ngraph while `cy.emphasize()`\nis set) and `label-declutter` (`'none'`, the default, or `'cull'` — hide\neach node label that would overlap a higher-`label-priority` one)."
                        },
                        {
                          "name": "bypasses",
                          "type": "Record<string, StyleProps>",
                          "optional": true,
                          "descr": "Per-element bypasses: id → prop → constant. A bypass beats everything —\nthe user's group blocks and the default sheet's state conditionals\nincluded — and is an id-keyed *declaration* rather than\nelement state: it survives remove/re-add of its element, may name an id\nthat does not exist yet (inert until it does), and round-trips through\n`cy.json()`. Values are constants only — mappers belong in the group\nblocks — and prop keys take dash-case or camelCase like every prop\nsurface. A full `cy.style( sheet)` replaces the section like any other;\nthe `ele.style( name, value)` / `removeStyle()` methods are sugar over\nit."
                        }
                      ],
                      "descr": "the stylesheet to install; omit to read the engine"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "StyleEngine",
                  "returns": "the style engine (also reachable as the return value when setting, so calls chain)",
                  "examples": [
                    "cy.style({ nodes: { 'background-color': '#369', width: 40 } });\nconsole.log(cy.nodes().first().numericStyle('width')); // 40"
                  ],
                  "throws": [
                    "if the sheet references an unknown property or an invalid value"
                  ]
                }
              ],
              "returns": "this graph's style engine",
              "throws": [
                "if the sheet references an unknown property or an invalid value"
              ],
              "src": "src/core.mts:492",
              "recipes": [
                {
                  "title": "add and style a neighbourhood",
                  "url": "/docs/recipes/#recipes/add-and-style-a-neighbourhood"
                }
              ]
            },
            {
              "name": "cy.legend",
              "descr": "Read the application's shared mapping and chart metadata. The returned JSON object is detached; changing it never alters this instance. Automatic domains expose their authored `auto` stops in the stylesheet and their current numeric stops here. `legendchange` fires after a committed snapshot changes, before `batchend` for a batch.",
              "formats": [
                {
                  "descr": "Read the application's shared mapping and chart metadata. The returned JSON object is detached; changing it never alters this instance. Automatic domains expose their authored `auto` stops in the stylesheet and their current numeric stops here. `legendchange` fires after a committed snapshot changes, before `batchend` for a batch.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Legend",
                  "returns": "detached legend entries in stylesheet definition/property order",
                  "examples": [
                    "console.log(cy.legend().entries.length); // 0"
                  ],
                  "throws": []
                }
              ],
              "returns": "detached legend entries in stylesheet definition/property order",
              "src": "src/core.mts:572",
              "recipes": []
            }
          ]
        },
        {
          "name": "Batching",
          "banner": "batching",
          "fns": [
            {
              "name": "cy.compact",
              "descr": "Reclaim unused storage after removing many elements. Existing element handles, listeners and drawing order are preserved.",
              "formats": [
                {
                  "descr": "Reclaim unused storage after removing many elements. Existing element handles, listeners and drawing order are preserved.\n\nCompaction normally happens automatically. Call this method to choose when its work occurs, for example after a bulk removal. It throws during a batch and defers with a warning while a GPU force layout is running.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": null,
                  "examples": [
                    "cy.remove(cy.getElementById('c'));\ncy.compact();\nconsole.log(cy.nodes().map(node => node.id())); // ['a', 'b']"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.gc"
              ],
              "src": "src/core.mts:643",
              "recipes": []
            },
            {
              "name": "cy.startBatch",
              "descr": "Open a batch: defer style application until the matching `endBatch()`. Pairs nest — only the outermost `endBatch()` flushes. Prefer `batch( fn)`, which cannot leak a depth on an exception.",
              "formats": [
                {
                  "descr": "Open a batch: defer style application until the matching `endBatch()`. Pairs nest — only the outermost `endBatch()` flushes. Prefer `batch( fn)`, which cannot leak a depth on an exception.\n\nThe outermost open is a **transaction** and fires **`batchstart`** on the core — before any of the batch's mutations, with `batching()` already true, so a listener sees the state the transaction starts from (the place to take an undo snapshot) and anything it mutates belongs to the transaction. A nested open fires nothing.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.startBatch();\ntry { cy.getElementById('a').data('score', 5); }\nfinally { cy.endBatch(); }\nconsole.log(cy.getElementById('a').data('score')); // 5"
                  ],
                  "throws": []
                }
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:705",
              "recipes": []
            },
            {
              "name": "cy.endBatch",
              "descr": "Close a batch. Only the outermost close applies deferred styles and fires `batchend`. After that event, style reads reflect the completed batch. Nested closes and calls without an open batch do nothing.",
              "formats": [
                {
                  "descr": "Close a batch. Only the outermost close applies deferred styles and fires `batchend`. After that event, style reads reflect the completed batch. Nested closes and calls without an open batch do nothing.\n\n`batchend` follows all element events and any `patch` summary produced by the batch. It carries no diff: listen to the events between `batchstart` and `batchend` to collect the changes.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.startBatch();\ncy.getElementById('a').data('score', 5);\ncy.endBatch();\nconsole.log(cy.getElementById('a').data('score')); // 5"
                  ],
                  "throws": []
                }
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:726",
              "recipes": []
            },
            {
              "name": "cy.batch",
              "descr": "Run `fn` inside a `startBatch()`/`endBatch()` pair. The batch closes even if `fn` throws, so this is the form to prefer. As the outermost pair it is one transaction, `batchstart` … `batchend`; there is no rollback, so a throwing `fn` still ends in `batchend`, with the mutations that landed before the throw.",
              "formats": [
                {
                  "descr": "Run `fn` inside a `startBatch()`/`endBatch()` pair. The batch closes even if `fn` throws, so this is the form to prefer. As the outermost pair it is one transaction, `batchstart` … `batchend`; there is no rollback, so a throwing `fn` still ends in `batchend`, with the mutations that landed before the throw.",
                  "args": [
                    {
                      "name": "fn",
                      "type": "() => void",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the mutations to batch; its return value is discarded"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.batch(() => { cy.nodes().unselect(); cy.getElementById('a').select(); });\nconsole.log(cy.getElementById('a').selected()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:743",
              "recipes": [
                {
                  "title": "add and style a neighbourhood",
                  "url": "/docs/recipes/#recipes/add-and-style-a-neighbourhood"
                }
              ]
            }
          ]
        },
        {
          "name": "Layout",
          "banner": "layout",
          "fns": [
            {
              "name": "cy.layout",
              "descr": "Make a layout over the whole graph. The layout does not run until you call `.run()` on it.",
              "formats": [
                {
                  "descr": "Make a layout over the whole graph. The layout does not run until you call `.run()` on it.\n\nBuilt-ins: `grid`, `preset`, `circle`, `concentric`, `breadthfirst`, `random`, `radial`, `pack`, `force` (the GPU-capable spring–electric layout) and `flow` (the layered layout) — the set `schemas/layout-options.schema.json` describes. An external layout is passed **directly** rather than registered — without a string registry — by giving `impl`: a class or object implementing `{ run( ctx), stop?() }` (see `layout/contract.mts` for the `LayoutContext` it receives).\n\nLifecycle events (`layoutstart`/`layoutready`/`layoutstop`) fire on the core, once per run; layout instances are not emitters.",
                  "args": [
                    {
                      "name": "options",
                      "type": "LayoutOptions",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "name",
                          "type": "undefined",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "avoidOverlap",
                          "type": "boolean",
                          "optional": true,
                          "descr": "separate nodes by their extents (default true) — bodies, plus\nlabels when `nodeDimensionsIncludeLabels` is true (114.6);\nfalse places points, `nodeSep` / `rankSep` then centre to centre"
                        },
                        {
                          "name": "avoidOverlapPadding",
                          "type": "number",
                          "optional": true,
                          "descr": "extra room around each body (default 0 — `nodeSep` and `rankSep`\nown the spacing)"
                        },
                        {
                          "name": "condense",
                          "type": "boolean",
                          "optional": true,
                          "descr": "size the rings by their nodes rather than by the box (125.3,\ngrid's spelling): every ring takes the smallest radius that\nclears its own nodes and the ring inside it at\n`avoidOverlapPadding`, so the gap is the option and the viewport\nonly centres.  Off (the default), the rings start at an even share\nof the box's shorter side (or `levelSpacing`) and only grow from\nthere.  Implies `avoidOverlap`."
                        },
                        {
                          "name": "rows",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "cols",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "position",
                          "type": "(node: unknown) => { row?: number; col?: number } | undefined",
                          "optional": true,
                          "descr": "returns a fixed { row, col } for a node handle"
                        },
                        {
                          "name": "sort",
                          "type": "LayoutSortMapping | ((a: unknown, b: unknown) => number)",
                          "optional": true,
                          "descr": "the order around the circle: a `{ data, order? }` sort mapping\n(canonical, serializable — 85.3) or a comparator over node handles"
                        },
                        {
                          "name": "eles",
                          "type": "unknown",
                          "optional": true,
                          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
                        },
                        {
                          "name": "fit",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "padding",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "boundingBox",
                          "type": "BoundingBoxInput",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "nodeDimensionsIncludeLabels",
                          "type": "boolean",
                          "optional": true,
                          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
                        },
                        {
                          "name": "spacingFactor",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "transform",
                          "type": "(node: unknown, position: Position) => Position",
                          "optional": true,
                          "descr": "transform a computed position (e.g. to flip an axis)"
                        },
                        {
                          "name": "animate",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether to animate node positions into place"
                        },
                        {
                          "name": "animationDuration",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "animationEasing",
                          "type": "string",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "animateFilter",
                          "type": "(node: unknown, i: number) => boolean",
                          "optional": true,
                          "descr": "which nodes animate (others jump); all by default"
                        },
                        {
                          "name": "ready",
                          "type": "() => void",
                          "optional": true,
                          "descr": "callback on layoutready"
                        },
                        {
                          "name": "stop",
                          "type": "() => void",
                          "optional": true,
                          "descr": "callback on layoutstop"
                        },
                        {
                          "name": "zoom",
                          "type": "number",
                          "optional": true,
                          "descr": "zoom to set when fit is false"
                        },
                        {
                          "name": "pan",
                          "type": "Position",
                          "optional": true,
                          "descr": "pan to set when fit is false"
                        },
                        {
                          "name": "packComponents",
                          "type": "boolean",
                          "optional": true,
                          "descr": "lay each disconnected component out on its own — one ring, one\ngrid, one tree per component — and shelf-pack the results largest\nfirst (default false: one drawing about one centre).  Locked\nnodes are left out and the packed field is moved off their boxes."
                        },
                        {
                          "name": "componentSpacing",
                          "type": "number",
                          "optional": true,
                          "descr": "the gap between packed disconnected components (default 40)"
                        },
                        {
                          "name": "componentGroup",
                          "type": "( component: LayoutComponentInfo, ) => string | number | null | undefined",
                          "optional": true,
                          "descr": "group the packed components (121.1): called once per component\nwith its description, and the components sharing a key pack on\ntheir own, the groups standing in a row left to right by key —\nnumbers ascending, then strings, then the unkeyed."
                        },
                        {
                          "name": "componentOrder",
                          "type": "(a: LayoutComponentInfo, b: LayoutComponentInfo) => number",
                          "optional": true,
                          "descr": "the order the pack lays components out in, a comparator over two\ndescriptions ahead of largest-first (121.1)."
                        },
                        {
                          "name": "groupSpacing",
                          "type": "number",
                          "optional": true,
                          "descr": "the gap between the groups' packed boxes (default three\n`componentSpacing`s)"
                        },
                        {
                          "name": "positions",
                          "type": "| Record<string, Position> | ((node: unknown) => Position | null | undefined)",
                          "optional": true,
                          "descr": "node id → position map, or a function of a node handle; absent nodes keep their position"
                        },
                        {
                          "name": "radius",
                          "type": "number",
                          "optional": true,
                          "descr": "the circle's radius (computed when omitted)"
                        },
                        {
                          "name": "startAngle",
                          "type": "number",
                          "optional": true,
                          "descr": "where the sweep begins, in radians (default 3π/2 — up)"
                        },
                        {
                          "name": "sweep",
                          "type": "number",
                          "optional": true,
                          "descr": "the total angle the trees share, in radians (default 2π)"
                        },
                        {
                          "name": "clockwise",
                          "type": "boolean",
                          "optional": true,
                          "descr": "wedge order runs clockwise (default true)"
                        },
                        {
                          "name": "counterclockwise",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "equidistant",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether levels are an equal radial distance apart"
                        },
                        {
                          "name": "minNodeSpacing",
                          "type": "number",
                          "optional": true,
                          "descr": "min spacing between node outsides (radius adjustment)"
                        },
                        {
                          "name": "height",
                          "type": "number",
                          "optional": true,
                          "descr": "height/width of the layout area (override the container)"
                        },
                        {
                          "name": "width",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "concentric",
                          "type": "LayoutScoreMapping | ((node: unknown) => number)",
                          "optional": true,
                          "descr": "the score deciding ring membership — higher sits closer to the\ncenter (default: degree).  A `{ data, … }` score mapping\n(canonical, serializable — 85.3) or a function of the node handle"
                        },
                        {
                          "name": "levelWidth",
                          "type": "(nodes: unknown) => number",
                          "optional": true,
                          "descr": "the variation of concentric values per level (default: maxDegree / 4)"
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the tree is directed downwards (default false)"
                        },
                        {
                          "name": "direction",
                          "type": "'downward' | 'upward' | 'leftward' | 'rightward'",
                          "optional": true,
                          "descr": "drawing direction of the flow (default 'downward')"
                        },
                        {
                          "name": "circle",
                          "type": "boolean",
                          "optional": true,
                          "descr": "put depths in concentric circles instead of rows"
                        },
                        {
                          "name": "grid",
                          "type": "boolean",
                          "optional": true,
                          "descr": "place the DAG on an even grid (circle: false only)"
                        },
                        {
                          "name": "roots",
                          "type": "unknown",
                          "optional": true,
                          "descr": "the tree roots: a collection or an array of node ids (never a\nselector string); omitted, a component's roots are the nodes with\nno incoming edge (125.3 — radial is a hierarchy's picture), or its\nmaximum-degree nodes when it has none (a cycle) — maximum degree\nalone before 125.3"
                        },
                        {
                          "name": "depthSort",
                          "type": "LayoutSortMapping | ((a: unknown, b: unknown) => number)",
                          "optional": true,
                          "descr": "the order within a depth: a `{ data, order? }` sort mapping\n(canonical, serializable — 85.3) or a comparator over node handles"
                        },
                        {
                          "name": "maximal",
                          "type": "boolean",
                          "optional": true,
                          "descr": "shift nodes down to their maximal depths (DAGs only)"
                        },
                        {
                          "name": "acyclic",
                          "type": "boolean",
                          "optional": true,
                          "descr": "the graph is known acyclic: skip cycle removal (default false)"
                        },
                        {
                          "name": "seed",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "levelSpacing",
                          "type": "number",
                          "optional": true,
                          "descr": "the ring gap in model px; derived from the bounding box unset.\nA floor under `avoidOverlap`: a ring grows past it when its nodes\nwould otherwise touch"
                        },
                        {
                          "name": "weight",
                          "type": "'leaves' | 'subtree'",
                          "optional": true,
                          "descr": "what sizes a subtree's wedge: its leaf count (default) or its\nwhole node count"
                        },
                        {
                          "name": "edgeLength",
                          "type": "number | LayoutScoreMapping | ((edge: unknown) => number)",
                          "optional": true,
                          "descr": "ideal edge length: a number; a `{ data, scale?, range?, invert?,\ndefault? }` score mapping (canonical, serializable — 85.3, e.g.\n`{ data: 'score', scale: 'log', range: [40, 200], invert: true }`\nfor large scores → short edges); or a plain fn of the edge handle.\nResolved once at start either way"
                        },
                        {
                          "name": "repulsion",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "stiffness",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "gravity",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "decay",
                          "type": "number",
                          "optional": true,
                          "descr": "alpha annealing rate per iteration"
                        },
                        {
                          "name": "iterations",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "threshold",
                          "type": "number",
                          "optional": true,
                          "descr": "convergence: settled when max displacement stays under this"
                        },
                        {
                          "name": "randomize",
                          "type": "boolean",
                          "optional": true,
                          "descr": "fresh seeded scatter (default) vs relaxing current positions"
                        },
                        {
                          "name": "animateLive",
                          "type": "boolean",
                          "optional": true,
                          "descr": "stream the run: positions land per frame while the sim runs (the\npre-114 `animate: true`); takes precedence over `animate`"
                        },
                        {
                          "name": "infinite",
                          "type": "boolean",
                          "optional": true,
                          "descr": "the run has no end of its own (118.3): it streams like\n`animateLive` and then ticks only while the field is moving — at\nrest it costs nothing, and a drag, a `position()` write or an\nadded / removed element (whole-graph scope) heats it back up; the\ngrabbed node is pinned for the gesture and its neighbourhood\nreflows around it.  `layout.stop()` ends it, landing the positions\nas they stand — no separation pass, no re-pack, no fit and no\ntween.  `avoidOverlap` therefore means the per-tick sweep\n(`'sim'`); `iterations` is ignored; `layout.reheat()` is the\nhandle for a change the run cannot see"
                        },
                        {
                          "name": "stepsPerFrame",
                          "type": "number",
                          "optional": true,
                          "descr": "iterations per animation frame (animateLive: true; default 3)"
                        },
                        {
                          "name": "executor",
                          "type": "'auto' | 'cpu' | 'gpu' | 'workers'",
                          "optional": true,
                          "descr": "where the simulation runs (default `'auto'`): `'auto'` takes the GPU\nintegrator where the renderer offers one, else the CPU simulation on a\nworker that loaded this same bundle wherever one can be constructed —\nheadless included, so a Node process keeps its event loop free as a page\nkeeps its UI thread (the run is then asynchronous: positions at\n`layoutstop` / `promise()`) — else in-thread. `'cpu'` is the in-thread\nreference (bit-reproducible; the worker answers the same bits) and the\nsynchronous spelling; `'workers'` asks for the worker and throws at start\nwhere none can be constructed; `'gpu'` throws at start where no\nintegrator is available"
                        },
                        {
                          "name": "init",
                          "type": "'spectral' | 'scatter'",
                          "optional": true,
                          "descr": "what a fresh placement is (59.4): 'spectral' (the default —\nlandmark-MDS per component, the global untangling) or 'scatter'\n(the plain seeded scatter).  Ignored under `randomize: false`."
                        },
                        {
                          "name": "nestingFactor",
                          "type": "number",
                          "optional": true,
                          "descr": "ideal-length multiplier per compound boundary an edge spans\n(length × levels × nestingFactor; default 1.2)"
                        },
                        {
                          "name": "gravityCompound",
                          "type": "number",
                          "optional": true,
                          "descr": "the compound centroid pull, as a multiple of `gravity` (59.5;\nthe Bilkent line's gravityCompound — default 1.5)"
                        },
                        {
                          "name": "alignment",
                          "type": "{ horizontal?: string[][]; vertical?: string[][] }",
                          "optional": true,
                          "descr": "alignment constraints (85.2, fcose's shape): `horizontal` groups\nshare a y coordinate, `vertical` groups an x — id arrays,\nserializable; groups sharing a node merge.  A locked member pins\nits group.  Constrained runs take the CPU executor."
                        },
                        {
                          "name": "relativePlacement",
                          "type": "( | { left: string; right: string; gap?: number } | { top: string; bottom: string; gap?: number } )[]",
                          "optional": true,
                          "descr": "relative-placement constraints (85.2): keep `left` at least\n`gap` px left of `right` (`top`/`bottom` likewise vertically);\n`gap` defaults to the run's mean ideal edge length."
                        },
                        {
                          "name": "nodeSep",
                          "type": "number",
                          "optional": true,
                          "descr": "px gap between adjacent nodes in a rank (default 50): between\ntheir boxes' facing sides, each node's own extent on that side\n(125.2 — a label hung to one side of its body extends that side\nalone), and along the rank's axis for the direction (a rightward\nrank is separated by heights)"
                        },
                        {
                          "name": "rankSep",
                          "type": "number",
                          "optional": true,
                          "descr": "px gap between rank rows (default 60): a row reaches as far\nfrom its centre line as its nodes' extents on each side, and a\ntaxi edge's turn lands inside this band, which the layout keeps\nnode-free"
                        },
                        {
                          "name": "edgeSep",
                          "type": "number",
                          "optional": true,
                          "descr": "px per taxi track a rank gap grows to hold (default 10, round\n124.5): the gap below a rank becomes `max(rankSep, tracks ×\nedgeSep + 20)`, where `tracks` is how many of that rank's fan-outs\noverlap on one line — the lines `taxi-turn: auto` draws; 0 leaves\nevery gap at `rankSep`"
                        },
                        {
                          "name": "layering",
                          "type": "'network-simplex' | 'longest-path' | 'auto'",
                          "optional": true,
                          "descr": "rank assignment: 'network-simplex' (GKNV — fewest long edges,\ndefault), 'longest-path' (O(V+E), the huge-graph fast path), or\n'auto' (simplex up to ~50k nodes, then longest-path)"
                        },
                        {
                          "name": "thoroughness",
                          "type": "number",
                          "optional": true,
                          "descr": "crossing-minimization effort, 1..10 (default 7): scales the\nsweep and transpose budgets"
                        },
                        {
                          "name": "minLength",
                          "type": "number | LayoutScoreMapping | ((edge: unknown) => number)",
                          "optional": true,
                          "descr": "minimum ranks an edge must span (default 1): a number, a\n`{ data, … }` score mapping (85.3), or a fn of the edge handle"
                        },
                        {
                          "name": "edgeWeight",
                          "type": "number | LayoutScoreMapping | ((edge: unknown) => number)",
                          "optional": true,
                          "descr": "edge straightening weight (default 1): heavier edges pull\nstraighter through crossing minimization and coordinates — a\nnumber, a score mapping, or a fn of the edge handle"
                        },
                        {
                          "name": "cycleRemoval",
                          "type": "'greedy' | 'dfs'",
                          "optional": true,
                          "descr": "which arcs flip on cycles: 'greedy' (Eades–Lin–Smyth bound,\ndefault) or 'dfs' (input order dominates)"
                        },
                        {
                          "name": "rankConstraints",
                          "type": "{ min?: string[]; max?: string[]; same?: string[][] }",
                          "optional": true,
                          "descr": "rank constraints as id lists (never selector strings): `min`\npins to the first rank, `max` to the last, each `same` group to\none shared rank"
                        },
                        {
                          "name": "impl",
                          "type": "unknown",
                          "optional": false,
                          "descr": ""
                        }
                      ],
                      "descr": "`{ name }` for a built-in or `{ impl }` for an extension, plus that layout's own options and the shared `layoutPositions` plumbing (`animate`, `spacingFactor`, `transform`, `fit`, `padding`, …)"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Layout",
                  "returns": "the layout instance, unstarted",
                  "examples": [
                    "const handle = cy.layout({ name: 'grid', fit: false });\nhandle.run();\nconsole.log(cy.nodes().length); // 3"
                  ],
                  "throws": [
                    "if neither a known `name` nor an `impl` is given"
                  ]
                }
              ],
              "pureAliases": [
                "cy.makeLayout",
                "cy.createLayout"
              ],
              "returns": "the layout instance, unstarted",
              "throws": [
                "if neither a known `name` nor an `impl` is given"
              ],
              "see": [
                "Collection#layout to lay out a subset"
              ],
              "src": "src/core.mts:786",
              "recipes": []
            }
          ]
        },
        {
          "name": "Graph manipulation",
          "banner": "graph manipulation",
          "fns": [
            {
              "name": "cy.add",
              "descr": "Add elements to the graph and return them as a collection.",
              "formats": [
                {
                  "descr": "Add elements to the graph and return them as a collection.\n\nTakes all three input forms: the element-definition form (one object, an array, or `{ nodes, edges }`), the columnar bulk form (typed-array columns with edge endpoints as node *indices*), and the binary wire buffer produced by `serializeElements`/`cy.serialize()`. Nodes are added before edges, so an edge may reference a node added in the same call. Wire and columnar inputs may carry miniature state with current positions; adding them does not rescale those coordinates.\n\nFires `add` per element. Inside a batch the first style application of the new elements defers to the outermost `endBatch()`, so style-derived reads (`width()`, `label()`) may be stale until then.\n\n**Graph-level `data()` in a wire buffer is ignored here**, where `options.elements` applies it: adding elements to a populated graph must not overwrite that graph's own `data()`. Apply it explicitly with `cy.data( deserializeElements( buf).data)` if that is what you want.\n\n**Any iterable of element definitions** is accepted too — a generator, a `Set`, a `Map`'s `values()` — and is read once into an array, then added exactly as that array would be. A wire buffer's typed-array view is iterable as well, and is decoded as a wire payload, never walked as definitions.",
                  "args": [
                    {
                      "name": "input",
                      "type": "| ElementsInput<NodeData, EdgeData> | Iterable<ElementDefinition<NodeData | EdgeData>>",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "columnar",
                          "type": "true",
                          "optional": false,
                          "descr": "discriminant so the loader can tell the forms apart"
                        },
                        {
                          "name": "nodes",
                          "type": "ElementDefinition<NodeData>[]",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "edges",
                          "type": "ElementDefinition<EdgeData>[]",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "refs",
                          "type": "string[] | PackedIds",
                          "optional": true,
                          "descr": "**Node references** (experimental with the wire format until 4.x): the\nids of nodes this payload does not carry but indexes — an edge endpoint\nor a node parent `nodes.count + i` names `refs[i]`. Each must name a node\nalready in the graph when the payload loads (an earlier chunk of a\n`cy.load()`, or anything `cy.add()` put there); one that does not throws\nbefore anything is added. Each id resolves once however many edges index\nit, which is what makes a chunk's cut edges as cheap as its own. The\nfactory's `options.elements` loads into an empty graph, so a payload with\nrefs cannot load there; `cy.patch()` refuses one. Build it from\ndefinitions with `toColumnarElements( defs, { refs: true })`."
                        },
                        {
                          "name": "data",
                          "type": "DefinitionData<Data>",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "inferred from `data.source`/`data.target` when omitted"
                        },
                        {
                          "name": "position",
                          "type": "Position",
                          "optional": true,
                          "descr": "nodes only"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "nodes only: persisted miniature-compound state"
                        },
                        {
                          "name": "appliedCollapseScale",
                          "type": "number",
                          "optional": true,
                          "descr": "nodes only: current applied factor when collapsed; omitted uses the configured collapse-scale"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "pannable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "dragging this element pans the graph instead (default: true for edges, false for nodes)"
                        }
                      ],
                      "descr": "elements in definition, columnar or wire form, or an iterable of element definitions"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "a collection of the added elements",
                  "examples": [
                    "const added = cy.add([\n  { data: { id: 'd' } },\n  { data: { id: 'cd', source: 'c', target: 'd' } },\n]);\nconsole.log(added.length); // 2"
                  ],
                  "throws": [
                    "if `input` is a collection: removed elements cannot be restored (MIGRATING.md, \"Removed elements are terminally dead\") — add the definitions you kept, e.g. from `eles.jsons()` taken before the removal"
                  ]
                }
              ],
              "returns": "a collection of the added elements",
              "throws": [
                "if `input` is a collection: removed elements cannot be restored (MIGRATING.md, \"Removed elements are terminally dead\") — add the definitions you kept, e.g. from `eles.jsons()` taken before the removal"
              ],
              "src": "src/core.mts:835",
              "recipes": [
                {
                  "title": "add and style a neighbourhood",
                  "url": "/docs/recipes/#recipes/add-and-style-a-neighbourhood"
                }
              ]
            },
            {
              "name": "cy.remove",
              "descr": "Remove elements from the graph.  Removing a node removes its connected edges, and removing a compound parent removes its descendants.  Equivalent to `eles.remove()`.",
              "formats": [
                {
                  "descr": "Remove elements from the graph.  Removing a node removes its connected edges, and removing a compound parent removes its descendants.  Equivalent to `eles.remove()`.",
                  "args": [
                    {
                      "name": "eles",
                      "type": "Collection<NodeData, EdgeData, Data>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the elements to remove"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "Data",
                  "returnType": "Collection<NodeData, EdgeData, Data>",
                  "returns": "the removed elements",
                  "examples": [
                    "cy.remove(cy.getElementById('c'));\nconsole.log(cy.hasElementWithId('c')); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "the removed elements",
              "src": "src/core.mts:878",
              "recipes": []
            },
            {
              "name": "cy.patch",
              "descr": "Reconcile a fresh payload into the live graph **by id**: the payload is the next state of the *same* graph — the next query result, a server's refresh — and the patch computes what to add, remove and update, applies it as one batch, and returns what it did. A surviving element keeps selection, bypasses, running animations, listeners and scratch. Position follows the payload when carried; miniature state and its applied factor are adopted together with those current positions. The sheet, viewport and graph-level `data()` are never touched — elements only.",
              "formats": [
                {
                  "descr": "Reconcile a fresh payload into the live graph **by id**: the payload is the next state of the *same* graph — the next query result, a server's refresh — and the patch computes what to add, remove and update, applies it as one batch, and returns what it did. A surviving element keeps selection, bypasses, running animations, listeners and scratch. Position follows the payload when carried; miniature state and its applied factor are adopted together with those current positions. The sheet, viewport and graph-level `data()` are never touched — elements only.\n\n`cy.json()` is export-only; use a fresh core to restore a serialized session. `patch()` updates an existing graph. It reconciles a data refresh, and it takes all three input forms — definition, columnar and wire — through the load path's one funnel.\n\nThe rules, per payload element, keyed on its id: - **Survives** when the graph holds the id in the same group (and, for an edge, the same source and target). Its data record is **replaced**, not deep-merged: a key the payload element lacks is cleared, and a value compares structurally, so a fresh payload equal to the state changes nothing. Its position is written when the payload carries one and kept when it does not — except that a locked node (or every node, under `autolock`) holds its position and a compound parent's derives from its children, as at load. Its parent follows the payload (none means an orphan). Its miniature state follows when carried; the payload's applied factor is installed without rescaling its already-current positions. Its selection and `selectable`/`locked`/`grabbable`/`pannable` flags are session state and are never read from the payload. - **Added** when the id is new, and when the payload element has no id — exactly as `cy.add()` would add it, flags included. - **Removed and re-added** when an edge's source or target changed identity (rewiring is not a patch), or when the id changed group. - **Removed** when the graph holds an id the payload does not name — in `'reconcile'` mode, the default. In `'merge'` mode it is kept, and a definition-form payload may name kept nodes as endpoints and parents. Removal cascades as `remove()` does.\n\nEvents: `remove`, `add`, `moveout` + `move` (a reparented survivor), `data`, `position`, and committed `collapse`/`expand` state changes fire once per element, inside the batch and after every mutation has landed; then one core-level **`patch`** event carries the diff as `event.diff` — for an app that only wants the summary. A patch whose payload equals the state fires no element event, writes nothing and returns an empty diff (its `patch` event still fires). The patch is one transaction: `batchstart`, the element events, `patch`, then `batchend`; inside an app's batch it joins that one, and `patch` fires before the app's `batchend`.",
                  "args": [
                    {
                      "name": "input",
                      "type": "ElementsInput<NodeData, EdgeData>",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "columnar",
                          "type": "true",
                          "optional": false,
                          "descr": "discriminant so the loader can tell the forms apart"
                        },
                        {
                          "name": "nodes",
                          "type": "ElementDefinition<NodeData>[]",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "edges",
                          "type": "ElementDefinition<EdgeData>[]",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "refs",
                          "type": "string[] | PackedIds",
                          "optional": true,
                          "descr": "**Node references** (experimental with the wire format until 4.x): the\nids of nodes this payload does not carry but indexes — an edge endpoint\nor a node parent `nodes.count + i` names `refs[i]`. Each must name a node\nalready in the graph when the payload loads (an earlier chunk of a\n`cy.load()`, or anything `cy.add()` put there); one that does not throws\nbefore anything is added. Each id resolves once however many edges index\nit, which is what makes a chunk's cut edges as cheap as its own. The\nfactory's `options.elements` loads into an empty graph, so a payload with\nrefs cannot load there; `cy.patch()` refuses one. Build it from\ndefinitions with `toColumnarElements( defs, { refs: true })`."
                        },
                        {
                          "name": "data",
                          "type": "DefinitionData<Data>",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "inferred from `data.source`/`data.target` when omitted"
                        },
                        {
                          "name": "position",
                          "type": "Position",
                          "optional": true,
                          "descr": "nodes only"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "nodes only: persisted miniature-compound state"
                        },
                        {
                          "name": "appliedCollapseScale",
                          "type": "number",
                          "optional": true,
                          "descr": "nodes only: current applied factor when collapsed; omitted uses the configured collapse-scale"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "pannable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "dragging this element pans the graph instead (default: true for edges, false for nodes)"
                        }
                      ],
                      "descr": "the payload, in definition, columnar or wire form"
                    },
                    {
                      "name": "options",
                      "type": "PatchOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "mode",
                          "type": "PatchMode",
                          "optional": true,
                          "descr": "`'reconcile'` (the default): the payload is the new state, and a live\nelement it does not name is removed.  `'merge'`: the payload is a set\nof upserts, and a live element it does not name is kept — a\ndefinition-form payload may then name kept nodes as endpoints and\nparents."
                        }
                      ],
                      "descr": "`{ mode }`: `'reconcile'` (default) or `'merge'`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "PatchDiff<NodeData, EdgeData>",
                  "returns": "the diff: the `added`, `removed` and `updated` collections",
                  "examples": [
                    "cy.patch([{ data: { id: 'a', score: 10 } }]);\nconsole.log(cy.getElementById('a').data('score')); // 10"
                  ],
                  "throws": [
                    "before anything is mutated, if the payload names an id twice, if an edge lacks a source or target or names one that is not a node (in the payload, or — merge mode — in the graph), if a column does not fit the payload's counts, or on an unknown option or mode"
                  ]
                }
              ],
              "returns": "the diff: the `added`, `removed` and `updated` collections",
              "throws": [
                "before anything is mutated, if the payload names an id twice, if an edge lacks a source or target or names one that is not a node (in the payload, or — merge mode — in the graph), if a column does not fit the payload's counts, or on an unknown option or mode"
              ],
              "src": "src/core.mts:943",
              "recipes": []
            },
            {
              "name": "cy.load",
              "descr": "**Progressive ingest**: load the graph chunk by chunk from an async iterable — a streamed response, a server's pages — and show a correct partial graph before the last byte arrives. Each chunk is any input form (definition, columnar or wire); a chunk may name nodes an earlier chunk loaded — by id in the definition form, and through node references (`refs`) in the columnar and wire forms, which is what keeps a chunk's cut edges as cheap as its own. A plain iterable (an array of chunks) works too.",
              "formats": [
                {
                  "descr": "**Progressive ingest**: load the graph chunk by chunk from an async iterable — a streamed response, a server's pages — and show a correct partial graph before the last byte arrives. Each chunk is any input form (definition, columnar or wire); a chunk may name nodes an earlier chunk loaded — by id in the definition form, and through node references (`refs`) in the columnar and wire forms, which is what keeps a chunk's cut edges as cheap as its own. A plain iterable (an array of chunks) works too.\n\nEvery chunk lands through the bulk load path — one bulk style pass, no per-element handle — and the renderer gets a turn between chunks, even when the source hands them over synchronously; the second chunk is not asked for until the first is drawn. **Every element drawn is correct; completeness arrives** — a frame may show some of the graph, never a wrong piece of it.\n\n**An initial load** — one that starts on an instance holding no elements, the streamed counterpart of `options.elements` — holds **`cy.ready` until its first chunk is drawn** (headless: until it is in the model), fits the viewport **once** to that chunk and then holds it (never a re-fit per chunk; `fit: false` keeps the viewport as it is), and applies the graph-level `data()` a wire chunk carries. The load re-points `cy.ready`, so read it after calling `load()` — a reference taken before resolves on the renderer alone. A load into a populated graph is a streamed `cy.add()`: `cy.ready`, the viewport and `data()` are left alone. Positions are the payload's (the preset layout case); a layout cannot start while a load runs — run it once the promise resolves.\n\nEvents: `loadstart`; `loadchunk` after each chunk (with `add` per element while anyone listens for it, as the bulk path emits them); `loadready` once the first chunk is drawn; `loadstop` when the load ends — completed, failed or cancelled (`event.cancelled`). Each carries `event.progress`: `{ chunks, nodes, edges }` so far.\n\n**Completion is the returned promise**, resolving with the final progress; it carries `cancel()` (contract): cancelling stops pulling chunks, closes the source's iterator, keeps what has landed, and rejects with a `CancelledError`. `cy.destroy()` cancels a running load. A chunk that fails to ingest rejects the load; the chunks before it stay, and a node reference that names no node fails its chunk before anything of it is added.",
                  "args": [
                    {
                      "name": "source",
                      "type": "| AsyncIterable<ElementsInput<NodeData, EdgeData>> | Iterable<ElementsInput<NodeData, EdgeData>>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "an async iterable (or iterable) of chunks, each a definition, columnar or wire payload"
                    },
                    {
                      "name": "options",
                      "type": "LoadOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "fit",
                          "type": "boolean",
                          "optional": true,
                          "descr": "Fit the viewport **once**, to the first chunk, and then hold it —\na load never re-fits per chunk, so the screen does not jump as the\ngraph fills in.  Default: true for an initial load (one that starts\non an instance holding no elements), false for a load into a\npopulated graph."
                        },
                        {
                          "name": "padding",
                          "type": "number",
                          "optional": true,
                          "descr": "the rendered-space padding of that fit, in px (default 0, as `cy.fit()`)"
                        }
                      ],
                      "descr": "`{ fit, padding }`: fit once to the first chunk (default: on for an initial load), and that fit's padding"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "LoadRun",
                  "returns": "the load's completion: a promise of the final `{ chunks, nodes, edges }`, with `cancel()`",
                  "examples": [
                    "await cy.load([[{ data: { id: 'd' } }]]);\nconsole.log(cy.hasElementWithId('d')); // true"
                  ],
                  "throws": [
                    "synchronously, when `source` is not an (async) iterable of chunks (a single payload is refused — pass `[ payload ]`), on an unknown option, while another load is running on this instance, or on a destroyed instance"
                  ]
                }
              ],
              "returns": "the load's completion: a promise of the final `{ chunks, nodes, edges }`, with `cancel()`",
              "throws": [
                "synchronously, when `source` is not an (async) iterable of chunks (a single payload is refused — pass `[ payload ]`), on an unknown option, while another load is running on this instance, or on a destroyed instance"
              ],
              "src": "src/core.mts:1007",
              "recipes": []
            }
          ]
        },
        {
          "name": "Collections",
          "banner": "collections",
          "fns": [
            {
              "name": "cy.collection",
              "descr": "Create an empty collection bound to this core. Use it as an accumulator, for example `cy.collection().union(cy.nodes({ selected: true }))`.",
              "formats": [
                {
                  "descr": "Create an empty collection bound to this core. Use it as an accumulator, for example `cy.collection().union(cy.nodes({ selected: true }))`.\n\nThis method takes no arguments. Query with `cy.elements(query)` or build a collection with `union()` to include existing elements.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "a collection of zero elements",
                  "examples": [
                    "console.log(cy.collection().map(ele => ele.id())); // []"
                  ],
                  "throws": [
                    "if called with any argument — use `cy.add()` to insert definitions or set operations to build collections"
                  ]
                }
              ],
              "returns": "a collection of zero elements",
              "throws": [
                "if called with any argument — use `cy.add()` to insert definitions or set operations to build collections"
              ],
              "src": "src/core.mts:1078",
              "recipes": []
            },
            {
              "name": "cy.getElementById",
              "descr": "Look up one element by id through the O(1) id index.",
              "formats": [
                {
                  "descr": "Look up one element by id through the O(1) id index.",
                  "args": [
                    {
                      "name": "id",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the element id"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "a collection of one element, or an empty collection when no element has that id",
                  "examples": [
                    "console.log(cy.getElementById('a').id()); // 'a'"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.$id",
                "cy.byId"
              ],
              "returns": "a collection of one element, or an empty collection when no element has that id",
              "src": "src/core.mts:1099",
              "recipes": [
                {
                  "title": "trace a weighted route",
                  "url": "/docs/recipes/#recipes/trace-a-weighted-route"
                }
              ]
            },
            {
              "name": "cy.elements",
              "descr": "Get all nodes and edges, or only those matching a query. Nodes appear first, in insertion order, followed by edges.",
              "formats": [
                {
                  "descr": "Get all nodes and edges, or only those matching a query. Nodes appear first, in insertion order, followed by edges.\n\nPass a query object such as `{ selected: true, data: { score: { gt: 2 } } }` or a predicate such as `ele => ele.data('score') > 2`. Unknown query keys and selector strings throw.\n\nCollections preserve their membership while reading current element values. Query again to include newly matching elements. Calls without a query return the same collection object until an element is added or removed.",
                  "args": [
                    {
                      "name": "query",
                      "type": "FilterLike<NodeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "a query object or an `( ele) => boolean` predicate; omit for everything"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "the matching elements",
                  "examples": [
                    "console.log(cy.elements().map(ele => ele.id())); // [\"a\",\"b\",\"c\",\"ab\",\"bc\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the matching elements",
              "src": "src/core.mts:1129",
              "recipes": []
            },
            {
              "name": "cy.nodes",
              "descr": "The graph's nodes, optionally filtered. Same query forms as `elements()`, restricted to the node group — and, with no query, the same cached collection behaviour.",
              "formats": [
                {
                  "descr": "The graph's nodes, optionally filtered. Same query forms as `elements()`, restricted to the node group — and, with no query, the same cached collection behaviour.",
                  "args": [
                    {
                      "name": "query",
                      "type": "FilterLike<NodeData, EdgeData, NodeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "a query object or an `( ele) => boolean` predicate"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the matching nodes",
                  "examples": [
                    "console.log(cy.nodes().map(ele => ele.id())); // [\"a\",\"b\",\"c\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the matching nodes",
              "src": "src/core.mts:1148",
              "recipes": []
            },
            {
              "name": "cy.edges",
              "descr": "The graph's edges, optionally filtered. Same query forms as `elements()`, restricted to the edge group — and, with no query, the same cached collection behaviour.",
              "formats": [
                {
                  "descr": "The graph's edges, optionally filtered. Same query forms as `elements()`, restricted to the edge group — and, with no query, the same cached collection behaviour.",
                  "args": [
                    {
                      "name": "query",
                      "type": "FilterLike<NodeData, EdgeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "a query object or an `( ele) => boolean` predicate"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, EdgeData>",
                  "returns": "the matching edges",
                  "examples": [
                    "console.log(cy.edges().map(ele => ele.id())); // [\"ab\",\"bc\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the matching edges",
              "src": "src/core.mts:1167",
              "recipes": []
            },
            {
              "name": "cy.filter",
              "descr": "Filter the whole graph. Identical to `elements( query)`, kept for symmetry with `eles.filter()`.",
              "formats": [
                {
                  "descr": "Filter the whole graph. Identical to `elements( query)`, kept for symmetry with `eles.filter()`.",
                  "args": [
                    {
                      "name": "query",
                      "type": "FilterLike<NodeData, EdgeData>",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "a query object or an `( ele) => boolean` predicate"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "the matching elements",
                  "examples": [
                    "console.log(cy.filter(ele => ele.isNode()).length); // 3"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.$"
              ],
              "returns": "the matching elements",
              "src": "src/core.mts:1185",
              "recipes": []
            },
            {
              "name": "cy.elementsInBox",
              "descr": "Live, visible elements contained in the model-coordinate box (corners in any order): the box-selection query, answered by one columnar scan. Nodes count when their bounding box lies fully inside; edges when both endpoint node centers do (straight-edge endpoints are taken at the node centers).",
              "formats": [
                {
                  "descr": "Live, visible elements contained in the model-coordinate box (corners in any order): the box-selection query, answered by one columnar scan. Nodes count when their bounding box lies fully inside; edges when both endpoint node centers do (straight-edge endpoints are taken at the node centers).\n\n**`boxSelectionMode` does not reach here**: this stays the pure geometric containment query whatever the *gesture* is set to. For the overlap question, `boxSelectionMode( 'overlap')` and drag a box, or test intersection yourself against `eles.boundingBox()`. (`boxSelectionIncludesLabels` is the one interaction setting that *does* reach here: with it on, a node's label box must be contained too.)",
                  "args": [
                    {
                      "name": "x1",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "one corner's model x"
                    },
                    {
                      "name": "y1",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "that corner's model y"
                    },
                    {
                      "name": "x2",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the opposite corner's model x"
                    },
                    {
                      "name": "y2",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "that corner's model y"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "the contained elements",
                  "examples": [
                    "console.log(cy.elementsInBox(-50, -50, 50, 50).length); // 2"
                  ],
                  "throws": []
                }
              ],
              "returns": "the contained elements",
              "src": "src/core.mts:1260",
              "recipes": []
            }
          ]
        },
        {
          "name": "Emphasis",
          "banner": "emphasis (round 102)",
          "fns": [
            {
              "name": "cy.emphasize",
              "descr": "Emphasize the given elements and dim the rest of the graph. Use a node's neighbourhood to highlight a local part of the network.",
              "formats": [
                {
                  "descr": "Emphasize the given elements and dim the rest of the graph. Use a node's neighbourhood to highlight a local part of the network.\n\nEmphasized elements match `{ emphasized: true }` in queries and style conditions. The rest are composited using the core's `dim-opacity` (default 0.15), while emphasized elements appear above them at full opacity. Dimming does not change individual element style values.",
                  "args": [
                    {
                      "name": "eles",
                      "type": "Collection",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the elements to emphasize, from this instance"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.emphasize(cy.getElementById('a').closedNeighborhood());\nconsole.log(cy.getElementById('b').emphasized()); // true"
                  ],
                  "throws": [
                    "when `eles` is not a collection, or is one from another instance"
                  ]
                }
              ],
              "returns": "this core, for chaining",
              "throws": [
                "when `eles` is not a collection, or is one from another instance"
              ],
              "src": "src/core.mts:1308",
              "recipes": []
            },
            {
              "name": "cy.unemphasize",
              "descr": "End the emphasis: clear the emphasized set and stop dimming.  A no-op when no emphasis is set.",
              "formats": [
                {
                  "descr": "End the emphasis: clear the emphasized set and stop dimming.  A no-op when no emphasis is set.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.emphasize(cy.getElementById('a'));\ncy.unemphasize();\nconsole.log(cy.getElementById('a').emphasized()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:1324",
              "recipes": []
            }
          ]
        },
        {
          "name": "Events",
          "banner": "events",
          "fns": [
            {
              "name": "cy.on",
              "descr": "Listen for core and bubbled element events: `cy.on('tap', handler)`. For delegation, use `cy.on('tap', ele => ele.isNode(), handler)`. Event names match literally; `'tap.ns'` is different from `'tap'`. Custom names are allowed and fire when your application emits them.",
              "formats": [
                {
                  "descr": "Listen for core and bubbled element events: `cy.on('tap', handler)`. For delegation, use `cy.on('tap', ele => ele.isNode(), handler)`. Event names match literally; `'tap.ns'` is different from `'tap'`. Custom names are allowed and fire when your application emits them.",
                  "args": [
                    {
                      "name": "events",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "one or more space-separated event names"
                    },
                    {
                      "name": "callback",
                      "type": "EventHandler<NodeData, EdgeData>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the event handler"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const seen = [];\nconst handler = event => seen.push(event.type);\ncy.on('example', handler);\ncy.emit('example');\ncy.off('example', handler);\nconsole.log(seen); // ['example']"
                  ],
                  "throws": []
                },
                {
                  "descr": "Listen for events on the core. Use `cy.on('tap', handler)` for core and bubbled element events. To delegate, use `cy.on('tap', ele => ele.isNode(), handler)`.\n\nCustom event names are accepted; a name the library never emits fires only when your application emits it. Event names match literally: `'tap.ns'` is different from `'tap'`. See the event reference for emitted names.\n\nTo remove a delegated listener, pass the same predicate and handler objects to `off()`.",
                  "args": [
                    {
                      "name": "events",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "one or more space-separated event names"
                    },
                    {
                      "name": "predicate",
                      "type": "ElePredicate<NodeData, EdgeData>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "`( ele) => boolean` over the event target; only runs for element targets"
                    },
                    {
                      "name": "callback",
                      "type": "EventHandler<NodeData, EdgeData>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the handler"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const seen = [];\nconst handler = event => seen.push(event.target.id());\ncy.on('example', node => node.isNode(), handler);\ncy.getElementById('a').emit('example');\nconsole.log(seen); // ['a']"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.addListener"
              ],
              "returns": "this core, for chaining",
              "see": [
                "Core#off — remove listeners using the same function objects"
              ],
              "src": "src/core.mts:1351",
              "recipes": [
                {
                  "title": "attach and remove a delegated listener",
                  "url": "/docs/recipes/#recipes/attach-and-remove-a-delegated-listener"
                }
              ]
            },
            {
              "name": "cy.one",
              "descr": "Like `on()`, but the handler runs at most once and then removes itself.",
              "formats": [
                {
                  "descr": "Like `on()`, but the handler runs at most once and then removes itself.",
                  "args": [
                    {
                      "name": "events",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "one or more space-separated event names"
                    },
                    {
                      "name": "callback",
                      "type": "EventHandler<NodeData, EdgeData>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the handler, when delegating"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "let count = 0;\ncy.one('example', () => count++);\ncy.emit('example');\ncy.emit('example');\nconsole.log(count); // 1"
                  ],
                  "throws": []
                },
                {
                  "descr": "Like `on()` with delegation, but the handler runs at most once.",
                  "args": [
                    {
                      "name": "events",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "one or more space-separated event names"
                    },
                    {
                      "name": "predicate",
                      "type": "ElePredicate<NodeData, EdgeData>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "`( ele) => boolean` over the event target"
                    },
                    {
                      "name": "callback",
                      "type": "EventHandler<NodeData, EdgeData>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the handler"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const seen = [];\nconst handler = event => seen.push(event.target.id());\ncy.one('example', node => node.isNode(), handler);\ncy.getElementById('a').emit('example');\nconsole.log(seen); // ['a']"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.once"
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:1409",
              "recipes": []
            },
            {
              "name": "cy.off",
              "descr": "Stop listening. Removing a delegated handler takes the same `( events, predicate, handler)` triple it was added with — predicates compare by function identity, so the predicate must be the same function object, not an equivalent one.",
              "formats": [
                {
                  "descr": "Stop listening. Removing a delegated handler takes the same `( events, predicate, handler)` triple it was added with — predicates compare by function identity, so the predicate must be the same function object, not an equivalent one.",
                  "args": [
                    {
                      "name": "events",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "one or more space-separated event names"
                    },
                    {
                      "name": "callback",
                      "type": "EventHandler<NodeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the handler, when delegating"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "let count = 0;\nconst handler = () => count++;\ncy.on('example', handler);\ncy.off('example', handler);\ncy.emit('example');\nconsole.log(count); // 0"
                  ],
                  "throws": []
                },
                {
                  "descr": "Remove a delegated handler.  The predicate must be the *same function object* it was registered with — predicates compare by identity, not by structure.",
                  "args": [
                    {
                      "name": "events",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "one or more space-separated event names"
                    },
                    {
                      "name": "predicate",
                      "type": "ElePredicate<NodeData, EdgeData>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the predicate the handler was added with"
                    },
                    {
                      "name": "callback",
                      "type": "EventHandler<NodeData, EdgeData>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the handler to remove"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const seen = [];\nconst handler = event => seen.push(event.target.id());\ncy.on('example', node => node.isNode(), handler);\nconst predicate = node => node.isNode();\ncy.on('removed', predicate, handler);\ncy.off('removed', predicate, handler);\ncy.getElementById('a').emit('removed');\nconsole.log(seen); // []"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.removeListener"
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:1460",
              "recipes": [
                {
                  "title": "attach and remove a delegated listener",
                  "url": "/docs/recipes/#recipes/attach-and-remove-a-delegated-listener"
                }
              ]
            },
            {
              "name": "cy.removeAllListeners",
              "descr": "Remove every listener on the core, including element-bound and delegated ones.",
              "formats": [
                {
                  "descr": "Remove every listener on the core, including element-bound and delegated ones.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "let calls = 0;\ncy.on('example', () => calls++);\ncy.removeAllListeners();\ncy.emit('example');\nconsole.log(calls); // 0"
                  ],
                  "throws": []
                }
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:1507",
              "recipes": []
            },
            {
              "name": "cy.emit",
              "descr": "Emit an event on the core.",
              "formats": [
                {
                  "descr": "Emit an event on the core.\n\n**Custom event names are supported API**, which is why `on()` validates none: `cy.emit( 'myevent')` runs handlers registered for `'myevent'`, and the same holds on elements. Names the library itself never emits are therefore legal to register and simply never fire — see `on()` for which those are.",
                  "args": [
                    {
                      "name": "events",
                      "type": "string | EventProps",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "type",
                          "type": "string",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "target",
                          "type": "EventTarget",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "cy",
                          "type": "Core",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "position",
                          "type": "Position",
                          "optional": true,
                          "descr": "model-space position, for pointer-derived events"
                        },
                        {
                          "name": "renderedPosition",
                          "type": "Position",
                          "optional": true,
                          "descr": "rendered-space position; derived from `position` when omitted"
                        },
                        {
                          "name": "originalEvent",
                          "type": "NativeEvent",
                          "optional": true,
                          "descr": "the DOM event behind a gesture"
                        },
                        {
                          "name": "layout",
                          "type": "unknown",
                          "optional": true,
                          "descr": "the layout instance, on `layoutstart`/`layoutready`/`layoutstop`"
                        },
                        {
                          "name": "cancelled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "on `layoutstop`: true when the run was abandoned by `layout.cancel()` or\n`cy.destroy()` rather than finished or stopped; on `loadstop`, when the\nload was cancelled"
                        },
                        {
                          "name": "diff",
                          "type": "PatchDiff",
                          "optional": true,
                          "descr": "on `patch`: what the patch added, removed and updated"
                        },
                        {
                          "name": "progress",
                          "type": "LoadProgress",
                          "optional": true,
                          "descr": "on `loadstart`/`loadchunk`/`loadready`/`loadstop`: how far the load has\ngot"
                        },
                        {
                          "name": "timeStamp",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "one or more space-separated event names, or an event props object"
                    },
                    {
                      "name": "extraParams",
                      "type": "unknown[]",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "extra arguments passed to each handler after the event object"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "let observed;\ncy.one('example', event => { observed = event.type; });\ncy.emit('example');\nconsole.log(observed); // 'example'"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.trigger"
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:1534",
              "recipes": []
            },
            {
              "name": "cy.promiseOn",
              "descr": "Resolve once the next matching event fires — the promise form of `one()`.",
              "formats": [
                {
                  "descr": "Resolve once the next matching event fires — the promise form of `one()`.",
                  "args": [
                    {
                      "name": "events",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "one or more space-separated event names"
                    },
                    {
                      "name": "predicate",
                      "type": "ElePredicate<NodeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "an optional delegation predicate over the target"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Promise<Event<NodeData, EdgeData>>",
                  "returns": "a promise for the event object",
                  "examples": [
                    "const next = cy.promiseOn('example');\ncy.emit('example');\nconsole.log((await next).type); // 'example'"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.pon"
              ],
              "returns": "a promise for the event object",
              "src": "src/core.mts:1555",
              "recipes": []
            }
          ]
        },
        {
          "name": "Viewport",
          "banner": "viewport",
          "fns": [
            {
              "name": "cy.zoom",
              "descr": "Read the current zoom level.",
              "formats": [
                {
                  "descr": "Read the current zoom level.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the current zoom level as a number",
                  "examples": [
                    "cy.zoom(1);\nconsole.log(cy.zoom()); // 1"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set the zoom level, clamped to zoomRange(). Does nothing when zoomingEnabled() is false. A changed viewport emits a zoom event and a viewport event.",
                  "args": [
                    {
                      "name": "level",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new zoom level"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.zoom(2);\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Zoom about a fixed model or rendered position. Does nothing when zoomingEnabled() is false. A changed viewport emits a zoom event and a viewport event.",
                  "args": [
                    {
                      "name": "options",
                      "type": "ZoomOptions",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "level",
                          "type": "number",
                          "optional": false,
                          "descr": "New zoom level, clamped to the graph's zoomRange()."
                        },
                        {
                          "name": "position",
                          "type": "Position",
                          "optional": true,
                          "descr": "model point to keep fixed while zooming"
                        },
                        {
                          "name": "renderedPosition",
                          "type": "Position",
                          "optional": true,
                          "descr": "rendered (on-screen) point to keep fixed while zooming"
                        }
                      ],
                      "descr": "the level and the position to keep fixed"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.zoom({ level: 2, renderedPosition: { x: 0, y: 0 } });\nconsole.log(cy.zoom()); // 2"
                  ],
                  "throws": []
                },
                {
                  "descr": "Read or set zoom when the argument is optional or has a union type.",
                  "args": [
                    {
                      "name": "zoom",
                      "type": "number | ZoomOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "level",
                          "type": "number",
                          "optional": false,
                          "descr": "New zoom level, clamped to the graph's zoomRange()."
                        },
                        {
                          "name": "position",
                          "type": "Position",
                          "optional": true,
                          "descr": "model point to keep fixed while zooming"
                        },
                        {
                          "name": "renderedPosition",
                          "type": "Position",
                          "optional": true,
                          "descr": "rendered (on-screen) point to keep fixed while zooming"
                        }
                      ],
                      "descr": "the new level or options; undefined reads the level"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | this",
                  "returns": "the current level when reading, this core when setting",
                  "examples": [
                    "cy.zoom(1);\nconsole.log(cy.zoom(undefined)); // 1"
                  ],
                  "throws": []
                }
              ],
              "returns": "the current zoom level as a number",
              "src": "src/core.mts:1579",
              "recipes": []
            },
            {
              "name": "cy.pan",
              "descr": "Read the current pan offset in rendered CSS pixels.",
              "formats": [
                {
                  "descr": "Read the current pan offset in rendered CSS pixels.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position",
                  "returns": "the rendered-space offset",
                  "examples": [
                    "cy.pan({ x: 40, y: 20 });\nconsole.log(cy.pan()); // { x: 40, y: 20 }"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set the pan offset. A no-op while panningEnabled() is false.",
                  "args": [
                    {
                      "name": "pan",
                      "type": "Position",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "x",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        },
                        {
                          "name": "y",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        }
                      ],
                      "descr": "the new rendered-space offset"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.pan({ x: 40, y: 20 });\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get the pan offset, or set it.  Setting is a no-op while `panningEnabled()` is false.",
                  "args": [
                    {
                      "name": "pan",
                      "type": "Position | undefined",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "x",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        },
                        {
                          "name": "y",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        }
                      ],
                      "descr": "the new rendered-space offset; omit to read"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position | this",
                  "returns": "the current pan when reading, this core when setting",
                  "examples": [
                    "cy.pan({ x: 40, y: 20 });\nconsole.log(cy.pan()); // { x: 40, y: 20 }"
                  ],
                  "throws": []
                }
              ],
              "returns": "the rendered-space offset",
              "src": "src/core.mts:1628",
              "recipes": []
            },
            {
              "name": "cy.panBy",
              "descr": "Shift the pan by a delta.  A no-op while `panningEnabled()` is false.",
              "formats": [
                {
                  "descr": "Shift the pan by a delta.  A no-op while `panningEnabled()` is false.",
                  "args": [
                    {
                      "name": "delta",
                      "type": "Position",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "x",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        },
                        {
                          "name": "y",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        }
                      ],
                      "descr": "the rendered-space offset to add"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.pan({ x: 0, y: 0 });\ncy.panBy({ x: 10, y: 5 });\nconsole.log(cy.pan()); // { x: 10, y: 5 }"
                  ],
                  "throws": []
                }
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:1673",
              "recipes": []
            },
            {
              "name": "cy.fit",
              "descr": "Pan and zoom so the given elements fill the viewport.",
              "formats": [
                {
                  "descr": "Pan and zoom so the given elements fill the viewport.\n\nBounds **include labels by default**, so a fit never clips the text it was asked to show; edge-label terms are conservative, so a fit may slightly over-fit but never under-fits.",
                  "args": [
                    {
                      "name": "eles",
                      "type": "Collection",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the elements to fit; omit for the whole graph"
                    },
                    {
                      "name": "padding",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "default": "0",
                      "fields": [],
                      "descr": "rendered-space padding around the box"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.fit(cy.nodes(), 20);\nconsole.log(cy.zoom() > 0); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:1695",
              "recipes": []
            },
            {
              "name": "cy.center",
              "descr": "Pan so the given elements are centred, leaving the zoom alone. Bounds include labels, as in `fit()`.",
              "formats": [
                {
                  "descr": "Pan so the given elements are centred, leaving the zoom alone. Bounds include labels, as in `fit()`.",
                  "args": [
                    {
                      "name": "eles",
                      "type": "Collection",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the elements to centre on; omit for the whole graph"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.center(cy.nodes());\nconsole.log(Number.isFinite(cy.pan().x)); // true"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.centre"
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:1709",
              "recipes": []
            }
          ]
        },
        {
          "name": "Animation (viewport)",
          "banner": "animation (viewport)",
          "fns": [
            {
              "name": "cy.animate",
              "descr": "Animate the viewport (`pan`/`zoom`) over `duration` ms.  Element animation is on the collection (`eles.animate`).  Tweens are CPU-canonical; a data write / manual pan mid-animation is not prevented but will be overwritten by the next tick.",
              "formats": [
                {
                  "descr": "Animate the viewport (`pan`/`zoom`) over `duration` ms.  Element animation is on the collection (`eles.animate`).  Tweens are CPU-canonical; a data write / manual pan mid-animation is not prevented but will be overwritten by the next tick.",
                  "args": [
                    {
                      "name": "opts",
                      "type": "AnimateOptions",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "style",
                          "type": "Record<string, string | number>",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "position",
                          "type": "Partial<Position>",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "Target the collapsed state of compound parents. This is an element-only\nanimation channel and may be combined with timing options, but not with\nother style, position, or viewport targets."
                        },
                        {
                          "name": "pan",
                          "type": "Position",
                          "optional": true,
                          "descr": "viewport targets (core.animate)"
                        },
                        {
                          "name": "panBy",
                          "type": "Position",
                          "optional": true,
                          "descr": "viewport target: pan by a delta rather than to an absolute position.\nResolved against the pan at creation time, so a manual\npan afterwards does not move the target.  Throws alongside `pan` —\nthe two spell the same channel.\nCore-only: an element animation ignores it."
                        },
                        {
                          "name": "zoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "fit",
                          "type": "{ eles?: unknown; boundingBox?: { x1: number; y1: number; x2?: number; y2?: number; w?: number; h?: number; }; padding?: number; }",
                          "optional": true,
                          "descr": "viewport target: animate to the viewport that fits the given elements\n(or an explicit model-space box).  Resolved to pan/zoom when the animation\nis created."
                        },
                        {
                          "name": "center",
                          "type": "{ eles?: unknown }",
                          "optional": true,
                          "descr": "viewport target: animate the pan that centers the given elements"
                        },
                        {
                          "name": "duration",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "easing",
                          "type": "string",
                          "optional": true,
                          "descr": "A named easing, `cubic-bezier()`, `linear()` or\n`spring(bounce)`.  For a spring, `duration` is the *perceptual*\nduration and the animation runs on past it to settle, so its total\nlength is longer (see `durationMs`)."
                        },
                        {
                          "name": "delay",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "complete",
                          "type": "() => void",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "the viewport targets (`pan`, `panBy`, `zoom`, `fit`, `center`) plus `duration`, `easing` and `complete`; `fit` beats `center` beats `panBy` beats `pan`, and `panBy` with `pan` throws"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.animate({ pan: { x: 20, y: 10 }, duration: 100 });\ncy.stop(true);\nconsole.log(cy.pan().x); // 20"
                  ],
                  "throws": []
                }
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:1732",
              "recipes": []
            },
            {
              "name": "cy.animation",
              "descr": "Like `animate`, but returns a handle with `play`/`stop`/`promise` — the viewport counterpart of `eles.animation`.",
              "formats": [
                {
                  "descr": "Like `animate`, but returns a handle with `play`/`stop`/`promise` — the viewport counterpart of `eles.animation`.",
                  "args": [
                    {
                      "name": "opts",
                      "type": "AnimateOptions",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "style",
                          "type": "Record<string, string | number>",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "position",
                          "type": "Partial<Position>",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "Target the collapsed state of compound parents. This is an element-only\nanimation channel and may be combined with timing options, but not with\nother style, position, or viewport targets."
                        },
                        {
                          "name": "pan",
                          "type": "Position",
                          "optional": true,
                          "descr": "viewport targets (core.animate)"
                        },
                        {
                          "name": "panBy",
                          "type": "Position",
                          "optional": true,
                          "descr": "viewport target: pan by a delta rather than to an absolute position.\nResolved against the pan at creation time, so a manual\npan afterwards does not move the target.  Throws alongside `pan` —\nthe two spell the same channel.\nCore-only: an element animation ignores it."
                        },
                        {
                          "name": "zoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "fit",
                          "type": "{ eles?: unknown; boundingBox?: { x1: number; y1: number; x2?: number; y2?: number; w?: number; h?: number; }; padding?: number; }",
                          "optional": true,
                          "descr": "viewport target: animate to the viewport that fits the given elements\n(or an explicit model-space box).  Resolved to pan/zoom when the animation\nis created."
                        },
                        {
                          "name": "center",
                          "type": "{ eles?: unknown }",
                          "optional": true,
                          "descr": "viewport target: animate the pan that centers the given elements"
                        },
                        {
                          "name": "duration",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "easing",
                          "type": "string",
                          "optional": true,
                          "descr": "A named easing, `cubic-bezier()`, `linear()` or\n`spring(bounce)`.  For a spring, `duration` is the *perceptual*\nduration and the animation runs on past it to settle, so its total\nlength is longer (see `durationMs`)."
                        },
                        {
                          "name": "delay",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "complete",
                          "type": "() => void",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "as {@link animate}; the animation does not start until `play()`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AnimationHandle",
                  "returns": "the handle",
                  "examples": [
                    "const handle = cy.animation({ pan: { x: 20, y: 10 }, duration: 1 });\nawait handle.play();\nconsole.log(handle.progress()); // 1"
                  ],
                  "throws": []
                }
              ],
              "returns": "the handle",
              "src": "src/core.mts:1749",
              "recipes": []
            },
            {
              "name": "cy.animated",
              "descr": "True while the viewport is animating.",
              "formats": [
                {
                  "descr": "True while the viewport is animating.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "whether a *viewport* animation (pan/zoom/fit/center) is running; element animations do not count here — those are `eles.animated()`",
                  "examples": [
                    "console.log(cy.animated()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "whether a *viewport* animation (pan/zoom/fit/center) is running; element animations do not count here — those are `eles.animated()`",
              "src": "src/core.mts:1763",
              "recipes": []
            },
            {
              "name": "cy.stop",
              "descr": "Stop every running viewport animation (animations have no queue).",
              "formats": [
                {
                  "descr": "Stop every running viewport animation (animations have no queue).",
                  "args": [
                    {
                      "name": "jumpToEnd",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "default": "false",
                      "fields": [],
                      "descr": "apply each animation's final values instead of freezing the viewport where the tween reached"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.animate({ pan: { x: 20, y: 10 }, duration: 100 });\ncy.stop(true);\nconsole.log(cy.animated()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:1778",
              "recipes": []
            },
            {
              "name": "cy.extent",
              "descr": "The model-space rectangle currently visible, as `{ x1, y1, x2, y2, w, h }` — the inverse of the pan/zoom transform applied to the viewport box.",
              "formats": [
                {
                  "descr": "The model-space rectangle currently visible, as `{ x1, y1, x2, y2, w, h }` — the inverse of the pan/zoom transform applied to the viewport box.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Extent",
                  "returns": "the visible extent in model coordinates",
                  "examples": [
                    "cy.zoom(1); cy.pan({ x: 0, y: 0 });\nconsole.log(cy.extent().w); // 800"
                  ],
                  "throws": []
                }
              ],
              "returns": "the visible extent in model coordinates",
              "see": [
                "Core#renderedExtent for the same box in rendered coordinates"
              ],
              "src": "src/core.mts:1796",
              "recipes": []
            },
            {
              "name": "cy.renderedExtent",
              "descr": "The rendered (on-screen) viewport rectangle.",
              "formats": [
                {
                  "descr": "The rendered (on-screen) viewport rectangle.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Extent",
                  "returns": "the container's box in rendered px, anchored at the origin — the rendered-space counterpart of `extent()`, which is the same box projected into model coordinates",
                  "examples": [
                    "console.log(cy.renderedExtent().w); // 800"
                  ],
                  "throws": []
                }
              ],
              "returns": "the container's box in rendered px, anchored at the origin — the rendered-space counterpart of `extent()`, which is the same box projected into model coordinates",
              "see": [
                "Core#extent for the model-coordinate form"
              ],
              "src": "src/core.mts:1811",
              "recipes": []
            },
            {
              "name": "cy.size",
              "descr": "Rendered dimensions as { width, height }.",
              "formats": [
                {
                  "descr": "Rendered dimensions as { width, height }.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "{ width: number; height: number }",
                  "returns": null,
                  "examples": [
                    "console.log(cy.size()); // { width: 800, height: 600 }"
                  ],
                  "throws": []
                }
              ],
              "src": "src/core.mts:1821",
              "recipes": []
            },
            {
              "name": "cy.minZoom",
              "descr": "Get the minimum zoom, or set it.  Setting re-clamps the current zoom.",
              "formats": [
                {
                  "descr": "Get the minimum zoom, or set it.  Setting re-clamps the current zoom.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the current minZoom value",
                  "examples": [
                    "console.log(cy.minZoom()); // 1e-50"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get the minimum zoom, or set it.  Setting re-clamps the current zoom.",
                  "args": [
                    {
                      "name": "zoom",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new minimum"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.minZoom(1e-50);\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get the minimum zoom, or set it.  Setting re-clamps the current zoom.",
                  "args": [
                    {
                      "name": "zoom",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the new minimum; omit to read"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | this",
                  "returns": "the current minimum when reading, this core when setting",
                  "examples": [
                    "console.log(cy.minZoom()); // 1e-50"
                  ],
                  "throws": []
                }
              ],
              "returns": "the current minZoom value",
              "src": "src/core.mts:1833",
              "recipes": []
            },
            {
              "name": "cy.maxZoom",
              "descr": "Get the maximum zoom, or set it.  Setting re-clamps the current zoom.",
              "formats": [
                {
                  "descr": "Get the maximum zoom, or set it.  Setting re-clamps the current zoom.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the current maxZoom value",
                  "examples": [
                    "console.log(cy.maxZoom()); // 1e+50"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get the maximum zoom, or set it.  Setting re-clamps the current zoom.",
                  "args": [
                    {
                      "name": "zoom",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new maximum"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.maxZoom(1e+50);\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get the maximum zoom, or set it.  Setting re-clamps the current zoom.",
                  "args": [
                    {
                      "name": "zoom",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the new maximum; omit to read"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | this",
                  "returns": "the current maximum when reading, this core when setting",
                  "examples": [
                    "console.log(cy.maxZoom()); // 1e+50"
                  ],
                  "throws": []
                }
              ],
              "returns": "the current maxZoom value",
              "src": "src/core.mts:1875",
              "recipes": []
            },
            {
              "name": "cy.zoomRange",
              "descr": "Set both zoom bounds; accepts (min, max) or { min, max }.",
              "formats": [
                {
                  "descr": "Set both zoom bounds; accepts (min, max) or { min, max }.",
                  "args": [
                    {
                      "name": "min",
                      "type": "number | { min?: number; max?: number }",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "min",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "max",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "the minimum zoom, or an object carrying both bounds"
                    },
                    {
                      "name": "max",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the maximum zoom, when `min` is a number"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.zoomRange(0.5, 4);\nconsole.log([cy.minZoom(), cy.maxZoom()]); // [0.5, 4]"
                  ],
                  "throws": []
                }
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:1921",
              "recipes": []
            },
            {
              "name": "cy.viewport",
              "descr": "Set zoom and/or pan together, emitting once.",
              "formats": [
                {
                  "descr": "Set zoom and/or pan together, emitting once.",
                  "args": [
                    {
                      "name": "opts",
                      "type": "{ zoom?: number; pan?: Position }",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "zoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "pan",
                          "type": "Position",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "the `zoom` and/or `pan` to apply; omitted keys are left as they are"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.viewport({ zoom: 2, pan: { x: 40, y: 20 } });\nconsole.log(cy.zoom()); // 2"
                  ],
                  "throws": []
                }
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:1936",
              "recipes": []
            },
            {
              "name": "cy.reset",
              "descr": "Reset the viewport to zoom 1, pan (0, 0).",
              "formats": [
                {
                  "descr": "Reset the viewport to zoom 1, pan (0, 0).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": null,
                  "examples": [
                    "cy.pan({ x: 40, y: 20 });\ncy.zoom(2);\ncy.reset();\ncy.zoom(1);\nconsole.log(cy.zoom()); // 1"
                  ],
                  "throws": []
                }
              ],
              "src": "src/core.mts:1949",
              "recipes": []
            },
            {
              "name": "cy.pick",
              "descr": "Async GPU pick at a rendered (CSS px) position; resolves with the element under the point or null (always null when headless — the sync, node-only `cy.nodeAt()` computes headless).",
              "formats": [
                {
                  "descr": "Async GPU pick at a rendered (CSS px) position; resolves with the element under the point or null (always null when headless — the sync, node-only `cy.nodeAt()` computes headless).\n\nExact: a hit is a point on the drawn element. The pointer gestures additionally apply hit halos (8 rendered px around edges for a mouse, 24 for touch; 2/8 around nodes), so a press can land where this method answers null; the halo belongs to the gesture, not the API.\n\n**What wins when elements overlap, as contract**: a non-parent node, then an edge, then a compound parent — the reverse of the drawing order in (parents, edges, leaves), so the answer is always the topmost thing drawn at that point. Nesting depth does not change it: a parent inside another parent still draws under every edge, and among parents the deepest wins. Drawing order is structural; there are no `z-index` or `z-compound-depth` properties.",
                  "args": [
                    {
                      "name": "x",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "rendered (CSS px) x, relative to the container"
                    },
                    {
                      "name": "y",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "rendered (CSS px) y"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Promise<Collection<NodeData, EdgeData> | null>",
                  "returns": "the element under the point, or null",
                  "examples": [
                    "// Exact GPU picking returns null on a headless core.\nconsole.log(await cy.pick(100, 100)); // null"
                  ],
                  "throws": []
                }
              ],
              "returns": "the element under the point, or null",
              "src": "src/core.mts:2011",
              "recipes": []
            },
            {
              "name": "cy.nodeAt",
              "descr": "Find the topmost node at a rendered position, measured in CSS pixels from the container's top-left corner. Returns null when no node is hit. Use `pick()` to test both nodes and edges asynchronously.",
              "formats": [
                {
                  "descr": "Find the topmost node at a rendered position, measured in CSS pixels from the container's top-left corner. Returns null when no node is hit. Use `pick()` to test both nodes and edges asynchronously.\n\nNode visibility and level of detail affect the result. In a headless core, the calculation uses the viewport and default rendering thresholds at a device-pixel ratio of 1.",
                  "args": [
                    {
                      "name": "x",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "rendered (CSS px) x, relative to the container"
                    },
                    {
                      "name": "y",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "rendered (CSS px) y"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData> | null",
                  "returns": "the node under the point, or null (background, an edge only, or a destroyed instance)",
                  "examples": [
                    "cy.zoom(1); cy.pan({ x: 0, y: 0 });\nconsole.log(cy.nodeAt(0, 0)?.id()); // 'a'"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.pickNode"
              ],
              "returns": "the node under the point, or null (background, an edge only, or a destroyed instance)",
              "see": [
                "Core#pick for edges and the full draw-order answer"
              ],
              "src": "src/core.mts:2039",
              "recipes": []
            },
            {
              "name": "cy.viewportCounts",
              "descr": "Count visible nodes and edges at each level of detail in the current viewport. Resolves after the renderer computes the counts for a frame. Resolves null when headless, destroyed, or when the device is lost before that frame completes.",
              "formats": [
                {
                  "descr": "Count visible nodes and edges at each level of detail in the current viewport. Resolves after the renderer computes the counts for a frame. Resolves null when headless, destroyed, or when the device is lost before that frame completes.\n\nFor synchronous geometric containment, use `elementsInBox()` with the bounds returned by `extent()`. That query includes elements regardless of whether they are large enough to draw.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Promise<ViewportCounts | null>",
                  "returns": "`{ nodes, edges }` for the next frame drawn, or null",
                  "examples": [
                    "// A headless core has no rendered frame to count.\nconsole.log(await cy.viewportCounts()); // null"
                  ],
                  "throws": []
                }
              ],
              "returns": "`{ nodes, edges }` for the next frame drawn, or null",
              "src": "src/core.mts:2064",
              "recipes": []
            }
          ]
        },
        {
          "name": "Renderer",
          "banner": "renderer",
          "fns": [
            {
              "name": "cy.stats",
              "descr": "The renderer's frame statistics, or null when headless.  The snapshot carries the frame timings, cache hit rates and pass counters — note that `cpuFrameMs` is encode/submit cost only (submission is fire-and-forget), so reconcile fps against `gpuFrameMs`.",
              "formats": [
                {
                  "descr": "The renderer's frame statistics, or null when headless.  The snapshot carries the frame timings, cache hit rates and pass counters — note that `cpuFrameMs` is encode/submit cost only (submission is fire-and-forget), so reconcile fps against `gpuFrameMs`.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "RendererStats | null",
                  "returns": "a {@link RendererStats} snapshot, or null on a headless instance",
                  "examples": [
                    "console.log(cy.stats()); // null"
                  ],
                  "throws": []
                }
              ],
              "returns": "a {@link RendererStats} snapshot, or null on a headless instance",
              "src": "src/core.mts:2110",
              "recipes": []
            },
            {
              "name": "cy.resize",
              "descr": "Re-measure the container, redraw and emit `'resize'` (the redraw is a no-op when headless; the event still fires).",
              "formats": [
                {
                  "descr": "Re-measure the container, redraw and emit `'resize'` (the redraw is a no-op when headless; the event still fires).\n\n**Rarely needed**: a `ResizeObserver` on the container re-measures on every size change and emits `'resize'` itself — once per change, and not again for a change this call already applied — so container size changes are handled automatically. Call it where no observer exists or none can see the change.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core",
                  "examples": [
                    "// After the graph container changes size, refresh viewport dimensions.\ncy.resize();\nconsole.log(cy.width() > 0); // true"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.invalidateSize"
              ],
              "returns": "this core",
              "src": "src/core.mts:2130",
              "recipes": []
            }
          ]
        },
        {
          "name": "Image export",
          "banner": "image export",
          "fns": [
            {
              "name": "cy.png",
              "descr": "Export the rendered graph as a PNG.  Async — the pixels live on the GPU (offscreen render + readback); every output form resolves through the returned promise. Options: `bg`, `full`, `scale` or `maxWidth`/`maxHeight`, `output` ('base64uri' default | 'base64' | 'blob'; 'blob-promise' is an accepted alias of 'blob').  Headless instances reject — there is no renderer to export from.",
              "formats": [
                {
                  "descr": "Export the rendered graph as a PNG.  Async — the pixels live on the GPU (offscreen render + readback); every output form resolves through the returned promise. Options: `bg`, `full`, `scale` or `maxWidth`/`maxHeight`, `output` ('base64uri' default | 'base64' | 'blob'; 'blob-promise' is an accepted alias of 'blob').  Headless instances reject — there is no renderer to export from.",
                  "args": [
                    {
                      "name": "options",
                      "type": "ExportOptions",
                      "optional": true,
                      "rest": false,
                      "default": "{}",
                      "fields": [
                        {
                          "name": "output",
                          "type": "'base64uri' | 'base64' | 'blob' | 'blob-promise'",
                          "optional": true,
                          "descr": "result form: a data-URI string (default), the raw base64 payload,\nor a Blob ('blob-promise' is accepted as an alias of 'blob' — every\noutput form resolves through the returned promise)"
                        },
                        {
                          "name": "bg",
                          "type": "string",
                          "optional": true,
                          "descr": "background color under the graph (any CSS color).  Default:\ntransparent for png; white for jpg (JPEG has no alpha)"
                        },
                        {
                          "name": "full",
                          "type": "boolean",
                          "optional": true,
                          "descr": "export the whole graph's bounds instead of the current viewport (default false)"
                        },
                        {
                          "name": "scale",
                          "type": "number",
                          "optional": true,
                          "descr": "output pixels per rendered CSS px (viewport export) or per model\nunit (full export); default 1.  Ignored when maxWidth/maxHeight are\ngiven"
                        },
                        {
                          "name": "maxWidth",
                          "type": "number",
                          "optional": true,
                          "descr": "cap the output width in px (the scale is computed to fit; overrides `scale`)"
                        },
                        {
                          "name": "maxHeight",
                          "type": "number",
                          "optional": true,
                          "descr": "cap the output height in px (the scale is computed to fit; overrides `scale`)"
                        },
                        {
                          "name": "quality",
                          "type": "number",
                          "optional": true,
                          "descr": "jpg only: encode quality in [0, 1] (default: the browser's)"
                        }
                      ],
                      "descr": "the export options named above"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Promise<string | Blob>",
                  "returns": "the encoded image in the requested output form",
                  "examples": [
                    "// Use a mounted, renderer-ready core.\nawait cy.ready;\nconst image = await cy.png({ output: 'blob' });\nconsole.log(image.type); // image/png"
                  ],
                  "throws": []
                }
              ],
              "returns": "the encoded image in the requested output form",
              "src": "src/core.mts:2159",
              "recipes": []
            },
            {
              "name": "cy.jpg",
              "descr": "Export as JPEG: as {@link png}, plus `quality` (0..1) and a white default `bg` (JPEG has no alpha channel).",
              "formats": [
                {
                  "descr": "Export as JPEG: as {@link png}, plus `quality` (0..1) and a white default `bg` (JPEG has no alpha channel).",
                  "args": [
                    {
                      "name": "options",
                      "type": "ExportOptions",
                      "optional": true,
                      "rest": false,
                      "default": "{}",
                      "fields": [
                        {
                          "name": "output",
                          "type": "'base64uri' | 'base64' | 'blob' | 'blob-promise'",
                          "optional": true,
                          "descr": "result form: a data-URI string (default), the raw base64 payload,\nor a Blob ('blob-promise' is accepted as an alias of 'blob' — every\noutput form resolves through the returned promise)"
                        },
                        {
                          "name": "bg",
                          "type": "string",
                          "optional": true,
                          "descr": "background color under the graph (any CSS color).  Default:\ntransparent for png; white for jpg (JPEG has no alpha)"
                        },
                        {
                          "name": "full",
                          "type": "boolean",
                          "optional": true,
                          "descr": "export the whole graph's bounds instead of the current viewport (default false)"
                        },
                        {
                          "name": "scale",
                          "type": "number",
                          "optional": true,
                          "descr": "output pixels per rendered CSS px (viewport export) or per model\nunit (full export); default 1.  Ignored when maxWidth/maxHeight are\ngiven"
                        },
                        {
                          "name": "maxWidth",
                          "type": "number",
                          "optional": true,
                          "descr": "cap the output width in px (the scale is computed to fit; overrides `scale`)"
                        },
                        {
                          "name": "maxHeight",
                          "type": "number",
                          "optional": true,
                          "descr": "cap the output height in px (the scale is computed to fit; overrides `scale`)"
                        },
                        {
                          "name": "quality",
                          "type": "number",
                          "optional": true,
                          "descr": "jpg only: encode quality in [0, 1] (default: the browser's)"
                        }
                      ],
                      "descr": "as {@link png}, plus `quality`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Promise<string | Blob>",
                  "returns": "the encoded image in the requested output form",
                  "examples": [
                    "// Use a mounted, renderer-ready core.\nawait cy.ready;\nconst image = await cy.jpg({ output: 'blob' });\nconsole.log(image.type); // image/jpeg"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.jpeg"
              ],
              "returns": "the encoded image in the requested output form",
              "src": "src/core.mts:2176",
              "recipes": []
            }
          ]
        },
        {
          "name": "Graph-level data & scratch (plain objects, not columns)",
          "banner": "graph-level data & scratch (plain objects, not columns)",
          "fns": [
            {
              "name": "cy.data",
              "descr": "Read all graph-level data. Graph data is separate from element data. Binary serialization includes it; constructor loading restores it, while cy.add(buffer) leaves the destination graph's data unchanged.",
              "formats": [
                {
                  "descr": "Read all graph-level data. Graph data is separate from element data. Binary serialization includes it; constructor loading restores it, while cy.add(buffer) leaves the destination graph's data unchanged.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Record<string, unknown>",
                  "returns": "the graph's data object",
                  "examples": [
                    "cy.data('title', 'Example graph');\nconsole.log(cy.data().title); // 'Example graph'"
                  ],
                  "throws": []
                },
                {
                  "descr": "Read one graph-level data value.",
                  "args": [
                    {
                      "name": "key",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the application field to read or write"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "unknown",
                  "returns": "the value, or undefined when the key is unset",
                  "examples": [
                    "cy.data('title', 'Example graph');\nconsole.log(cy.data('title')); // 'Example graph'"
                  ],
                  "throws": []
                },
                {
                  "descr": "Write one graph-level data value. Writes emit a data event.",
                  "args": [
                    {
                      "name": "key",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the application field to read or write"
                    },
                    {
                      "name": "value",
                      "type": "unknown",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the value to store"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.data('title', 'Example graph');\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Merge several graph-level data fields. Writes emit a data event.",
                  "args": [
                    {
                      "name": "patch",
                      "type": "Record<string, unknown>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the fields to merge; other fields stay unchanged"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.data({ title: 'Example graph' });\nconsole.log(cy.data('title')); // 'Example graph'"
                  ],
                  "throws": []
                },
                {
                  "descr": "Read or write graph-level data with a tuple of arguments.",
                  "args": [
                    {
                      "name": "args",
                      "type": "| [] | [key: string] | [key: string, value: unknown] | [patch: Record<string, unknown>]",
                      "optional": false,
                      "rest": true,
                      "fields": [],
                      "descr": "no arguments to read the object, a key to read a value, or a key and value or patch object to write"
                    }
                  ],
                  "callable": true,
                  "callForms": [
                    [],
                    [
                      {
                        "name": "key",
                        "type": "string",
                        "descr": "",
                        "optional": false
                      }
                    ],
                    [
                      {
                        "name": "key",
                        "type": "string",
                        "descr": "",
                        "optional": false
                      },
                      {
                        "name": "value",
                        "type": "unknown",
                        "descr": "",
                        "optional": false
                      }
                    ],
                    [
                      {
                        "name": "patch",
                        "type": "Record<string, unknown>",
                        "descr": "",
                        "optional": false
                      }
                    ]
                  ],
                  "typeParameters": "",
                  "returnType": "unknown",
                  "returns": "the object or value when reading, this core when writing",
                  "examples": [
                    "console.log(cy.data('missing')); // undefined"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.attr"
              ],
              "returns": "the graph's data object",
              "src": "src/core.mts:2196",
              "recipes": [
                {
                  "title": "save graph data and recreate a core",
                  "url": "/docs/recipes/#recipes/save-graph-data-and-recreate-a-core"
                }
              ]
            },
            {
              "name": "cy.removeData",
              "descr": "Delete graph-level data keys.  Emits `data` when anything was removed.",
              "formats": [
                {
                  "descr": "Delete graph-level data keys.  Emits `data` when anything was removed.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.data('temporary', 1);\ncy.removeData();\nconsole.log(cy.data('temporary')); // undefined"
                  ],
                  "throws": []
                },
                {
                  "descr": "Delete graph-level data keys.  Emits `data` when anything was removed.",
                  "args": [
                    {
                      "name": "names",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "space-separated key names; omit to clear everything"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.data('temporary', 1);\ncy.removeData('temporary');\nconsole.log(cy.data('temporary')); // undefined"
                  ],
                  "throws": []
                },
                {
                  "descr": "Delete graph-level data keys.  Emits `data` when anything was removed.",
                  "args": [
                    {
                      "name": "names",
                      "type": "string",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "space-separated key names; omit to clear everything"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.data('temporary', 1);\ncy.removeData('temporary');\nconsole.log(cy.data('temporary')); // undefined"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.removeAttr"
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:2257",
              "recipes": []
            },
            {
              "name": "cy.scratch",
              "descr": "Read all graph-level scratch data. Namespace extension keys, for example '_myExtension'. Scratch is transient, never exported, and emits no events.",
              "formats": [
                {
                  "descr": "Read all graph-level scratch data. Namespace extension keys, for example '_myExtension'. Scratch is transient, never exported, and emits no events.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Record<string, unknown>",
                  "returns": "the graph's scratch data object",
                  "examples": [
                    "cy.scratch('title', 'Example graph');\nconsole.log(cy.scratch().title); // 'Example graph'"
                  ],
                  "throws": []
                },
                {
                  "descr": "Read one graph-level scratch data value.",
                  "args": [
                    {
                      "name": "key",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the application field to read or write"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "unknown",
                  "returns": "the value, or undefined when the key is unset",
                  "examples": [
                    "cy.scratch('title', 'Example graph');\nconsole.log(cy.scratch('title')); // 'Example graph'"
                  ],
                  "throws": []
                },
                {
                  "descr": "Write one graph-level scratch data value. Scratch writes do not emit events and are never exported.",
                  "args": [
                    {
                      "name": "key",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the application field to read or write"
                    },
                    {
                      "name": "value",
                      "type": "unknown",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the value to store"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.scratch('title', 'Example graph');\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Merge several graph-level scratch data fields. Scratch writes do not emit events and are never exported.",
                  "args": [
                    {
                      "name": "patch",
                      "type": "Record<string, unknown>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the fields to merge; other fields stay unchanged"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.scratch({ title: 'Example graph' });\nconsole.log(cy.scratch('title')); // 'Example graph'"
                  ],
                  "throws": []
                },
                {
                  "descr": "Read or write graph-level scratch data with a tuple of arguments.",
                  "args": [
                    {
                      "name": "args",
                      "type": "| [] | [key: string] | [key: string, value: unknown] | [patch: Record<string, unknown>]",
                      "optional": false,
                      "rest": true,
                      "fields": [],
                      "descr": "no arguments to read the object, a key to read a value, or a key and value or patch object to write"
                    }
                  ],
                  "callable": true,
                  "callForms": [
                    [],
                    [
                      {
                        "name": "key",
                        "type": "string",
                        "descr": "",
                        "optional": false
                      }
                    ],
                    [
                      {
                        "name": "key",
                        "type": "string",
                        "descr": "",
                        "optional": false
                      },
                      {
                        "name": "value",
                        "type": "unknown",
                        "descr": "",
                        "optional": false
                      }
                    ],
                    [
                      {
                        "name": "patch",
                        "type": "Record<string, unknown>",
                        "descr": "",
                        "optional": false
                      }
                    ]
                  ],
                  "typeParameters": "",
                  "returnType": "unknown",
                  "returns": "the object or value when reading, this core when writing",
                  "examples": [
                    "console.log(cy.scratch('missing')); // undefined"
                  ],
                  "throws": []
                }
              ],
              "returns": "the graph's scratch data object",
              "src": "src/core.mts:2304",
              "recipes": []
            },
            {
              "name": "cy.removeScratch",
              "descr": "Delete graph-level scratch keys.",
              "formats": [
                {
                  "descr": "Delete graph-level scratch keys.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.scratch('temporary', 1);\ncy.removeScratch();\nconsole.log(cy.scratch('temporary')); // undefined"
                  ],
                  "throws": []
                },
                {
                  "descr": "Delete graph-level scratch keys.",
                  "args": [
                    {
                      "name": "names",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "space-separated key names; omit to clear everything"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.scratch('temporary', 1);\ncy.removeScratch('temporary');\nconsole.log(cy.scratch('temporary')); // undefined"
                  ],
                  "throws": []
                },
                {
                  "descr": "Delete graph-level scratch keys.",
                  "args": [
                    {
                      "name": "names",
                      "type": "string",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "space-separated key names; omit to clear everything"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "cy.scratch('temporary', 1);\ncy.removeScratch('temporary');\nconsole.log(cy.scratch('temporary')); // undefined"
                  ],
                  "throws": []
                }
              ],
              "returns": "this core, for chaining",
              "src": "src/core.mts:2364",
              "recipes": []
            }
          ]
        },
        {
          "name": "Interaction gating",
          "banner": "interaction gating",
          "fns": [
            {
              "name": "cy.autolock",
              "descr": "Read whether every node is locked (immovable) regardless of its own `locked` flag — the graph-wide override. Turned on mid-tween, every running position tween holds where it got to, as a node locked mid-tween does.",
              "formats": [
                {
                  "descr": "Read whether every node is locked (immovable) regardless of its own `locked` flag — the graph-wide override. Turned on mid-tween, every running position tween holds where it got to, as a node locked mid-tween does.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "the current autolock value",
                  "examples": [
                    "console.log(cy.autolock()); // false"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set whether every node is locked (immovable) regardless of its own `locked` flag — the graph-wide override. Turned on mid-tween, every running position tween holds where it got to, as a node locked mid-tween does.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.autolock(false);\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get or set whether every node is locked (immovable) regardless of its own `locked` flag — the graph-wide override. Turned on mid-tween, every running position tween holds where it got to, as a node locked mid-tween does.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting; omit to read"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean | this",
                  "returns": "the current setting when reading, this core when setting",
                  "examples": [
                    "console.log(cy.autolock()); // false"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.autolockNodes"
              ],
              "returns": "the current autolock value",
              "src": "src/core.mts:2411",
              "recipes": []
            },
            {
              "name": "cy.autoungrabify",
              "descr": "Read whether every node is ungrabbable regardless of its own `grabbable` flag.  Unlike `autolock()`, this blocks only user dragging; programmatic position writes still apply.",
              "formats": [
                {
                  "descr": "Read whether every node is ungrabbable regardless of its own `grabbable` flag.  Unlike `autolock()`, this blocks only user dragging; programmatic position writes still apply.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "the current autoungrabify value",
                  "examples": [
                    "console.log(cy.autoungrabify()); // false"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set whether every node is ungrabbable regardless of its own `grabbable` flag.  Unlike `autolock()`, this blocks only user dragging; programmatic position writes still apply.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.autoungrabify(false);\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get or set whether every node is ungrabbable regardless of its own `grabbable` flag.  Unlike `autolock()`, this blocks only user dragging; programmatic position writes still apply.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting; omit to read"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean | this",
                  "returns": "the current setting when reading, this core when setting",
                  "examples": [
                    "console.log(cy.autoungrabify()); // false"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "cy.autoungrabifyNodes"
              ],
              "returns": "the current autoungrabify value",
              "src": "src/core.mts:2463",
              "recipes": []
            },
            {
              "name": "cy.autounselectify",
              "descr": "Read whether every element is unselectable regardless of its own `selectable` flag.  Programmatic `select()` still applies.",
              "formats": [
                {
                  "descr": "Read whether every element is unselectable regardless of its own `selectable` flag.  Programmatic `select()` still applies.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "the current autounselectify value",
                  "examples": [
                    "console.log(cy.autounselectify()); // false"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set whether every element is unselectable regardless of its own `selectable` flag.  Programmatic `select()` still applies.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.autounselectify(false);\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get or set whether every element is unselectable regardless of its own `selectable` flag.  Programmatic `select()` still applies.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting; omit to read"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean | this",
                  "returns": "the current setting when reading, this core when setting",
                  "examples": [
                    "console.log(cy.autounselectify()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "the current autounselectify value",
              "src": "src/core.mts:2508",
              "recipes": []
            },
            {
              "name": "cy.panningEnabled",
              "descr": "Read whether panning is allowed at all — programmatic `pan()` included.  Use `userPanningEnabled()` to block only the gesture.",
              "formats": [
                {
                  "descr": "Read whether panning is allowed at all — programmatic `pan()` included.  Use `userPanningEnabled()` to block only the gesture.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "the current panningEnabled value",
                  "examples": [
                    "console.log(cy.panningEnabled()); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set whether panning is allowed at all — programmatic `pan()` included.  Use `userPanningEnabled()` to block only the gesture.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.panningEnabled(true);\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get or set whether panning is allowed at all — programmatic `pan()` included.  Use `userPanningEnabled()` to block only the gesture.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting; omit to read"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean | this",
                  "returns": "the current setting when reading, this core when setting",
                  "examples": [
                    "console.log(cy.panningEnabled()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "the current panningEnabled value",
              "src": "src/core.mts:2554",
              "recipes": []
            },
            {
              "name": "cy.userPanningEnabled",
              "descr": "Read whether the user may pan by dragging.  Programmatic `pan()` is unaffected.",
              "formats": [
                {
                  "descr": "Read whether the user may pan by dragging.  Programmatic `pan()` is unaffected.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "the current userPanningEnabled value",
                  "examples": [
                    "console.log(cy.userPanningEnabled()); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set whether the user may pan by dragging.  Programmatic `pan()` is unaffected.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.userPanningEnabled(true);\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get or set whether the user may pan by dragging.  Programmatic `pan()` is unaffected.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting; omit to read"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean | this",
                  "returns": "the current setting when reading, this core when setting",
                  "examples": [
                    "console.log(cy.userPanningEnabled()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "the current userPanningEnabled value",
              "src": "src/core.mts:2597",
              "recipes": []
            },
            {
              "name": "cy.zoomingEnabled",
              "descr": "Read whether zooming is allowed at all — programmatic `zoom()` included.  Use `userZoomingEnabled()` to block only the gesture.",
              "formats": [
                {
                  "descr": "Read whether zooming is allowed at all — programmatic `zoom()` included.  Use `userZoomingEnabled()` to block only the gesture.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "the current zoomingEnabled value",
                  "examples": [
                    "console.log(cy.zoomingEnabled()); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set whether zooming is allowed at all — programmatic `zoom()` included.  Use `userZoomingEnabled()` to block only the gesture.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.zoomingEnabled(true);\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get or set whether zooming is allowed at all — programmatic `zoom()` included.  Use `userZoomingEnabled()` to block only the gesture.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting; omit to read"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean | this",
                  "returns": "the current setting when reading, this core when setting",
                  "examples": [
                    "console.log(cy.zoomingEnabled()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "the current zoomingEnabled value",
              "src": "src/core.mts:2640",
              "recipes": []
            },
            {
              "name": "cy.userZoomingEnabled",
              "descr": "Read whether the user may zoom by wheel or pinch. Programmatic `zoom()` is unaffected.",
              "formats": [
                {
                  "descr": "Read whether the user may zoom by wheel or pinch. Programmatic `zoom()` is unaffected.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "the current userZoomingEnabled value",
                  "examples": [
                    "console.log(cy.userZoomingEnabled()); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set whether the user may zoom by wheel or pinch. Programmatic `zoom()` is unaffected.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.userZoomingEnabled(true);\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get or set whether the user may zoom by wheel or pinch. Programmatic `zoom()` is unaffected.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting; omit to read"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean | this",
                  "returns": "the current setting when reading, this core when setting",
                  "examples": [
                    "console.log(cy.userZoomingEnabled()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "the current userZoomingEnabled value",
              "src": "src/core.mts:2683",
              "recipes": []
            },
            {
              "name": "cy.boxSelectionIncludesLabels",
              "descr": "Whether box selection considers label boxes as well as node bodies (default off). Its sense **follows `boxSelectionMode`**: under `'contain'` the label box must *also* be inside the band, under `'overlap'` a label that merely crosses the band is *enough*.",
              "formats": [
                {
                  "descr": "Whether box selection considers label boxes as well as node bodies (default off). Its sense **follows `boxSelectionMode`**: under `'contain'` the label box must *also* be inside the band, under `'overlap'` a label that merely crosses the band is *enough*.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "the current boxSelectionIncludesLabels value",
                  "examples": [
                    "console.log(cy.boxSelectionIncludesLabels()); // false"
                  ],
                  "throws": []
                },
                {
                  "descr": "Whether box selection considers label boxes as well as node bodies (default off). Its sense **follows `boxSelectionMode`**: under `'contain'` the label box must *also* be inside the band, under `'overlap'` a label that merely crosses the band is *enough*.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the setting to apply"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.boxSelectionIncludesLabels(false);\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Whether box selection considers label boxes as well as node bodies (default off). Its sense **follows `boxSelectionMode`**: under `'contain'` the label box must *also* be inside the band, under `'overlap'` a label that merely crosses the band is *enough*.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the setting to apply; omit to read it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean | this",
                  "returns": "the setting, or this when setting",
                  "examples": [
                    "console.log(cy.boxSelectionIncludesLabels()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "the current boxSelectionIncludesLabels value",
              "src": "src/core.mts:2729",
              "recipes": []
            },
            {
              "name": "cy.boxSelectionMode",
              "descr": "What the box-selection gesture counts as caught: `'contain'` (default) selects only elements wholly inside the band; `'overlap'` selects anything the band touches — a node whose box intersects it, an edge any part of whose drawn path crosses it..",
              "formats": [
                {
                  "descr": "What the box-selection gesture counts as caught: `'contain'` (default) selects only elements wholly inside the band; `'overlap'` selects anything the band touches — a node whose box intersects it, an edge any part of whose drawn path crosses it..\n\nTwo notes on the boundary. This setting is read by the **gesture** only: `cy.elementsInBox()` stays the pure geometric containment query it has always been, so a programmatic caller's results do not change under *this* setting. And `boxSelectionIncludesLabels` reverses sense with the mode, because it can only mean one thing in each: under 'contain' the label box must *also* be inside, under 'overlap' a label that crosses the band is *enough*.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "BoxSelectionMode",
                  "returns": "the current boxSelectionMode value",
                  "examples": [
                    "console.log(cy.boxSelectionMode()); // \"contain\""
                  ],
                  "throws": []
                },
                {
                  "descr": "What the box-selection gesture counts as caught: `'contain'` (default) selects only elements wholly inside the band; `'overlap'` selects anything the band touches — a node whose box intersects it, an edge any part of whose drawn path crosses it..\n\nTwo notes on the boundary. This setting is read by the **gesture** only: `cy.elementsInBox()` stays the pure geometric containment query it has always been, so a programmatic caller's results do not change under *this* setting. And `boxSelectionIncludesLabels` reverses sense with the mode, because it can only mean one thing in each: under 'contain' the label box must *also* be inside, under 'overlap' a label that crosses the band is *enough*.",
                  "args": [
                    {
                      "name": "mode",
                      "type": "BoxSelectionMode",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new mode"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.boxSelectionMode(\"contain\");\nconsole.log(result === cy); // true"
                  ],
                  "throws": [
                    "if `mode` is neither 'contain' nor 'overlap'"
                  ]
                },
                {
                  "descr": "What the box-selection gesture counts as caught: `'contain'` (default) selects only elements wholly inside the band; `'overlap'` selects anything the band touches — a node whose box intersects it, an edge any part of whose drawn path crosses it..\n\nTwo notes on the boundary. This setting is read by the **gesture** only: `cy.elementsInBox()` stays the pure geometric containment query it has always been, so a programmatic caller's results do not change under *this* setting. And `boxSelectionIncludesLabels` reverses sense with the mode, because it can only mean one thing in each: under 'contain' the label box must *also* be inside, under 'overlap' a label that crosses the band is *enough*.",
                  "args": [
                    {
                      "name": "mode",
                      "type": "BoxSelectionMode",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the mode to set; omit to read the current one"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "BoxSelectionMode | this",
                  "returns": "the mode, or this when setting",
                  "examples": [
                    "console.log(cy.boxSelectionMode()); // \"contain\""
                  ],
                  "throws": [
                    "if `mode` is neither 'contain' nor 'overlap'"
                  ]
                }
              ],
              "returns": "the current boxSelectionMode value",
              "throws": [
                "if `mode` is neither 'contain' nor 'overlap'"
              ],
              "src": "src/core.mts:2788",
              "recipes": []
            },
            {
              "name": "cy.boxSelectionEnabled",
              "descr": "Read whether the box-selection gesture is available.",
              "formats": [
                {
                  "descr": "Read whether the box-selection gesture is available.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "the current boxSelectionEnabled value",
                  "examples": [
                    "console.log(cy.boxSelectionEnabled()); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set whether the box-selection gesture is available.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.boxSelectionEnabled(true);\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get or set whether the box-selection gesture is available.",
                  "args": [
                    {
                      "name": "bool",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the new setting; omit to read"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean | this",
                  "returns": "the current setting when reading, this core when setting",
                  "examples": [
                    "console.log(cy.boxSelectionEnabled()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "the current boxSelectionEnabled value",
              "src": "src/core.mts:2880",
              "recipes": []
            },
            {
              "name": "cy.pointerCursors",
              "descr": "Read the pointer cursor settings.",
              "formats": [
                {
                  "descr": "Read the pointer cursor settings.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean | Partial<CursorMap>",
                  "returns": "true or false for built-in cursors, or the custom cursor configuration",
                  "examples": [
                    "console.log(cy.pointerCursors()); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set the pointer cursors used by gestures.",
                  "args": [
                    {
                      "name": "cursors",
                      "type": "boolean | Partial<CursorMap>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "true for built-in cursors, false to disable, or custom cursors"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.pointerCursors(false);\nconsole.log(result === cy); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Get or set whether the canvas writes CSS cursors for the gesture affordances: `grab` over a draggable node and `grabbing` while it or the background is being dragged, `pointer` over any other interactive element, `crosshair` while box-selecting.\n\nThree shapes. `true` (the default) takes the built-in map; `false` means the interaction layer never touches `style.cursor` at all — for an app that sets its own cursors. An object overrides individual entries (`{ pan: 'move' }`) and falls back to the defaults for the rest, where `''` means inherit.\n\nIdle over background is `''` rather than `default` for that same reason: the canvas fills its container, so an inline cursor would override the app's own, and an instance with nothing to say says nothing. A touch pointer never gets a cursor either way.",
                  "args": [
                    {
                      "name": "cursors",
                      "type": "boolean | Partial<CursorMap>",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the setting to apply; omit to read the current one"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean | Partial<CursorMap> | this",
                  "returns": "the setting, or this core when setting",
                  "examples": [
                    "console.log(cy.pointerCursors()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true or false for built-in cursors, or the custom cursor configuration",
              "src": "src/core.mts:2918",
              "recipes": []
            },
            {
              "name": "cy.selectionType",
              "descr": "How user selection composes: 'single' (a tap or box replaces the selection) or 'additive' (taps toggle and boxes add, as if a multiple-select key were always held).",
              "formats": [
                {
                  "descr": "How user selection composes: 'single' (a tap or box replaces the selection) or 'additive' (taps toggle and boxes add, as if a multiple-select key were always held).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "'single' | 'additive'",
                  "returns": "the current selectionType value",
                  "examples": [
                    "console.log(cy.selectionType()); // \"single\""
                  ],
                  "throws": [
                    "if `type` is neither 'single' nor 'additive'"
                  ]
                },
                {
                  "descr": "How user selection composes: 'single' (a tap or box replaces the selection) or 'additive' (taps toggle and boxes add, as if a multiple-select key were always held).",
                  "args": [
                    {
                      "name": "type",
                      "type": "'single' | 'additive'",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new mode"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.selectionType(\"single\");\nconsole.log(result === cy); // true"
                  ],
                  "throws": [
                    "if `type` is neither 'single' nor 'additive'"
                  ]
                },
                {
                  "descr": "How user selection composes: 'single' (a tap or box replaces the selection) or 'additive' (taps toggle and boxes add, as if a multiple-select key were always held).",
                  "args": [
                    {
                      "name": "type",
                      "type": "'single' | 'additive'",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the mode to set; omit to read the current one"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "('single' | 'additive') | this",
                  "returns": "the mode, or this when setting",
                  "examples": [
                    "console.log(cy.selectionType()); // \"single\""
                  ],
                  "throws": [
                    "if `type` is neither 'single' nor 'additive'"
                  ]
                }
              ],
              "returns": "the current selectionType value",
              "throws": [
                "if `type` is neither 'single' nor 'additive'"
              ],
              "src": "src/core.mts:2980",
              "recipes": []
            },
            {
              "name": "cy.multiClickDebounceTime",
              "descr": "The dbltap/onetap debounce window in ms (default 250).",
              "formats": [
                {
                  "descr": "The dbltap/onetap debounce window in ms (default 250).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the current multiClickDebounceTime value",
                  "examples": [
                    "console.log(cy.multiClickDebounceTime()); // 250"
                  ],
                  "throws": []
                },
                {
                  "descr": "The dbltap/onetap debounce window in ms (default 250).",
                  "args": [
                    {
                      "name": "ms",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the window to set"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.multiClickDebounceTime(250);\nconsole.log(result === cy); // true"
                  ],
                  "throws": [
                    "if `ms` is not a finite non-negative number"
                  ]
                },
                {
                  "descr": "The dbltap/onetap debounce window in ms (default 250).",
                  "args": [
                    {
                      "name": "ms",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the window to set; omit to read it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | this",
                  "returns": "the window, or this when setting",
                  "examples": [
                    "console.log(cy.multiClickDebounceTime()); // 250"
                  ],
                  "throws": [
                    "if `ms` is not a finite non-negative number"
                  ]
                }
              ],
              "returns": "the current multiClickDebounceTime value",
              "throws": [
                "if `ms` is not a finite non-negative number"
              ],
              "src": "src/core.mts:3045",
              "recipes": []
            },
            {
              "name": "cy.wheelSensitivity",
              "descr": "Wheel-zoom sensitivity: a multiplier on the zoom-per-wheel-tick exponent (default 1).  Non-default values warn once per instance — a custom sensitivity tuned on one mouse/OS zooms unnaturally on others.",
              "formats": [
                {
                  "descr": "Wheel-zoom sensitivity: a multiplier on the zoom-per-wheel-tick exponent (default 1).  Non-default values warn once per instance — a custom sensitivity tuned on one mouse/OS zooms unnaturally on others.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the current wheelSensitivity value",
                  "examples": [
                    "console.log(cy.wheelSensitivity()); // 1"
                  ],
                  "throws": []
                },
                {
                  "descr": "Wheel-zoom sensitivity: a multiplier on the zoom-per-wheel-tick exponent (default 1).  Non-default values warn once per instance — a custom sensitivity tuned on one mouse/OS zooms unnaturally on others.",
                  "args": [
                    {
                      "name": "mult",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the multiplier to set"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.wheelSensitivity(1);\nconsole.log(result === cy); // true"
                  ],
                  "throws": [
                    "if `mult` is not a finite positive number (0 would freeze the zoom, so the bound is strict where the threshold setters allow 0)"
                  ]
                },
                {
                  "descr": "Wheel-zoom sensitivity: a multiplier on the zoom-per-wheel-tick exponent (default 1).  Non-default values warn once per instance — a custom sensitivity tuned on one mouse/OS zooms unnaturally on others.",
                  "args": [
                    {
                      "name": "mult",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the multiplier to set; omit to read it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | this",
                  "returns": "the multiplier, or this when setting",
                  "examples": [
                    "console.log(cy.wheelSensitivity()); // 1"
                  ],
                  "throws": [
                    "if `mult` is not a finite positive number (0 would freeze the zoom, so the bound is strict where the threshold setters allow 0)"
                  ]
                }
              ],
              "returns": "the current wheelSensitivity value",
              "throws": [
                "if `mult` is not a finite positive number (0 would freeze the zoom, so the bound is strict where the threshold setters allow 0)"
              ],
              "src": "src/core.mts:3110",
              "recipes": []
            },
            {
              "name": "cy.wheelBehavior",
              "descr": "What a wheel over the canvas does: `'zoom'` (the default) zooms about the cursor; `'pan'` pans by the wheel's delta and emits `scrollpan`, while a ctrl- or meta-wheel — the encoding a trackpad pinch arrives in — still zooms; `'modifier-zoom'` leaves the plain wheel to the page (it scrolls past the graph) and zooms only on a ctrl- or meta-wheel. Every mode honours the toggles (`userZoomingEnabled` gates a zoom, `userPanningEnabled` a pan), and a wheel the settings leave inert is **not** `preventDefault()`ed, so the page scrolls in every mode.",
              "formats": [
                {
                  "descr": "What a wheel over the canvas does: `'zoom'` (the default) zooms about the cursor; `'pan'` pans by the wheel's delta and emits `scrollpan`, while a ctrl- or meta-wheel — the encoding a trackpad pinch arrives in — still zooms; `'modifier-zoom'` leaves the plain wheel to the page (it scrolls past the graph) and zooms only on a ctrl- or meta-wheel. Every mode honours the toggles (`userZoomingEnabled` gates a zoom, `userPanningEnabled` a pan), and a wheel the settings leave inert is **not** `preventDefault()`ed, so the page scrolls in every mode.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "WheelBehavior",
                  "returns": "the current wheelBehavior value",
                  "examples": [
                    "console.log(cy.wheelBehavior()); // \"zoom\""
                  ],
                  "throws": [
                    "if `mode` is not 'zoom', 'pan' or 'modifier-zoom'"
                  ]
                },
                {
                  "descr": "What a wheel over the canvas does: `'zoom'` (the default) zooms about the cursor; `'pan'` pans by the wheel's delta and emits `scrollpan`, while a ctrl- or meta-wheel — the encoding a trackpad pinch arrives in — still zooms; `'modifier-zoom'` leaves the plain wheel to the page (it scrolls past the graph) and zooms only on a ctrl- or meta-wheel. Every mode honours the toggles (`userZoomingEnabled` gates a zoom, `userPanningEnabled` a pan), and a wheel the settings leave inert is **not** `preventDefault()`ed, so the page scrolls in every mode.",
                  "args": [
                    {
                      "name": "mode",
                      "type": "WheelBehavior",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the behaviour to set"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.wheelBehavior(\"zoom\");\nconsole.log(result === cy); // true"
                  ],
                  "throws": [
                    "if `mode` is not 'zoom', 'pan' or 'modifier-zoom'"
                  ]
                },
                {
                  "descr": "What a wheel over the canvas does: `'zoom'` (the default) zooms about the cursor; `'pan'` pans by the wheel's delta and emits `scrollpan`, while a ctrl- or meta-wheel — the encoding a trackpad pinch arrives in — still zooms; `'modifier-zoom'` leaves the plain wheel to the page (it scrolls past the graph) and zooms only on a ctrl- or meta-wheel. Every mode honours the toggles (`userZoomingEnabled` gates a zoom, `userPanningEnabled` a pan), and a wheel the settings leave inert is **not** `preventDefault()`ed, so the page scrolls in every mode.",
                  "args": [
                    {
                      "name": "mode",
                      "type": "WheelBehavior",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the behaviour to set; omit to read it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "WheelBehavior | this",
                  "returns": "the behaviour, or this when setting",
                  "examples": [
                    "console.log(cy.wheelBehavior()); // \"zoom\""
                  ],
                  "throws": [
                    "if `mode` is not 'zoom', 'pan' or 'modifier-zoom'"
                  ]
                }
              ],
              "returns": "the current wheelBehavior value",
              "throws": [
                "if `mode` is not 'zoom', 'pan' or 'modifier-zoom'"
              ],
              "src": "src/core.mts:3196",
              "recipes": []
            },
            {
              "name": "cy.desktopTapThreshold",
              "descr": "Css px a mouse/pen press may move and still count as a tap (default 4).",
              "formats": [
                {
                  "descr": "Css px a mouse/pen press may move and still count as a tap (default 4).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the current desktopTapThreshold value",
                  "examples": [
                    "console.log(cy.desktopTapThreshold()); // 4"
                  ],
                  "throws": []
                },
                {
                  "descr": "Css px a mouse/pen press may move and still count as a tap (default 4).",
                  "args": [
                    {
                      "name": "px",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new threshold"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.desktopTapThreshold(4);\nconsole.log(result === cy); // true"
                  ],
                  "throws": [
                    "if `px` is not a finite non-negative number"
                  ]
                },
                {
                  "descr": "Css px a mouse/pen press may move and still count as a tap (default 4).",
                  "args": [
                    {
                      "name": "px",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the threshold to set; omit to read it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | this",
                  "returns": "the threshold, or this when setting",
                  "examples": [
                    "console.log(cy.desktopTapThreshold()); // 4"
                  ],
                  "throws": [
                    "if `px` is not a finite non-negative number"
                  ]
                }
              ],
              "returns": "the current desktopTapThreshold value",
              "throws": [
                "if `px` is not a finite non-negative number"
              ],
              "src": "src/core.mts:3276",
              "recipes": []
            },
            {
              "name": "cy.touchTapThreshold",
              "descr": "Css px a touch press may move and still count as a tap (default 8).",
              "formats": [
                {
                  "descr": "Css px a touch press may move and still count as a tap (default 8).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the current touchTapThreshold value",
                  "examples": [
                    "console.log(cy.touchTapThreshold()); // 8"
                  ],
                  "throws": []
                },
                {
                  "descr": "Css px a touch press may move and still count as a tap (default 8).",
                  "args": [
                    {
                      "name": "px",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new threshold"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.touchTapThreshold(8);\nconsole.log(result === cy); // true"
                  ],
                  "throws": [
                    "if `px` is not a finite non-negative number"
                  ]
                },
                {
                  "descr": "Css px a touch press may move and still count as a tap (default 8).",
                  "args": [
                    {
                      "name": "px",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the threshold to set; omit to read it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | this",
                  "returns": "the threshold, or this when setting",
                  "examples": [
                    "console.log(cy.touchTapThreshold()); // 8"
                  ],
                  "throws": [
                    "if `px` is not a finite non-negative number"
                  ]
                }
              ],
              "returns": "the current touchTapThreshold value",
              "throws": [
                "if `px` is not a finite non-negative number"
              ],
              "src": "src/core.mts:3335",
              "recipes": []
            },
            {
              "name": "cy.tapholdDuration",
              "descr": "Unmoved-press duration before 'taphold' fires, ms (default 500).",
              "formats": [
                {
                  "descr": "Unmoved-press duration before 'taphold' fires, ms (default 500).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the current tapholdDuration value",
                  "examples": [
                    "console.log(cy.tapholdDuration()); // 500"
                  ],
                  "throws": []
                },
                {
                  "descr": "Unmoved-press duration before 'taphold' fires, ms (default 500).",
                  "args": [
                    {
                      "name": "ms",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the new duration"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core, for chaining",
                  "examples": [
                    "const result = cy.tapholdDuration(500);\nconsole.log(result === cy); // true"
                  ],
                  "throws": [
                    "if `ms` is not a finite non-negative number"
                  ]
                },
                {
                  "descr": "Unmoved-press duration before 'taphold' fires, ms (default 500).",
                  "args": [
                    {
                      "name": "ms",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the duration to set; omit to read it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | this",
                  "returns": "the duration, or this when setting",
                  "examples": [
                    "console.log(cy.tapholdDuration()); // 500"
                  ],
                  "throws": [
                    "if `ms` is not a finite non-negative number"
                  ]
                }
              ],
              "returns": "the current tapholdDuration value",
              "throws": [
                "if `ms` is not a finite non-negative number"
              ],
              "src": "src/core.mts:3394",
              "recipes": []
            }
          ]
        },
        {
          "name": "Environment",
          "banner": "environment",
          "fns": [
            {
              "name": "cy.isReady",
              "descr": "Whether the render pipeline is usable yet. Always true on a headless instance; on a rendered one this flips when `cy.ready` resolves.",
              "formats": [
                {
                  "descr": "Whether the render pipeline is usable yet. Always true on a headless instance; on a rendered one this flips when `cy.ready` resolves.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true once rendering can proceed",
                  "examples": [
                    "console.log(cy.isReady()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true once rendering can proceed",
              "src": "src/core.mts:3470",
              "recipes": []
            },
            {
              "name": "cy.headless",
              "descr": "Whether this instance has no container and therefore no GPU — the Node-testable mode, in which every model API works and the render, pick and image-export paths are no-ops or reject.",
              "formats": [
                {
                  "descr": "Whether this instance has no container and therefore no GPU — the Node-testable mode, in which every model API works and the render, pick and image-export paths are no-ops or reject.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when running headless",
                  "examples": [
                    "console.log(cy.headless()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when running headless",
              "src": "src/core.mts:3485",
              "recipes": []
            },
            {
              "name": "cy.styleEnabled",
              "descr": "Always true: there is no style-disabled mode, since the columnar model derives geometry from stored style channels rather than treating style as an optional layer. Use this to inspect the instance's style capability.",
              "formats": [
                {
                  "descr": "Always true: there is no style-disabled mode, since the columnar model derives geometry from stored style channels rather than treating style as an optional layer. Use this to inspect the instance's style capability.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true",
                  "examples": [
                    "console.log(cy.styleEnabled()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true",
              "src": "src/core.mts:3500",
              "recipes": []
            },
            {
              "name": "cy.hasCompoundNodes",
              "descr": "Whether any node currently has a parent. Worth checking because the compound tier changes paint evaluation and draw order; the renderer pays nothing for compounds while this is false.",
              "formats": [
                {
                  "descr": "Whether any node currently has a parent. Worth checking because the compound tier changes paint evaluation and draw order; the renderer pays nothing for compounds while this is false.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when the graph has at least one parent/child relation",
                  "examples": [
                    "console.log(cy.hasCompoundNodes()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when the graph has at least one parent/child relation",
              "src": "src/core.mts:3515",
              "recipes": []
            },
            {
              "name": "cy.hasElementWithId",
              "descr": "Whether an element with this id exists, via the O(1) id index — cheaper than `getElementById( id).nonempty()` because no handle is materialized.",
              "formats": [
                {
                  "descr": "Whether an element with this id exists, via the O(1) id index — cheaper than `getElementById( id).nonempty()` because no handle is materialized.",
                  "args": [
                    {
                      "name": "id",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the element id"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when the graph holds that element",
                  "examples": [
                    "console.log(cy.hasElementWithId('a')); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when the graph holds that element",
              "src": "src/core.mts:3530",
              "recipes": []
            },
            {
              "name": "cy.window",
              "descr": "The `window` this instance renders into, or null when there is no DOM (Node). Useful for extensions that need the hosting realm.",
              "formats": [
                {
                  "descr": "The `window` this instance renders into, or null when there is no DOM (Node). Useful for extensions that need the hosting realm.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "(Window & typeof globalThis) | null",
                  "returns": "the global window, or null outside a browser",
                  "examples": [
                    "console.log(cy.window()); // null"
                  ],
                  "throws": []
                }
              ],
              "returns": "the global window, or null outside a browser",
              "src": "src/core.mts:3549",
              "recipes": []
            },
            {
              "name": "cy.options",
              "descr": "The options the instance was constructed with.",
              "formats": [
                {
                  "descr": "The options the instance was constructed with.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "CytoscapeOptions<NodeData, EdgeData>",
                  "returns": "the caller's own options object, held by reference — not a copy and not a defaults-resolved view, so an option the caller omitted reads back absent rather than as the default in force",
                  "examples": [
                    "console.log(cy.options().headless); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "the caller's own options object, held by reference — not a copy and not a defaults-resolved view, so an option the caller omitted reads back absent rather than as the default in force",
              "src": "src/core.mts:3563",
              "recipes": []
            },
            {
              "name": "cy.serialize",
              "descr": "Export graph elements and graph-level data as a binary buffer. Load it into a new instance with `cytoscape({ elements: buffer })`, or add its elements to an existing instance with `cy.add(buffer)`.",
              "formats": [
                {
                  "descr": "Export graph elements and graph-level data as a binary buffer. Load it into a new instance with `cytoscape({ elements: buffer })`, or add its elements to an existing instance with `cy.add(buffer)`.\n\nThe buffer carries element identity, positions, topology, selection and data. It excludes stylesheet, viewport and scratch. Constructor loading applies its graph-level data; `add()` leaves the destination's graph data unchanged.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "ArrayBuffer",
                  "returns": "a fresh little-endian buffer, self-contained (every edge endpoint indexes a node in the same payload) and directly loadable — derived geometry is flushed first, so parent boxes are the current ones rather than whatever was last materialized",
                  "examples": [
                    "const buffer = cy.serialize();\nconst restored = cytoscape({ headless: true, elements: buffer });\nconsole.log(restored.nodes().length); // 3\nrestored.destroy();"
                  ],
                  "throws": []
                }
              ],
              "returns": "a fresh little-endian buffer, self-contained (every edge endpoint indexes a node in the same payload) and directly loadable — derived geometry is flushed first, so parent boxes are the current ones rather than whatever was last materialized",
              "src": "src/core.mts:3588",
              "recipes": [
                {
                  "title": "save graph data and recreate a core",
                  "url": "/docs/recipes/#recipes/save-graph-data-and-recreate-a-core"
                }
              ]
            },
            {
              "name": "cy.json",
              "descr": "Export a plain-object snapshot containing elements, stylesheet, viewport, interaction settings and graph-level data.",
              "formats": [
                {
                  "descr": "Export a plain-object snapshot containing elements, stylesheet, viewport, interaction settings and graph-level data.\n\nThis method is export-only: `json(object)` is not supported. Use `patch()` to reconcile incoming element data, `clone()` to copy a live instance, or `serialize()` to save a compact element payload for later loading.",
                  "args": [
                    {
                      "name": "flat",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "when true, elements export as one flat array instead of `{ nodes, edges }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Record<string, unknown>",
                  "returns": "the exported graph",
                  "examples": [
                    "console.log(cy.json().elements.nodes.length); // 3"
                  ],
                  "throws": [
                    "if given anything but a boolean — the guard that catches an attempted `json( obj)` import"
                  ]
                }
              ],
              "returns": "the exported graph",
              "throws": [
                "if given anything but a boolean — the guard that catches an attempted `json( obj)` import"
              ],
              "src": "src/core.mts:3610",
              "recipes": []
            },
            {
              "name": "cy.clone",
              "descr": "Make an independent instance holding a copy of this graph — the way to show one graph in two places, e.g. a minimap beside the main view. A second view is a second instance, never a second renderer over one model: each clone has its own sheet, viewport, selection, hover, listeners and `png()`.",
              "formats": [
                {
                  "descr": "Make an independent instance holding a copy of this graph — the way to show one graph in two places, e.g. a minimap beside the main view. A second view is a second instance, never a second renderer over one model: each clone has its own sheet, viewport, selection, hover, listeners and `png()`.\n\nWhat is carried: every element through the wire format — ids, data, positions, parents, endpoints, `selected`/`selectable` — plus each element's `locked`/`grabbable`/`pannable` flags, graph-level `data()`, the stylesheet with its bypasses, the viewport (zoom, pan, limits), the gating flags and interaction settings, and the options this instance was built with. `options` overrides any of it: a `container` for the clone (never carried; one container, one renderer), a `style` (the minimap's simplified sheet — which replaces the bypasses too), a `zoom` or `pan`, a `layout` to run on the copy. What is not carried, by design: scratch, running animations and layouts, listeners, and the transient hover/active/grabbed state.\n\n`follow` keeps the clone current: each sync is `clone.patch( this.serialize())`, driven by a dirty-stream consumer on this instance and throttled (`{ throttle }` ms, default 50, and never more often than the last sync took). A sync runs only after a change the payload carries — an add, remove, move, data write or reparent; a restyle, hover or selection here costs the clone nothing. The clone **owns its state**: patch never reads selection or flags for a surviving element, so selecting in one view does not select in the other (linked brushing is app wiring over the two instances' events). Positions are this instance's to set: a sync moves a clone's node even where the clone locks it (`autolock`, a locked node). Its own edits to elements are reconciled away at the next sync; its sheet, viewport, bypasses and graph data are never touched. Following stops when either instance is destroyed.",
                  "args": [
                    {
                      "name": "options",
                      "type": "CloneOptions<NodeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "follow",
                          "type": "boolean | FollowOptions",
                          "optional": true,
                          "descr": "Keep the clone current: `true`, or `{ throttle }`.  Each sync is\n`clone.patch( source.serialize() )` — the source's elements, data,\npositions and hierarchy; never its sheet, viewport, selection or\ngraph-level data.  Stops when either instance is destroyed."
                        },
                        {
                          "name": "zoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "pan",
                          "type": "Position",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "container",
                          "type": "HTMLElement | null",
                          "optional": true,
                          "descr": "Where to render.  When given, WebGPU is required: the factory throws\nsynchronously if `navigator.gpu` is missing.  When omitted, the instance\nis headless (works in Node, never throws for missing GPU)."
                        },
                        {
                          "name": "renderer",
                          "type": "RendererOptions",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "pixelRatio",
                          "type": "number | 'auto'",
                          "optional": true,
                          "descr": "device pixel ratio override; defaults to the window's"
                        },
                        {
                          "name": "pointerCursors",
                          "type": "boolean | Partial<CursorMap>",
                          "optional": true,
                          "descr": "whether the canvas writes CSS cursors for the gesture affordances —\n`grab`/`grabbing` around dragging, `pointer` over an element, `crosshair`\nwhile boxing (default true).\n\n`false` means the interaction layer never touches `style.cursor`, for an\napp that sets its own; an object overrides individual entries (`{ pan:\n'move' }`), where `''` means inherit."
                        },
                        {
                          "name": "wheelSensitivity",
                          "type": "number",
                          "optional": true,
                          "descr": "wheel-zoom rate multiplier (default 1; custom values warn once — a\nsensitivity tuned to one mouse/OS zooms unnaturally on others)."
                        },
                        {
                          "name": "wheelBehavior",
                          "type": "WheelBehavior",
                          "optional": true,
                          "descr": "what a wheel does: 'zoom' (default), 'pan' (ctrl/meta — the pinch —\nstill zooms) or 'modifier-zoom' (only a ctrl/meta wheel zooms; a plain\nwheel scrolls the page)."
                        },
                        {
                          "name": "desktopTapThreshold",
                          "type": "number",
                          "optional": true,
                          "descr": "css px a mouse/pen press may move and still count as a tap (default 4)."
                        },
                        {
                          "name": "touchTapThreshold",
                          "type": "number",
                          "optional": true,
                          "descr": "css px a touch press may move and still count as a tap (default 8)."
                        },
                        {
                          "name": "tapholdDuration",
                          "type": "number",
                          "optional": true,
                          "descr": "unmoved-press duration before 'taphold' fires, in ms (default 500)."
                        },
                        {
                          "name": "multiClickDebounceTime",
                          "type": "number",
                          "optional": true,
                          "descr": "the dbltap/onetap debounce window in ms (default 250)"
                        },
                        {
                          "name": "boxSelectionEnabled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "allow box selection (default true)"
                        },
                        {
                          "name": "boxSelectionIncludesLabels",
                          "type": "boolean",
                          "optional": true,
                          "descr": "box selection considers label boxes too (default false). Its sense follows\n`boxSelectionMode`: it narrows a 'contain' selection and widens an\n'overlap' one."
                        },
                        {
                          "name": "boxSelectionMode",
                          "type": "BoxSelectionMode",
                          "optional": true,
                          "descr": "what the box-selection gesture counts as selected: 'contain' (default)\ntakes only elements wholly inside the band; 'overlap' takes\nanything the band touches."
                        },
                        {
                          "name": "userPanningEnabled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "allow user (pointer) panning (default true)"
                        },
                        {
                          "name": "userZoomingEnabled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "allow user (wheel/pinch) zooming (default true)"
                        },
                        {
                          "name": "style",
                          "type": "Stylesheet<NodeData, EdgeData>",
                          "optional": true,
                          "descr": "the stylesheet — its field references typed likewise"
                        },
                        {
                          "name": "layout",
                          "type": "LayoutOptions",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "minZoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "maxZoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "autolock",
                          "type": "boolean",
                          "optional": true,
                          "descr": "disable node dragging globally (default false)"
                        },
                        {
                          "name": "autoungrabify",
                          "type": "boolean",
                          "optional": true,
                          "descr": "make all nodes ungrabbable globally (default false)"
                        },
                        {
                          "name": "autounselectify",
                          "type": "boolean",
                          "optional": true,
                          "descr": "disable selection globally (default false)"
                        },
                        {
                          "name": "panningEnabled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "allow panning at all — programmatic and user (default true)"
                        },
                        {
                          "name": "zoomingEnabled",
                          "type": "boolean",
                          "optional": true,
                          "descr": "allow zooming at all — programmatic and user (default true)"
                        },
                        {
                          "name": "selectionType",
                          "type": "'single' | 'additive'",
                          "optional": true,
                          "descr": "'single' (tap/box replaces the selection) or 'additive' (taps toggle, boxes add); default 'single'"
                        },
                        {
                          "name": "headlessWidth",
                          "type": "number",
                          "optional": true,
                          "descr": "rendered dimensions used when headless"
                        },
                        {
                          "name": "headlessHeight",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "construction options over the carried ones, plus `follow` (`true` or `{ throttle }`)"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Core<NodeData, EdgeData>",
                  "returns": "the new instance, built by the same entry as this one",
                  "examples": [
                    "const copy = cy.clone();\ncopy.getElementById('a').data('score', 99);\nconsole.log(cy.getElementById('a').data('score')); // 1\ncopy.destroy();"
                  ],
                  "throws": [
                    "if `options` carries `elements` (a clone's elements are this instance's), on a malformed `follow`, and wherever construction throws — a `container` in a build with no renderer, or without WebGPU"
                  ]
                }
              ],
              "returns": "the new instance, built by the same entry as this one",
              "throws": [
                "if `options` carries `elements` (a clone's elements are this instance's), on a malformed `follow`, and wherever construction throws — a `container` in a build with no renderer, or without WebGPU"
              ],
              "src": "src/core.mts:3659",
              "recipes": []
            },
            {
              "name": "cy.unmount",
              "descr": "Detach the renderer: the instance becomes headless (the model is CPU-canonical, so nothing is lost).  No-op when already headless.",
              "formats": [
                {
                  "descr": "Detach the renderer: the instance becomes headless (the model is CPU-canonical, so nothing is lost).  No-op when already headless.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": null,
                  "examples": [
                    "// Detach a rendered core without removing its graph data.\ncy.unmount();\nconsole.log(cy.nodes().length); // 3"
                  ],
                  "throws": []
                }
              ],
              "src": "src/core.mts:3671",
              "recipes": []
            },
            {
              "name": "cy.mount",
              "descr": "(Re)attach a renderer to a container. Re-mounting to a different container unmounts first; the fresh renderer re-uploads every column from the CPU-canonical model and rebuilds all glyph runs.",
              "formats": [
                {
                  "descr": "(Re)attach a renderer to a container. Re-mounting to a different container unmounts first; the fresh renderer re-uploads every column from the CPU-canonical model and rebuilds all glyph runs.",
                  "args": [
                    {
                      "name": "container",
                      "type": "HTMLElement",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the element to render into"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this",
                  "examples": [
                    "// container is an existing, sized HTML element.\ncy.mount(document.getElementById('graph'));\nawait cy.ready;"
                  ],
                  "throws": [
                    "if no container is given, if the instance was built directly rather than through the `cytoscape` factory (there is no renderer to attach), if it was built by `cytoscape/headless` or `cytoscape/headless-gpu` (a build with no renderer), or if WebGPU is unavailable — mounting is the one way a headless instance can demand a GPU after construction"
                  ]
                }
              ],
              "returns": "this",
              "throws": [
                "if no container is given, if the instance was built directly rather than through the `cytoscape` factory (there is no renderer to attach), if it was built by `cytoscape/headless` or `cytoscape/headless-gpu` (a build with no renderer), or if WebGPU is unavailable — mounting is the one way a headless instance can demand a GPU after construction"
              ],
              "src": "src/core.mts:3694",
              "recipes": []
            },
            {
              "name": "cy.container",
              "descr": "The DOM element this instance renders into, or null when headless or unmounted.",
              "formats": [
                {
                  "descr": "The DOM element this instance renders into, or null when headless or unmounted.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "HTMLElement | null",
                  "returns": "the container element, or null",
                  "examples": [
                    "console.log(cy.container()); // null"
                  ],
                  "throws": []
                }
              ],
              "returns": "the container element, or null",
              "src": "src/core.mts:3719",
              "recipes": []
            },
            {
              "name": "cy.width",
              "descr": "The rendered width in CSS px.  Headless instances report the configured `headlessWidth` (default 800), so viewport maths works without a DOM.",
              "formats": [
                {
                  "descr": "The rendered width in CSS px.  Headless instances report the configured `headlessWidth` (default 800), so viewport maths works without a DOM.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the viewport width in CSS px",
                  "examples": [
                    "console.log(cy.width()); // 800"
                  ],
                  "throws": []
                }
              ],
              "returns": "the viewport width in CSS px",
              "src": "src/core.mts:3733",
              "recipes": []
            },
            {
              "name": "cy.height",
              "descr": "The rendered height in CSS px.  Headless instances report the configured `headlessHeight` (default 600).",
              "formats": [
                {
                  "descr": "The rendered height in CSS px.  Headless instances report the configured `headlessHeight` (default 600).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the viewport height in CSS px",
                  "examples": [
                    "console.log(cy.height()); // 600"
                  ],
                  "throws": []
                }
              ],
              "returns": "the viewport height in CSS px",
              "src": "src/core.mts:3748",
              "recipes": []
            },
            {
              "name": "cy.destroy",
              "descr": "Tear the instance down: emit `destroy`, drop every listener, and release the pointer handler and the renderer (with its GPU resources).  Idempotent.  The store is left intact but the instance must not be used afterwards.",
              "formats": [
                {
                  "descr": "Tear the instance down: emit `destroy`, drop every listener, and release the pointer handler and the renderer (with its GPU resources).  Idempotent.  The store is left intact but the instance must not be used afterwards.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this core",
                  "examples": [
                    "cy.destroy();\nconsole.log(cy.destroyed()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "this core",
              "src": "src/core.mts:3765",
              "recipes": []
            },
            {
              "name": "cy.destroyed",
              "descr": "Whether `destroy()` has run.",
              "formats": [
                {
                  "descr": "Whether `destroy()` has run.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true once destroyed",
                  "examples": [
                    "console.log(cy.destroyed()); // false\ncy.destroy();\nconsole.log(cy.destroyed()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true once destroyed",
              "src": "src/core.mts:3778",
              "recipes": []
            }
          ]
        }
      ]
    },
    {
      "name": "Collection",
      "prefix": "eles",
      "sections": [
        {
          "name": "Basics",
          "banner": "basics",
          "fns": [
            {
              "name": "eles.length",
              "descr": "How many elements this collection holds.",
              "formats": [
                {
                  "descr": "How many elements this collection holds.",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": null,
                  "examples": [
                    "console.log(eles.length); // 5"
                  ],
                  "throws": []
                }
              ],
              "src": "src/collection.mts:172",
              "recipes": []
            }
          ]
        },
        {
          "name": "Core reference & identity",
          "banner": "core reference & identity",
          "fns": [
            {
              "name": "eles.cy",
              "descr": "The core this collection belongs to.",
              "formats": [
                {
                  "descr": "The core this collection belongs to.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Core<NodeData, EdgeData>",
                  "returns": "the instance that owns these elements — a collection cannot span two cores, so this is also the identity a set operation against a foreign collection would violate",
                  "examples": [
                    "console.log(eles.cy() === cy); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "the instance that owns these elements — a collection cannot span two cores, so this is also the identity a set operation against a foreign collection would violate",
              "src": "src/collection.mts:441",
              "recipes": []
            },
            {
              "name": "eles.collection",
              "descr": "Create an empty collection bound to the same core. Takes no arguments. Use `union()` to build a set from existing elements, or `filter()` to select members of this collection.",
              "formats": [
                {
                  "descr": "Create an empty collection bound to the same core. Takes no arguments. Use `union()` to build a set from existing elements, or `filter()` to select members of this collection.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, Data>",
                  "returns": "a fresh empty collection bound to this core — the seed for building a set up by union",
                  "examples": [
                    "console.log(eles.collection().map(ele => ele.id())); // []"
                  ],
                  "throws": [
                    "if called with any argument — use `cy.add()` to insert definitions or set operations to build collections"
                  ]
                }
              ],
              "returns": "a fresh empty collection bound to this core — the seed for building a set up by union",
              "throws": [
                "if called with any argument — use `cy.add()` to insert definitions or set operations to build collections"
              ],
              "src": "src/collection.mts:481",
              "recipes": []
            },
            {
              "name": "eles.hasElementWithId",
              "descr": "Whether this collection contains an element with the given id.",
              "formats": [
                {
                  "descr": "Whether this collection contains an element with the given id.",
                  "args": [
                    {
                      "name": "id",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the element id"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when a member has that id",
                  "examples": [
                    "console.log(eles.hasElementWithId('a')); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when a member has that id",
              "src": "src/collection.mts:504",
              "recipes": []
            },
            {
              "name": "eles.indexOf",
              "descr": "Index of an element within this collection.",
              "formats": [
                {
                  "descr": "Index of an element within this collection.",
                  "args": [
                    {
                      "name": "ele",
                      "type": "Collection",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the element to find; only its first element is used"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the index, or -1 when it is not in this collection",
                  "examples": [
                    "console.log(eles.indexOf(cy.getElementById('a'))); // 0"
                  ],
                  "throws": []
                }
              ],
              "returns": "the index, or -1 when it is not in this collection",
              "src": "src/collection.mts:518",
              "recipes": []
            },
            {
              "name": "eles.indexOfId",
              "descr": "Position of the element with this id within the collection.",
              "formats": [
                {
                  "descr": "Position of the element with this id within the collection.",
                  "args": [
                    {
                      "name": "id",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the element id"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the index, or -1 when absent",
                  "examples": [
                    "console.log(eles.indexOfId('a')); // 0"
                  ],
                  "throws": []
                }
              ],
              "returns": "the index, or -1 when absent",
              "src": "src/collection.mts:532",
              "recipes": []
            }
          ]
        },
        {
          "name": "Iteration",
          "banner": "iteration",
          "fns": [
            {
              "name": "eles.size",
              "descr": "The number of elements — the method form of `length`.",
              "formats": [
                {
                  "descr": "The number of elements — the method form of `length`.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the element count",
                  "examples": [
                    "console.log(eles.size()); // 5"
                  ],
                  "throws": []
                }
              ],
              "returns": "the element count",
              "src": "src/collection.mts:546",
              "recipes": []
            },
            {
              "name": "eles.empty",
              "descr": "Whether the collection holds no elements.",
              "formats": [
                {
                  "descr": "Whether the collection holds no elements.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when empty",
                  "examples": [
                    "console.log(eles.empty()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when empty",
              "src": "src/collection.mts:558",
              "recipes": []
            },
            {
              "name": "eles.nonempty",
              "descr": "Whether the collection holds at least one element.",
              "formats": [
                {
                  "descr": "Whether the collection holds at least one element.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when non-empty",
                  "examples": [
                    "console.log(eles.nonempty()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when non-empty",
              "src": "src/collection.mts:570",
              "recipes": []
            },
            {
              "name": "eles.forEach",
              "descr": "Call `fn` for each element. Returning `false` from the callback stops the iteration early.",
              "formats": [
                {
                  "descr": "Call `fn` for each element. Returning `false` from the callback stops the iteration early.\n\nWith no `thisArg` the callback is plain-called, so `this` is undefined inside it — the callback receives each element as its first argument.",
                  "args": [
                    {
                      "name": "fn",
                      "type": "( ele: Collection<NodeData, EdgeData, Data>, i: number, eles: Collection<NodeData, EdgeData, Data>, ) => void | false",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "`( ele, i, eles)`; return `false` to stop"
                    },
                    {
                      "name": "thisArg",
                      "type": "unknown",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "optional receiver for the callback"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const ids = [];\neles.forEach(ele => ids.push(ele.id()));\nconsole.log(ids.length); // 5"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.each"
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:597",
              "recipes": []
            },
            {
              "name": "eles.toArray",
              "descr": "The elements as a plain array of length-1 collections.",
              "formats": [
                {
                  "descr": "The elements as a plain array of length-1 collections.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, Data>[]",
                  "returns": "a new array of the members",
                  "examples": [
                    "console.log(eles.toArray().map(ele => ele.id())); // ['a', 'b', 'c', 'ab', 'bc']"
                  ],
                  "throws": []
                }
              ],
              "returns": "a new array of the members",
              "src": "src/collection.mts:633",
              "recipes": []
            },
            {
              "name": "eles.slice",
              "descr": "A sub-range of the collection, with `Array#slice` semantics (negative indices count from the end).",
              "formats": [
                {
                  "descr": "A sub-range of the collection, with `Array#slice` semantics (negative indices count from the end).",
                  "args": [
                    {
                      "name": "start",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "default": "0",
                      "fields": [],
                      "descr": "first index, inclusive"
                    },
                    {
                      "name": "end",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "default": "this.length",
                      "fields": [],
                      "descr": "last index, exclusive"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, Data>",
                  "returns": "the sub-range as a new collection",
                  "examples": [
                    "console.log(eles.slice().map(ele => ele.id())); // [\"a\",\"b\",\"c\",\"ab\",\"bc\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the sub-range as a new collection",
              "src": "src/collection.mts:650",
              "recipes": []
            },
            {
              "name": "eles.sort",
              "descr": "A copy sorted by a comparator. Note that sort order is a property of the *collection*, not of drawing: draw order is structural and there is no `z-index`.",
              "formats": [
                {
                  "descr": "A copy sorted by a comparator. Note that sort order is a property of the *collection*, not of drawing: draw order is structural and there is no `z-index`.",
                  "args": [
                    {
                      "name": "sortFn",
                      "type": "( a: Collection<NodeData, EdgeData, Data>, b: Collection<NodeData, EdgeData, Data>, ) => number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "`( a, b)` comparator over length-1 collections; a non-function is ignored and returns this collection unchanged"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, Data>",
                  "returns": "a new, sorted collection",
                  "examples": [
                    "const sorted = eles.sort((a, b) => a.id().localeCompare(b.id()));\nconsole.log(sorted.first().id()); // 'a'"
                  ],
                  "throws": []
                }
              ],
              "returns": "a new, sorted collection",
              "src": "src/collection.mts:670",
              "recipes": []
            },
            {
              "name": "eles.eq",
              "descr": "The element at an index, as a length-1 collection.",
              "formats": [
                {
                  "descr": "The element at an index, as a length-1 collection.",
                  "args": [
                    {
                      "name": "i",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the index"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, Data>",
                  "returns": "that element, or an empty collection when out of range",
                  "examples": [
                    "console.log(eles.eq(0).id()); // 'a'"
                  ],
                  "throws": []
                }
              ],
              "returns": "that element, or an empty collection when out of range",
              "src": "src/collection.mts:688",
              "recipes": []
            },
            {
              "name": "eles.first",
              "descr": "The first element, as a length-1 collection.",
              "formats": [
                {
                  "descr": "The first element, as a length-1 collection.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, Data>",
                  "returns": "the first element, or an empty collection",
                  "examples": [
                    "console.log(eles.first().map(ele => ele.id())); // [\"a\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the first element, or an empty collection",
              "src": "src/collection.mts:700",
              "recipes": []
            },
            {
              "name": "eles.last",
              "descr": "The last element, as a length-1 collection.",
              "formats": [
                {
                  "descr": "The last element, as a length-1 collection.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, Data>",
                  "returns": "the last element, or an empty collection",
                  "examples": [
                    "console.log(eles.last().map(ele => ele.id())); // [\"bc\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the last element, or an empty collection",
              "src": "src/collection.mts:712",
              "recipes": []
            },
            {
              "name": "eles.map",
              "descr": "Map each element through `fn` into a plain array.",
              "formats": [
                {
                  "descr": "Map each element through `fn` into a plain array.",
                  "args": [
                    {
                      "name": "fn",
                      "type": "( ele: Collection<NodeData, EdgeData, Data>, i: number, eles: Collection<NodeData, EdgeData, Data>, ) => T",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "`( ele, i, eles)`"
                    },
                    {
                      "name": "thisArg",
                      "type": "unknown",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "optional receiver for the callback"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "T",
                  "returnType": "T[]",
                  "returns": "an array of the results",
                  "examples": [
                    "console.log(cy.nodes().map(node => node.id())); // ['a', 'b', 'c']"
                  ],
                  "throws": []
                }
              ],
              "returns": "an array of the results",
              "src": "src/collection.mts:726",
              "recipes": [
                {
                  "title": "trace a weighted route",
                  "url": "/docs/recipes/#recipes/trace-a-weighted-route"
                }
              ]
            },
            {
              "name": "eles.some",
              "descr": "Whether any element satisfies the predicate. Short-circuits.",
              "formats": [
                {
                  "descr": "Whether any element satisfies the predicate. Short-circuits.",
                  "args": [
                    {
                      "name": "fn",
                      "type": "EleFilterFn<NodeData, EdgeData, Data>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "`( ele, i, eles) => boolean`"
                    },
                    {
                      "name": "thisArg",
                      "type": "unknown",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "optional receiver for the callback"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when at least one element matches",
                  "examples": [
                    "console.log(eles.some(ele => ele.isEdge())); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when at least one element matches",
              "src": "src/collection.mts:747",
              "recipes": []
            },
            {
              "name": "eles.every",
              "descr": "Whether every element satisfies the predicate. Short-circuits, and is vacuously true for an empty collection.",
              "formats": [
                {
                  "descr": "Whether every element satisfies the predicate. Short-circuits, and is vacuously true for an empty collection.",
                  "args": [
                    {
                      "name": "fn",
                      "type": "EleFilterFn<NodeData, EdgeData, Data>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "`( ele, i, eles) => boolean`"
                    },
                    {
                      "name": "thisArg",
                      "type": "unknown",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "optional receiver for the callback"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when all elements match",
                  "examples": [
                    "console.log(cy.nodes().every(ele => ele.isNode())); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when all elements match",
              "src": "src/collection.mts:762",
              "recipes": []
            }
          ]
        },
        {
          "name": "Identity",
          "banner": "identity",
          "fns": [
            {
              "name": "eles.id",
              "descr": "The first element's id.  Cached on the handle, so it stays readable after the element is removed.",
              "formats": [
                {
                  "descr": "The first element's id.  Cached on the handle, so it stays readable after the element is removed.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "string | undefined",
                  "returns": "the id, or undefined when the collection is empty",
                  "examples": [
                    "console.log(eles.id()); // \"a\""
                  ],
                  "throws": []
                }
              ],
              "returns": "the id, or undefined when the collection is empty",
              "src": "src/collection.mts:777",
              "recipes": []
            },
            {
              "name": "eles.group",
              "descr": "The first element's group.  Cached on the handle, so it stays readable after removal.",
              "formats": [
                {
                  "descr": "The first element's group.  Cached on the handle, so it stays readable after removal.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "GroupName | undefined",
                  "returns": "`'nodes'` or `'edges'`, or undefined when empty",
                  "examples": [
                    "console.log(eles.group()); // \"nodes\""
                  ],
                  "throws": []
                }
              ],
              "returns": "`'nodes'` or `'edges'`, or undefined when empty",
              "src": "src/collection.mts:790",
              "recipes": []
            },
            {
              "name": "eles.json",
              "descr": "Plain-object form of the first element (undefined when empty).",
              "formats": [
                {
                  "descr": "Plain-object form of the first element (undefined when empty).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Record<string, unknown> | undefined",
                  "returns": "the definition-form object for the **first** element, or undefined when the collection is empty; it round-trips through `cy.add()`, which is the supported restore path because `cy.json()` is export-only",
                  "examples": [
                    "console.log(cy.getElementById('a').json().data.id); // 'a'"
                  ],
                  "throws": []
                }
              ],
              "returns": "the definition-form object for the **first** element, or undefined when the collection is empty; it round-trips through `cy.add()`, which is the supported restore path because `cy.json()` is export-only",
              "src": "src/collection.mts:805",
              "recipes": []
            },
            {
              "name": "eles.jsons",
              "descr": "Plain-object form of every element.",
              "formats": [
                {
                  "descr": "Plain-object form of every element.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "(Record<string, unknown> | undefined)[]",
                  "returns": "one object per element, in collection order — the plural of `json()`, not a graph-level export",
                  "examples": [
                    "console.log(eles.jsons().map(def => def.data.id)); // ['a', 'b', 'c', 'ab', 'bc']"
                  ],
                  "throws": []
                }
              ],
              "returns": "one object per element, in collection order — the plural of `json()`, not a graph-level export",
              "src": "src/collection.mts:818",
              "recipes": []
            },
            {
              "name": "eles.isNode",
              "descr": "Whether the first element is a node.",
              "formats": [
                {
                  "descr": "Whether the first element is a node.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true for a node",
                  "examples": [
                    "console.log(eles.isNode()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true for a node",
              "src": "src/collection.mts:836",
              "recipes": []
            },
            {
              "name": "eles.isEdge",
              "descr": "Whether the first element is an edge.",
              "formats": [
                {
                  "descr": "Whether the first element is an edge.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true for an edge",
                  "examples": [
                    "console.log(eles.isEdge()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true for an edge",
              "src": "src/collection.mts:848",
              "recipes": []
            },
            {
              "name": "eles.isLoop",
              "descr": "Whether the first element is a self-loop — an edge whose source and target are the same node.",
              "formats": [
                {
                  "descr": "Whether the first element is a self-loop — an edge whose source and target are the same node.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true for a loop edge; false for nodes and removed elements",
                  "examples": [
                    "console.log(eles.isLoop()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true for a loop edge; false for nodes and removed elements",
              "src": "src/collection.mts:861",
              "recipes": []
            },
            {
              "name": "eles.isSimple",
              "descr": "Whether the first element is a non-loop edge.",
              "formats": [
                {
                  "descr": "Whether the first element is a non-loop edge.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true for an edge between two distinct nodes",
                  "examples": [
                    "console.log(eles.isSimple()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true for an edge between two distinct nodes",
              "src": "src/collection.mts:873",
              "recipes": []
            },
            {
              "name": "eles.removed",
              "descr": "Whether the first element has been removed from the graph.  A removed element's handle stays usable — reads are no-ops or undefined, and the cached `id()`/`group()` remain readable.",
              "formats": [
                {
                  "descr": "Whether the first element has been removed from the graph.  A removed element's handle stays usable — reads are no-ops or undefined, and the cached `id()`/`group()` remain readable.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when the element is no longer in the graph",
                  "examples": [
                    "console.log(eles.removed()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when the element is no longer in the graph",
              "src": "src/collection.mts:887",
              "recipes": []
            },
            {
              "name": "eles.inside",
              "descr": "Whether the first element is still in the graph — the complement of `removed()`.",
              "formats": [
                {
                  "descr": "Whether the first element is still in the graph — the complement of `removed()`.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when the element is live",
                  "examples": [
                    "console.log(eles.inside()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when the element is live",
              "src": "src/collection.mts:905",
              "recipes": []
            }
          ]
        },
        {
          "name": "Comparison",
          "banner": "comparison",
          "fns": [
            {
              "name": "eles.same",
              "descr": "Whether both collections hold exactly the same elements, ignoring order.",
              "formats": [
                {
                  "descr": "Whether both collections hold exactly the same elements, ignoring order.",
                  "args": [
                    {
                      "name": "other",
                      "type": "Collection",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the collection to compare against"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when the element sets are equal",
                  "examples": [
                    "const other = cy.getElementById('b');\nconsole.log(cy.getElementById('a').same(other)); // false"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.equal",
                "eles.equals"
              ],
              "returns": "true when the element sets are equal",
              "src": "src/collection.mts:924",
              "recipes": []
            },
            {
              "name": "eles.anySame",
              "descr": "Whether the two collections share at least one element.",
              "formats": [
                {
                  "descr": "Whether the two collections share at least one element.",
                  "args": [
                    {
                      "name": "other",
                      "type": "Collection",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the collection to compare against"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when the sets intersect",
                  "examples": [
                    "const other = cy.getElementById('b');\nconsole.log(cy.getElementById('a').anySame(other)); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when the sets intersect",
              "src": "src/collection.mts:938",
              "recipes": []
            },
            {
              "name": "eles.contains",
              "descr": "Whether every element of `other` is also in this collection.",
              "formats": [
                {
                  "descr": "Whether every element of `other` is also in this collection.",
                  "args": [
                    {
                      "name": "other",
                      "type": "Collection",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the candidate subset"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when `other` is contained",
                  "examples": [
                    "const other = cy.getElementById('b');\nconsole.log(cy.getElementById('a').contains(other)); // false"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.has"
              ],
              "returns": "true when `other` is contained",
              "src": "src/collection.mts:952",
              "recipes": []
            },
            {
              "name": "eles.allAreNeighbors",
              "descr": "Whether every element of `other` is in this collection's neighborhood.",
              "formats": [
                {
                  "descr": "Whether every element of `other` is in this collection's neighborhood.",
                  "args": [
                    {
                      "name": "other",
                      "type": "Collection",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the elements to test"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when all of them are neighbors",
                  "examples": [
                    "const other = cy.getElementById('b');\nconsole.log(cy.getElementById('a').allAreNeighbors(other)); // true"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.allAreNeighbours"
              ],
              "returns": "true when all of them are neighbors",
              "src": "src/collection.mts:970",
              "recipes": []
            },
            {
              "name": "eles.allAre",
              "descr": "Whether every element matches the criterion.",
              "formats": [
                {
                  "descr": "Whether every element matches the criterion.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, Data, NodeData | EdgeData>",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "a query object or an `( ele) => boolean` predicate (selector strings are not accepted)"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when all elements match",
                  "examples": [
                    "console.log(cy.nodes().allAre(ele => ele.isNode())); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when all elements match",
              "src": "src/collection.mts:990",
              "recipes": []
            },
            {
              "name": "eles.is",
              "descr": "Whether any element matches the criterion.",
              "formats": [
                {
                  "descr": "Whether any element matches the criterion.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, Data, NodeData | EdgeData>",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "a query object or an `( ele) => boolean` predicate"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when at least one element matches",
                  "examples": [
                    "console.log(cy.getElementById('a').is(ele => ele.id() === 'a')); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when at least one element matches",
              "src": "src/collection.mts:1011",
              "recipes": []
            }
          ]
        },
        {
          "name": "Building and filtering",
          "banner": "building and filtering",
          "fns": [
            {
              "name": "eles.union",
              "descr": "The union of the two collections, deduped.",
              "formats": [
                {
                  "descr": "The union of the two collections, deduped.",
                  "args": [
                    {
                      "name": "other",
                      "type": "Collection<NodeData, EdgeData, OtherData>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the collection to add"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "OtherData = Data",
                  "returnType": "Collection<NodeData, EdgeData, Data | OtherData>",
                  "returns": "a new collection holding both sets",
                  "examples": [
                    "const other = cy.getElementById('b');\nconsole.log(cy.getElementById('a').union(other).map(ele => ele.id())); // [\"a\",\"b\"]"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.u",
                "eles.or",
                "eles.add",
                "eles.merge"
              ],
              "returns": "a new collection holding both sets",
              "src": "src/collection.mts:1035",
              "recipes": []
            },
            {
              "name": "eles.difference",
              "descr": "This collection's elements that are not in `other`.",
              "formats": [
                {
                  "descr": "This collection's elements that are not in `other`.",
                  "args": [
                    {
                      "name": "other",
                      "type": "Collection",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the collection to subtract"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, Data>",
                  "returns": "a new collection",
                  "examples": [
                    "const other = cy.getElementById('b');\nconsole.log(cy.getElementById('a').difference(other).map(ele => ele.id())); // [\"a\"]"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.not",
                "eles.subtract",
                "eles.unmerge",
                "eles.relativeComplement"
              ],
              "returns": "a new collection",
              "src": "src/collection.mts:1058",
              "recipes": []
            },
            {
              "name": "eles.intersection",
              "descr": "The elements present in both collections.",
              "formats": [
                {
                  "descr": "The elements present in both collections.",
                  "args": [
                    {
                      "name": "other",
                      "type": "Collection",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the collection to intersect with"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, Data>",
                  "returns": "a new collection",
                  "examples": [
                    "const other = cy.getElementById('b');\nconsole.log(cy.getElementById('a').intersection(other).map(ele => ele.id())); // []"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.intersect",
                "eles.and"
              ],
              "returns": "a new collection",
              "src": "src/collection.mts:1083",
              "recipes": []
            },
            {
              "name": "eles.symmetricDifference",
              "descr": "The elements in exactly one of the two collections.",
              "formats": [
                {
                  "descr": "The elements in exactly one of the two collections.",
                  "args": [
                    {
                      "name": "other",
                      "type": "Collection<NodeData, EdgeData, OtherData>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the other collection"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "OtherData = Data",
                  "returnType": "Collection<NodeData, EdgeData, Data | OtherData>",
                  "returns": "a new collection",
                  "examples": [
                    "const other = cy.getElementById('b');\nconsole.log(cy.getElementById('a').symmetricDifference(other).map(ele => ele.id())); // [\"a\",\"b\"]"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.symdiff",
                "eles.xor"
              ],
              "returns": "a new collection",
              "src": "src/collection.mts:1106",
              "recipes": []
            },
            {
              "name": "eles.filter",
              "descr": "The subset matching the criterion.",
              "formats": [
                {
                  "descr": "The subset matching the criterion.\n\nA structured **query object** is answered directly off the flags column — no per-element handles and no closures — while a **predicate function** is called per element. Pass either of these two forms; selector strings are not accepted.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, Data, NodeData | EdgeData>",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "a query object (`{ selected: true }`, `{ data: { weight: { gt: 0.5 } } }`, …) or an `( ele, i, eles) => boolean` predicate"
                    },
                    {
                      "name": "thisArg",
                      "type": "unknown",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "optional receiver, for the predicate form"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, Data>",
                  "returns": "a new collection of the matching elements",
                  "examples": [
                    "cy.getElementById('a').select();\nconsole.log(cy.nodes().filter({ selected: true }).map(node => node.id())); // ['a']"
                  ],
                  "throws": [
                    "if a query object carries an unknown key — a typo must not silently match everything"
                  ]
                }
              ],
              "returns": "a new collection of the matching elements",
              "throws": [
                "if a query object carries an unknown key — a typo must not silently match everything"
              ],
              "src": "src/collection.mts:1133",
              "recipes": []
            },
            {
              "name": "eles.nodes",
              "descr": "The nodes in this collection, optionally filtered.",
              "formats": [
                {
                  "descr": "The nodes in this collection, optionally filtered.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, NodeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "a query object or predicate; omit for all nodes"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "a new collection of nodes",
                  "examples": [
                    "console.log(eles.nodes().map(ele => ele.id())); // [\"a\",\"b\",\"c\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "a new collection of nodes",
              "src": "src/collection.mts:1149",
              "recipes": []
            },
            {
              "name": "eles.edges",
              "descr": "The edges in this collection, optionally filtered.",
              "formats": [
                {
                  "descr": "The edges in this collection, optionally filtered.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, EdgeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "a query object or predicate; omit for all edges"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, EdgeData>",
                  "returns": "a new collection of edges",
                  "examples": [
                    "console.log(eles.edges().map(ele => ele.id())); // [\"ab\",\"bc\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "a new collection of edges",
              "src": "src/collection.mts:1168",
              "recipes": []
            },
            {
              "name": "eles.getElementById",
              "descr": "Find a member by id. This is a linear scan of the collection; use `cy.$id( id)` for the O(1) whole-graph index.",
              "formats": [
                {
                  "descr": "Find a member by id. This is a linear scan of the collection; use `cy.$id( id)` for the O(1) whole-graph index.",
                  "args": [
                    {
                      "name": "id",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the element id"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, Data>",
                  "returns": "a collection of one element, or an empty collection",
                  "examples": [
                    "console.log(eles.getElementById('a').id()); // 'a'"
                  ],
                  "throws": []
                }
              ],
              "returns": "a collection of one element, or an empty collection",
              "src": "src/collection.mts:1188",
              "recipes": []
            },
            {
              "name": "eles.absoluteComplement",
              "descr": "All elements of the graph not in this collection.",
              "formats": [
                {
                  "descr": "All elements of the graph not in this collection.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "the complement against the **whole graph**, not against any enclosing collection — which is what the `absolute` in the name is distinguishing",
                  "examples": [
                    "console.log(eles.absoluteComplement().map(ele => ele.id())); // []"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.complement",
                "eles.abscomp"
              ],
              "returns": "the complement against the **whole graph**, not against any enclosing collection — which is what the `absolute` in the name is distinguishing",
              "src": "src/collection.mts:1218",
              "recipes": []
            },
            {
              "name": "eles.diff",
              "descr": "Three-way set difference against another collection.",
              "formats": [
                {
                  "descr": "Three-way set difference against another collection.",
                  "args": [
                    {
                      "name": "other",
                      "type": "Collection<NodeData, EdgeData, OtherData>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the collection to compare with"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "OtherData = Data",
                  "returnType": "{ left: Collection<NodeData, EdgeData, Data>; right: Collection<NodeData, EdgeData, OtherData>; both: Collection<NodeData, EdgeData, Data>; }",
                  "returns": "`{ left: only in this, right: only in other, both: in both }`",
                  "examples": [
                    "const result = cy.getElementById('a').diff(cy.getElementById('b'));\nconsole.log(result.both.length); // 0"
                  ],
                  "throws": []
                }
              ],
              "returns": "`{ left: only in this, right: only in other, both: in both }`",
              "src": "src/collection.mts:1235",
              "recipes": []
            },
            {
              "name": "eles.reduce",
              "descr": "Fold the collection into a single value.",
              "formats": [
                {
                  "descr": "Fold the collection into a single value.",
                  "args": [
                    {
                      "name": "fn",
                      "type": "( acc: T, ele: Collection<NodeData, EdgeData, Data>, i: number, eles: Collection<NodeData, EdgeData, Data>, ) => T",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "`( accumulator, ele, i, eles)`"
                    },
                    {
                      "name": "initial",
                      "type": "T",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the starting accumulator (required, unlike `Array#reduce`)"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "T",
                  "returnType": "T",
                  "returns": "the final accumulator",
                  "examples": [
                    "const count = eles.reduce((sum, ele) => sum + (ele.isNode() ? 1 : 0), 0);\nconsole.log(count); // 3"
                  ],
                  "throws": []
                }
              ],
              "returns": "the final accumulator",
              "src": "src/collection.mts:1257",
              "recipes": []
            },
            {
              "name": "eles.max",
              "descr": "The element maximizing `valFn`, with its value.",
              "formats": [
                {
                  "descr": "The element maximizing `valFn`, with its value.",
                  "args": [
                    {
                      "name": "valFn",
                      "type": "( ele: Collection<NodeData, EdgeData, Data>, i: number, eles: Collection<NodeData, EdgeData, Data>, ) => number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "`( ele, i, eles) => number`"
                    },
                    {
                      "name": "thisArg",
                      "type": "unknown",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "optional receiver for the callback"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "{ value: number; ele: Collection<NodeData, EdgeData, Data> | undefined }",
                  "returns": "`{ value, ele }`, or `{ value: -Infinity, ele: undefined }` when the collection is empty",
                  "examples": [
                    "const result = cy.nodes().max(node => node.data('score'));\nconsole.log(result.value); // 3"
                  ],
                  "throws": []
                }
              ],
              "returns": "`{ value, ele }`, or `{ value: -Infinity, ele: undefined }` when the collection is empty",
              "src": "src/collection.mts:1281",
              "recipes": []
            },
            {
              "name": "eles.min",
              "descr": "The element minimizing `valFn`, with its value.",
              "formats": [
                {
                  "descr": "The element minimizing `valFn`, with its value.",
                  "args": [
                    {
                      "name": "valFn",
                      "type": "( ele: Collection<NodeData, EdgeData, Data>, i: number, eles: Collection<NodeData, EdgeData, Data>, ) => number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "`( ele, i, eles) => number`"
                    },
                    {
                      "name": "thisArg",
                      "type": "unknown",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "optional receiver for the callback"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "{ value: number; ele: Collection<NodeData, EdgeData, Data> | undefined }",
                  "returns": "`{ value, ele }`, or `{ value: Infinity, ele: undefined }` when the collection is empty",
                  "examples": [
                    "const result = cy.nodes().min(node => node.data('score'));\nconsole.log(result.value); // 1"
                  ],
                  "throws": []
                }
              ],
              "returns": "`{ value, ele }`, or `{ value: Infinity, ele: undefined }` when the collection is empty",
              "src": "src/collection.mts:1304",
              "recipes": []
            }
          ]
        },
        {
          "name": "Position and dimensions",
          "banner": "position and dimensions",
          "fns": [
            {
              "name": "eles.position",
              "descr": "Read the first element's position in model coordinates.",
              "formats": [
                {
                  "descr": "Read the first element's position in model coordinates.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position | undefined",
                  "returns": "the first element's position, or undefined when empty",
                  "examples": [
                    "console.log(cy.getElementById('a').position()); // { x: 0, y: 0 }"
                  ],
                  "throws": []
                },
                {
                  "descr": "Read one coordinate of the first element.",
                  "args": [
                    {
                      "name": "dim",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the coordinate, 'x' or 'y'"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the first element's coordinate, or undefined when empty",
                  "examples": [
                    "console.log(cy.getElementById('a').position('x')); // 0"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set the position on every unlocked node.",
                  "args": [
                    {
                      "name": "position",
                      "type": "Position",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "x",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        },
                        {
                          "name": "y",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        }
                      ],
                      "descr": "the coordinates to write"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const result = eles.position({ x: 20, y: 10 });\nconsole.log(result === eles); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set one coordinate on every unlocked node.",
                  "args": [
                    {
                      "name": "dim",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the coordinate, 'x' or 'y'"
                    },
                    {
                      "name": "value",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the coordinate to write"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const result = eles.position('x', 20);\nconsole.log(result === eles); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Read the first element's model-space position, or write the position of every live, unlocked node in the collection. Compound parent positions are derived from their children.\n\nDuring an offloaded position animation, the read reflects the last drawn frame. Bounding-box scans may still see the animation's starting positions until it settles. During a live GPU force layout, positions may remain stale until completion. Width and other geometry reads remain synchronous.",
                  "args": [
                    {
                      "name": "dim",
                      "type": "string | Position",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "x",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        },
                        {
                          "name": "y",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        }
                      ],
                      "descr": "`'x'` or `'y'` to read/write one axis, or a `{ x, y }` object to write both; omit to read the pair"
                    },
                    {
                      "name": "value",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the new coordinate, with the `'x'`/`'y'` form"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position | number | undefined | this",
                  "returns": "the position or coordinate when reading (undefined for edges and removed elements), this collection when writing",
                  "examples": [
                    "cy.getElementById('a').position({ x: 20, y: 10 });\nconsole.log(cy.getElementById('a').position()); // { x: 20, y: 10 }"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.modelPosition",
                "eles.point"
              ],
              "returns": "the first element's position, or undefined when empty",
              "src": "src/collection.mts:1323",
              "recipes": []
            },
            {
              "name": "eles.positions",
              "descr": "Set every node's position, from a constant or per-element function.",
              "formats": [
                {
                  "descr": "Set every node's position, from a constant or per-element function.",
                  "args": [
                    {
                      "name": "pos",
                      "type": "Position | ElePositionFn<NodeData, EdgeData, Data>",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "x",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        },
                        {
                          "name": "y",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        }
                      ],
                      "descr": "a `{ x, y }` for all of them, or `( ele, i) => ( { x, y })`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "cy.nodes().positions((node, i) => ({ x: i * 50, y: 0 }));\nconsole.log(cy.getElementById('b').position('x')); // 50"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.modelPositions",
                "eles.points"
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:1425",
              "recipes": []
            }
          ]
        },
        {
          "name": "Animation",
          "banner": "animation",
          "fns": [
            {
              "name": "eles.animate",
              "descr": "Animate these elements' style and/or position to explicit targets over `duration` ms, easing the normalized time.",
              "formats": [
                {
                  "descr": "Animate these elements' style and/or position to explicit targets over `duration` ms, easing the normalized time.\n\nThere is no queue: the animation starts immediately, animations on disjoint channels run concurrently, and starting one that overlaps a running animation's channels stops the older one in place — its promise resolves, its values freeze, and the new animation captures from there. Sequence with `await animation( …).play()` rather than by queueing.\n\nAnimatable: `position`; `opacity` (both groups); node `background-color`/`border-color`/`border-width`, edge `line-color`; and the geometry numerics node `width`/`height`, edge `width`, compound `padding` and `font-size`. Colours interpolate in **OKLab**, matching the colour mappers.\n\nUse named easings or `cubic-bezier( …)`, CSS `linear( …)` and `spring( bounce)`. A custom easing *function* is rejected — a closure cannot cross to the GPU, so accepting one would mean a curve that silently depended on whether the animation got offloaded.",
                  "args": [
                    {
                      "name": "opts",
                      "type": "AnimateOptions",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "style",
                          "type": "Record<string, string | number>",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "position",
                          "type": "Partial<Position>",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "Target the collapsed state of compound parents. This is an element-only\nanimation channel and may be combined with timing options, but not with\nother style, position, or viewport targets."
                        },
                        {
                          "name": "pan",
                          "type": "Position",
                          "optional": true,
                          "descr": "viewport targets (core.animate)"
                        },
                        {
                          "name": "panBy",
                          "type": "Position",
                          "optional": true,
                          "descr": "viewport target: pan by a delta rather than to an absolute position.\nResolved against the pan at creation time, so a manual\npan afterwards does not move the target.  Throws alongside `pan` —\nthe two spell the same channel.\nCore-only: an element animation ignores it."
                        },
                        {
                          "name": "zoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "fit",
                          "type": "{ eles?: unknown; boundingBox?: { x1: number; y1: number; x2?: number; y2?: number; w?: number; h?: number; }; padding?: number; }",
                          "optional": true,
                          "descr": "viewport target: animate to the viewport that fits the given elements\n(or an explicit model-space box).  Resolved to pan/zoom when the animation\nis created."
                        },
                        {
                          "name": "center",
                          "type": "{ eles?: unknown }",
                          "optional": true,
                          "descr": "viewport target: animate the pan that centers the given elements"
                        },
                        {
                          "name": "duration",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "easing",
                          "type": "string",
                          "optional": true,
                          "descr": "A named easing, `cubic-bezier()`, `linear()` or\n`spring(bounce)`.  For a spring, `duration` is the *perceptual*\nduration and the animation runs on past it to settle, so its total\nlength is longer (see `durationMs`)."
                        },
                        {
                          "name": "delay",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "complete",
                          "type": "() => void",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "targets (`position`, `style`, or `collapsed` for compound parents; viewport forms apply on `cy.animate`), `duration`, `easing`, `delay`, `complete`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining; use `animation()` when you want the handle",
                  "examples": [
                    "eles.animate({ position: { x: 20, y: 10 }, duration: 100 });\neles.stop(true);\nconsole.log(cy.getElementById('a').position('x')); // 20"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining; use `animation()` when you want the handle",
              "see": [
                "Collection#animation for the handle form with `promise`/`pause`/`resume`/`reverse`"
              ],
              "src": "src/collection.mts:1480",
              "recipes": []
            },
            {
              "name": "eles.animation",
              "descr": "Build an animation for these elements without starting it.",
              "formats": [
                {
                  "descr": "Build an animation for these elements without starting it.",
                  "args": [
                    {
                      "name": "opts",
                      "type": "AnimateOptions",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "style",
                          "type": "Record<string, string | number>",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "position",
                          "type": "Partial<Position>",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "Target the collapsed state of compound parents. This is an element-only\nanimation channel and may be combined with timing options, but not with\nother style, position, or viewport targets."
                        },
                        {
                          "name": "pan",
                          "type": "Position",
                          "optional": true,
                          "descr": "viewport targets (core.animate)"
                        },
                        {
                          "name": "panBy",
                          "type": "Position",
                          "optional": true,
                          "descr": "viewport target: pan by a delta rather than to an absolute position.\nResolved against the pan at creation time, so a manual\npan afterwards does not move the target.  Throws alongside `pan` —\nthe two spell the same channel.\nCore-only: an element animation ignores it."
                        },
                        {
                          "name": "zoom",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "fit",
                          "type": "{ eles?: unknown; boundingBox?: { x1: number; y1: number; x2?: number; y2?: number; w?: number; h?: number; }; padding?: number; }",
                          "optional": true,
                          "descr": "viewport target: animate to the viewport that fits the given elements\n(or an explicit model-space box).  Resolved to pan/zoom when the animation\nis created."
                        },
                        {
                          "name": "center",
                          "type": "{ eles?: unknown }",
                          "optional": true,
                          "descr": "viewport target: animate the pan that centers the given elements"
                        },
                        {
                          "name": "duration",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "easing",
                          "type": "string",
                          "optional": true,
                          "descr": "A named easing, `cubic-bezier()`, `linear()` or\n`spring(bounce)`.  For a spring, `duration` is the *perceptual*\nduration and the animation runs on past it to settle, so its total\nlength is longer (see `durationMs`)."
                        },
                        {
                          "name": "delay",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "complete",
                          "type": "() => void",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "the tween targets (`position`, `style`, or compound `collapsed` state) plus `duration`, `delay`, `easing` and `complete`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AnimationHandle",
                  "returns": "the handle; nothing runs until `play()`",
                  "examples": [
                    "const handle = eles.animation({ position: { x: 20, y: 10 }, duration: 1 });\nawait handle.play();\nconsole.log(handle.progress()); // 1"
                  ],
                  "throws": []
                }
              ],
              "returns": "the handle; nothing runs until `play()`",
              "src": "src/collection.mts:1497",
              "recipes": []
            },
            {
              "name": "eles.delay",
              "descr": "A no-op tween — a timed pause that touches no channels, so it composes with any running animation (use `delayAnimation().play()` + await to sequence).",
              "formats": [
                {
                  "descr": "A no-op tween — a timed pause that touches no channels, so it composes with any running animation (use `delayAnimation().play()` + await to sequence).",
                  "args": [
                    {
                      "name": "duration",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the pause in ms"
                    },
                    {
                      "name": "complete",
                      "type": "() => void",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "called when it elapses"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "eles.delay(1);\neles.stop(true);\nconsole.log(eles.animated()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:1514",
              "recipes": []
            },
            {
              "name": "eles.delayAnimation",
              "descr": "Like {@link delay}, but returns the handle instead of chaining.",
              "formats": [
                {
                  "descr": "Like {@link delay}, but returns the handle instead of chaining.",
                  "args": [
                    {
                      "name": "duration",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the pause in ms"
                    },
                    {
                      "name": "complete",
                      "type": "() => void",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "called when it elapses"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AnimationHandle",
                  "returns": "the handle; nothing runs until `play()`",
                  "examples": [
                    "const handle = eles.delayAnimation(1);\nawait handle.play();\nconsole.log(handle.progress()); // 1"
                  ],
                  "throws": []
                }
              ],
              "returns": "the handle; nothing runs until `play()`",
              "src": "src/collection.mts:1530",
              "recipes": []
            },
            {
              "name": "eles.animated",
              "descr": "True when any of these elements has a running animation.",
              "formats": [
                {
                  "descr": "True when any of these elements has a running animation.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "whether **any** element here is animating — not whether all are, and not whether the viewport is (that is `cy.animated()`)",
                  "examples": [
                    "console.log(eles.animated()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "whether **any** element here is animating — not whether all are, and not whether the viewport is (that is `cy.animated()`)",
              "src": "src/collection.mts:1543",
              "recipes": []
            },
            {
              "name": "eles.stop",
              "descr": "Stop every running animation on these elements (animations have no queue).",
              "formats": [
                {
                  "descr": "Stop every running animation on these elements (animations have no queue).",
                  "args": [
                    {
                      "name": "jumpToEnd",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "default": "false",
                      "fields": [],
                      "descr": "apply each animation's final values instead of freezing each channel where its tween reached"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "eles.animate({ position: { x: 20, y: 10 }, duration: 100 });\neles.stop(true);\nconsole.log(eles.animated()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:1558",
              "recipes": []
            },
            {
              "name": "eles.shift",
              "descr": "Offset positions by a vector or along one axis.",
              "formats": [
                {
                  "descr": "Offset positions by a vector or along one axis.",
                  "args": [
                    {
                      "name": "dim",
                      "type": "string | Position",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "x",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        },
                        {
                          "name": "y",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        }
                      ],
                      "descr": "a `{ x, y }` delta, or 'x' / 'y' with `value`"
                    },
                    {
                      "name": "value",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the offset, when `dim` names an axis"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "cy.nodes().shift({ x: 10, y: 0 });\nconsole.log(cy.getElementById('a').position('x')); // 10"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:1580",
              "recipes": []
            },
            {
              "name": "eles.relativePosition",
              "descr": "Read the first element's position relative to its immediate compound parent. For orphans this equals the model position.",
              "formats": [
                {
                  "descr": "Read the first element's position relative to its immediate compound parent. For orphans this equals the model position.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position | undefined",
                  "returns": "the first element's position, or undefined when empty",
                  "examples": [
                    "console.log(cy.getElementById('a').relativePosition()); // { x: 0, y: 0 }"
                  ],
                  "throws": []
                },
                {
                  "descr": "Read one coordinate of the first element.",
                  "args": [
                    {
                      "name": "dim",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the coordinate, 'x' or 'y'"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the first element's coordinate, or undefined when empty",
                  "examples": [
                    "console.log(cy.getElementById('a').relativePosition('x')); // 0"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set the position on every unlocked node.",
                  "args": [
                    {
                      "name": "position",
                      "type": "Position",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "x",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        },
                        {
                          "name": "y",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        }
                      ],
                      "descr": "the coordinates to write"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const result = eles.relativePosition({ x: 20, y: 10 });\nconsole.log(result === eles); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set one coordinate on every unlocked node.",
                  "args": [
                    {
                      "name": "dim",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the coordinate, 'x' or 'y'"
                    },
                    {
                      "name": "value",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the coordinate to write"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const result = eles.relativePosition('x', 20);\nconsole.log(result === eles); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Compound-relative position: the model position minus the immediate parent's (derived) position — the model position for orphans and compound-free graphs.",
                  "args": [
                    {
                      "name": "dim",
                      "type": "string | Position",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "x",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        },
                        {
                          "name": "y",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        }
                      ],
                      "descr": "omit to read the pair, 'x' / 'y' to read one axis, or pass a `{ x, y }` (with no `value`) to write both"
                    },
                    {
                      "name": "value",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the relative coordinate to write, when `dim` names an axis"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position | number | undefined | this",
                  "returns": "the position or coordinate when reading, this when writing",
                  "examples": [
                    "console.log(cy.getElementById('a').relativePosition()); // { x: 0, y: 0 }"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.relativePoint"
              ],
              "returns": "the first element's position, or undefined when empty",
              "src": "src/collection.mts:1603",
              "recipes": []
            },
            {
              "name": "eles.renderedPosition",
              "descr": "Read the first element's position in rendered CSS pixels, after applying the graph's zoom and pan.",
              "formats": [
                {
                  "descr": "Read the first element's position in rendered CSS pixels, after applying the graph's zoom and pan.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position | undefined",
                  "returns": "the first element's position, or undefined when empty",
                  "examples": [
                    "cy.zoom(1); cy.pan({ x: 0, y: 0 });\nconsole.log(cy.getElementById('a').renderedPosition()); // { x: 0, y: 0 }"
                  ],
                  "throws": []
                },
                {
                  "descr": "Read one coordinate of the first element.",
                  "args": [
                    {
                      "name": "dim",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the coordinate, 'x' or 'y'"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the first element's coordinate, or undefined when empty",
                  "examples": [
                    "cy.zoom(1); cy.pan({ x: 0, y: 0 });\nconsole.log(cy.getElementById('a').renderedPosition('x')); // 0"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set the position on every unlocked node.",
                  "args": [
                    {
                      "name": "position",
                      "type": "Position",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "x",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        },
                        {
                          "name": "y",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        }
                      ],
                      "descr": "the coordinates to write"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const result = eles.renderedPosition({ x: 20, y: 10 });\nconsole.log(result === eles); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Set one coordinate on every unlocked node.",
                  "args": [
                    {
                      "name": "dim",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the coordinate, 'x' or 'y'"
                    },
                    {
                      "name": "value",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the coordinate to write"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const result = eles.renderedPosition('x', 20);\nconsole.log(result === eles); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Read the first element's position in rendered (CSS px) space, or write the position of every live, unlocked node in the collection — `position()` put through the current pan and zoom. Writing unprojects back to model space, so each node lands under the given screen point at the current viewport.",
                  "args": [
                    {
                      "name": "dim",
                      "type": "string | Position",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "x",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        },
                        {
                          "name": "y",
                          "type": "number",
                          "optional": false,
                          "descr": ""
                        }
                      ],
                      "descr": "`'x'`/`'y'`, or a `{ x, y }` object to write both; omit to read the pair"
                    },
                    {
                      "name": "value",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the new coordinate, with the `'x'`/`'y'` form"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position | number | undefined | this",
                  "returns": "the rendered position when reading, this collection when writing",
                  "examples": [
                    "cy.zoom(1); cy.pan({ x: 10, y: 20 });\nconsole.log(cy.getElementById('a').renderedPosition()); // { x: 10, y: 20 }"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.renderedPoint"
              ],
              "returns": "the first element's position, or undefined when empty",
              "src": "src/collection.mts:1669",
              "recipes": []
            },
            {
              "name": "eles.width",
              "descr": "Read the first element's width in model pixels: a node's content width, excluding padding and border, or an edge's stroke width. A compound parent's width is derived from its children. The read reflects the current value during size animations.",
              "formats": [
                {
                  "descr": "Read the first element's width in model pixels: a node's content width, excluding padding and border, or an edge's stroke width. A compound parent's width is derived from its children. The read reflects the current value during size animations.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the width, or undefined when empty or removed",
                  "examples": [
                    "console.log(eles.width()); // 30"
                  ],
                  "throws": []
                }
              ],
              "returns": "the width, or undefined when empty or removed",
              "see": [
                "Collection#outerWidth to include the border"
              ],
              "src": "src/collection.mts:1744",
              "recipes": []
            },
            {
              "name": "eles.height",
              "descr": "Read the first element's height in model pixels: a node's content height, excluding padding and border, or an edge's stroke width. A compound parent's height is derived from its children. The read reflects the current value during size animations.",
              "formats": [
                {
                  "descr": "Read the first element's height in model pixels: a node's content height, excluding padding and border, or an edge's stroke width. A compound parent's height is derived from its children. The read reflects the current value during size animations.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the height, or undefined when empty or removed",
                  "examples": [
                    "console.log(eles.height()); // 30"
                  ],
                  "throws": []
                }
              ],
              "returns": "the height, or undefined when empty or removed",
              "src": "src/collection.mts:1759",
              "recipes": []
            },
            {
              "name": "eles.data",
              "descr": "Read all application data from the first element. Returns undefined for an empty collection. To read a single key, use `data(key)`; to update elements, use `data(key, value)` or `data(object)`.",
              "formats": [
                {
                  "descr": "Read all application data from the first element. Returns undefined for an empty collection. To read a single key, use `data(key)`; to update elements, use `data(key, value)` or `data(object)`.\n\nThe returned object is a cached snapshot. Changing it does not update the graph. Use a data setter to emit events and update data-dependent styles.\n\n`id`, `source`, `target` and `parent` can be read through `data()`, but identity and topology cannot be changed with a data setter. Use `move()` to change an edge's endpoints or a node's parent.\n\nTyped instances check keys and values against the data shapes supplied to `cytoscape<NodeData, EdgeData>()`. Narrow a mixed collection with `nodes()` or `edges()` to access fields that are specific to one group.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "IfTyped<NodeData, EdgeData, Data | undefined, unknown>",
                  "returns": "the first element's data — the collection's shape when typed — or undefined when the collection is empty",
                  "examples": [
                    "const node = cy.getElementById('a');\nnode.data('score', 9);\nconsole.log(node.data().score); // 9"
                  ],
                  "throws": []
                },
                {
                  "descr": "Read a first-class field of the first element (see the whole-object form): `'id'`, `'source'`/`'target'` on an edge, `'parent'` on a child node.",
                  "args": [
                    {
                      "name": "key",
                      "type": "FirstClassKey",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the first-class field to read"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "IfTyped<NodeData, EdgeData, string | undefined, unknown>",
                  "returns": "the id it holds, or undefined when there is none or the collection is empty",
                  "examples": [
                    "console.log(cy.getElementById('a').data('id')); // 'a'"
                  ],
                  "throws": []
                },
                {
                  "descr": "Read one data key of the first element (see the whole-object form).",
                  "args": [
                    {
                      "name": "key",
                      "type": "K",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the key to read; typed, one of the collection's fields (a mixed collection's *common* fields — narrow it with `nodes()` or `edges()` to read the rest)"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "K extends keyof Data & string",
                  "returnType": "IfTyped<NodeData, EdgeData, Data[K] | undefined, unknown>",
                  "returns": "the value, or undefined when the key is unset or the collection is empty",
                  "examples": [
                    "console.log(cy.getElementById('a').data('score')); // 1"
                  ],
                  "throws": []
                },
                {
                  "descr": "Write one data key on every element. Writes emit a data event and update data-dependent styles and labels.",
                  "args": [
                    {
                      "name": "key",
                      "type": "K",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the key to write"
                    },
                    {
                      "name": "value",
                      "type": "IfTyped<NodeData, EdgeData, Data[K], unknown>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the value; an explicit `undefined` clears the key"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "K extends keyof Data & string",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const result = eles.data('score', 9);\nconsole.log(result === eles); // true"
                  ],
                  "throws": [
                    "when `key` is `'id'`, or `'source'`/`'target'` on an edge — first-class fields are immutable (typed, not a key it accepts)"
                  ]
                },
                {
                  "descr": "Set several application data fields on every element in this collection. Each supplied key replaces its value; other keys are unchanged. Writes emit `data` and update data-dependent styles and labels.",
                  "args": [
                    {
                      "name": "patch",
                      "type": "IfTyped<NodeData, EdgeData, Partial<Data>, Record<string, unknown>>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the keys to write"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "eles.data({ score: 9 });\nconsole.log(eles.first().data('score')); // 9"
                  ],
                  "throws": [
                    "when the patch names `'id'`, or `'source'`/`'target'` on an edge — first-class fields are immutable"
                  ]
                }
              ],
              "pureAliases": [
                "eles.attr"
              ],
              "returns": "the first element's data — the collection's shape when typed — or undefined when the collection is empty",
              "throws": [
                "when `key` is `'id'`, or `'source'`/`'target'` on an edge — first-class fields are immutable (typed, not a key it accepts)",
                "when the patch names `'id'`, or `'source'`/`'target'` on an edge — first-class fields are immutable"
              ],
              "src": "src/collection.mts:1787",
              "recipes": [
                {
                  "title": "add and style a neighbourhood",
                  "url": "/docs/recipes/#recipes/add-and-style-a-neighbourhood"
                }
              ]
            },
            {
              "name": "eles.removeData",
              "descr": "Remove application data keys.",
              "formats": [
                {
                  "descr": "Remove application data keys.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "eles.data('temporary', 1);\neles.removeData();\nconsole.log(eles.first().data('temporary')); // undefined"
                  ],
                  "throws": []
                },
                {
                  "descr": "Remove application data keys.",
                  "args": [
                    {
                      "name": "names",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "space-separated key names; omit to clear every key"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "eles.data('temporary', 1);\neles.removeData('temporary');\nconsole.log(eles.first().data('temporary')); // undefined"
                  ],
                  "throws": []
                },
                {
                  "descr": "Remove application data keys.",
                  "args": [
                    {
                      "name": "names",
                      "type": "string",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "space-separated key names; omit to clear every key"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "eles.data('temporary', 1);\neles.removeData('temporary');\nconsole.log(eles.first().data('temporary')); // undefined"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.removeAttr"
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:1968",
              "recipes": []
            },
            {
              "name": "eles.scratch",
              "descr": "Read all scratch data from the first element. Scratch is never exported and writes emit no events.",
              "formats": [
                {
                  "descr": "Read all scratch data from the first element. Scratch is never exported and writes emit no events.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Record<string, unknown> | undefined",
                  "returns": "the scratch object or value; undefined when empty or unset",
                  "examples": [
                    "eles.scratch('ui', 1);\nconsole.log(eles.first().scratch().ui); // 1"
                  ],
                  "throws": []
                },
                {
                  "descr": "Read one scratch namespace from the first element. Scratch is never exported and writes emit no events.",
                  "args": [
                    {
                      "name": "key",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the namespace to read or write"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "unknown",
                  "returns": "the scratch object or value; undefined when empty or unset",
                  "examples": [
                    "eles.scratch('ui', 1);\nconsole.log(eles.first().scratch('ui')); // 1"
                  ],
                  "throws": []
                },
                {
                  "descr": "Write one scratch namespace on every element. Scratch is never exported and writes emit no events.",
                  "args": [
                    {
                      "name": "key",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the namespace to read or write"
                    },
                    {
                      "name": "value",
                      "type": "unknown",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the transient value to store"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const result = eles.scratch('ui', 1);\nconsole.log(result === eles); // true"
                  ],
                  "throws": []
                },
                {
                  "descr": "Merge scratch namespaces on every element. Scratch is never exported and writes emit no events.",
                  "args": [
                    {
                      "name": "patch",
                      "type": "Record<string, unknown>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the namespaces to merge"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "eles.scratch({ ui: 1 });\nconsole.log(eles.first().scratch('ui')); // 1"
                  ],
                  "throws": []
                },
                {
                  "descr": "Per-element scratchpad (plain JS, not a column): `scratch()` reads the first element's whole object, `scratch(ns)` one namespace, `scratch(ns, val)` / `scratch(obj)` write to every element.",
                  "args": [
                    {
                      "name": "args",
                      "type": "| [] | [key: string] | [key: string, value: unknown] | [patch: Record<string, unknown>]",
                      "optional": false,
                      "rest": true,
                      "fields": [],
                      "descr": "the form to take: nothing (read the whole object), a namespace (read it), a namespace and a value (write it to every element), or one object (merge its keys into every element)"
                    }
                  ],
                  "callable": true,
                  "callForms": [
                    [],
                    [
                      {
                        "name": "key",
                        "type": "string",
                        "descr": "",
                        "optional": false
                      }
                    ],
                    [
                      {
                        "name": "key",
                        "type": "string",
                        "descr": "",
                        "optional": false
                      },
                      {
                        "name": "value",
                        "type": "unknown",
                        "descr": "",
                        "optional": false
                      }
                    ],
                    [
                      {
                        "name": "patch",
                        "type": "Record<string, unknown>",
                        "descr": "",
                        "optional": false
                      }
                    ]
                  ],
                  "typeParameters": "",
                  "returnType": "unknown",
                  "returns": "the reader forms answer the first element — the whole scratch object under no argument, one namespace's value under `scratch(ns)`, undefined when the collection is empty — while the writer forms return this collection for chaining",
                  "examples": [
                    "eles.scratch('ui', { highlighted: true });\nconsole.log(eles.first().scratch('ui').highlighted); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "the scratch object or value; undefined when empty or unset",
              "src": "src/collection.mts:2005",
              "recipes": []
            },
            {
              "name": "eles.removeScratch",
              "descr": "Delete scratchpad keys from every element.",
              "formats": [
                {
                  "descr": "Delete scratchpad keys from every element.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "eles.scratch('temporary', 1);\neles.removeScratch();\nconsole.log(eles.first().scratch('temporary')); // undefined"
                  ],
                  "throws": []
                },
                {
                  "descr": "Delete scratchpad keys from every element.",
                  "args": [
                    {
                      "name": "namespace",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the key to remove; omit to clear each element's whole scratchpad"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "eles.scratch('temporary', 1);\neles.removeScratch('temporary');\nconsole.log(eles.first().scratch('temporary')); // undefined"
                  ],
                  "throws": []
                },
                {
                  "descr": "Delete scratchpad keys from every element.",
                  "args": [
                    {
                      "name": "namespace",
                      "type": "string",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the key to remove; omit to clear each element's whole scratchpad"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "eles.scratch('temporary', 1);\neles.removeScratch('temporary');\nconsole.log(eles.first().scratch('temporary')); // undefined"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:2073",
              "recipes": []
            }
          ]
        },
        {
          "name": "Style (read-only)",
          "banner": "style (read-only)",
          "fns": [
            {
              "name": "eles.style",
              "descr": "Resolved style read off the stored channels — all of the first element's group props.",
              "formats": [
                {
                  "descr": "Resolved style read off the stored channels — all of the first element's group props.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "unknown",
                  "returns": "the whole group's props (numbers for numeric props, `rgb()`/`rgba()` strings for colors, keywords otherwise), or undefined when the collection is empty",
                  "examples": [
                    "console.log(cy.nodes().first().style()['background-color']); // \"rgb(153,153,153)\""
                  ],
                  "throws": []
                },
                {
                  "descr": "Resolved style read off the stored channels — one value. A bypassed prop reads its bypass value, since a bypass writes stored truth.",
                  "args": [
                    {
                      "name": "name",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the property to read, dash-case or camelCase"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "unknown",
                  "returns": "the resolved value, or undefined when the collection is empty or the prop belongs to the other group",
                  "examples": [
                    "console.log(cy.nodes().first().style('background-color')); // \"rgb(153,153,153)\""
                  ],
                  "throws": []
                },
                {
                  "descr": "Set a per-element style bypass on every element. Sugar over the stylesheet's `bypasses` section: the value must be a constant (mappers belong in the sheet's group blocks), the entry is keyed by the element's id and survives remove/re-add, it beats every sheet rule including the default sheet's selection color, and it exports from `cy.json()`.",
                  "args": [
                    {
                      "name": "name",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the property to bypass, dash-case or camelCase"
                    },
                    {
                      "name": "value",
                      "type": "unknown",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the constant value to pin"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const result = eles.style('width', 40);\nconsole.log(result === eles); // true"
                  ],
                  "throws": [
                    "on a mapper value, a global font prop, a transition config prop, a wrong-group prop, or an invalid value"
                  ]
                },
                {
                  "descr": "Set several per-element style bypasses on every element. The object form of the setter: each key–value pair joins the element's bypass declaration.",
                  "args": [
                    {
                      "name": "props",
                      "type": "Record<string, unknown>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "prop → constant value, dash-case or camelCase keys"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "eles.style({ width: 40 });\nconsole.log(eles.first().numericStyle('width')); // 40"
                  ],
                  "throws": [
                    "as the name/value form does, per prop"
                  ]
                }
              ],
              "pureAliases": [
                "eles.css"
              ],
              "returns": "the whole group's props (numbers for numeric props, `rgb()`/`rgba()` strings for colors, keywords otherwise), or undefined when the collection is empty",
              "throws": [
                "on a mapper value, a global font prop, a transition config prop, a wrong-group prop, or an invalid value",
                "as the name/value form does, per prop"
              ],
              "src": "src/collection.mts:2115",
              "recipes": []
            },
            {
              "name": "eles.removeStyle",
              "descr": "Remove per-element style bypasses from every element. Values return to those supplied by the stylesheet, including any configured transitions.",
              "formats": [
                {
                  "descr": "Remove per-element style bypasses from every element. Values return to those supplied by the stylesheet, including any configured transitions.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "cy.style({ bypasses: { a: { width: 60 } } });\ncy.getElementById('a').removeStyle();\nconsole.log(cy.getElementById('a').width()); // 30"
                  ],
                  "throws": []
                },
                {
                  "descr": "Remove per-element style bypasses from every element. Values return to those supplied by the stylesheet, including any configured transitions.",
                  "args": [
                    {
                      "name": "name",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the property to un-bypass, dash-case or camelCase; omit to clear each element's whole bypass declaration"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "cy.style({ bypasses: { a: { width: 60 } } });\ncy.getElementById('a').removeStyle('width');\nconsole.log(cy.getElementById('a').width()); // 30"
                  ],
                  "throws": []
                },
                {
                  "descr": "Remove per-element style bypasses from every element. Values return to those supplied by the stylesheet, including any configured transitions.",
                  "args": [
                    {
                      "name": "name",
                      "type": "string",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the property to un-bypass, dash-case or camelCase; omit to clear each element's whole bypass declaration"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "cy.style({ bypasses: { a: { width: 60 } } });\ncy.getElementById('a').removeStyle('width');\nconsole.log(cy.getElementById('a').width()); // 30"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.removeCss"
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:2174",
              "recipes": []
            },
            {
              "name": "eles.renderedStyle",
              "descr": "Like `style()`, but with length props (width, height, border-width, font-size) scaled into rendered (on-screen) px by the zoom.",
              "formats": [
                {
                  "descr": "Like `style()`, but with length props (width, height, border-width, font-size) scaled into rendered (on-screen) px by the zoom.",
                  "args": [
                    {
                      "name": "name",
                      "type": "string",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "a property name; omit for the whole group"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "unknown",
                  "returns": "the rendered-space value, or the whole group's props",
                  "examples": [
                    "cy.zoom(2);\nconsole.log(cy.getElementById('a').renderedStyle('width')); // 60"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.renderedCss"
              ],
              "returns": "the rendered-space value, or the whole group's props",
              "src": "src/collection.mts:2218",
              "recipes": []
            },
            {
              "name": "eles.numericStyle",
              "descr": "The numeric value of a numeric style prop.",
              "formats": [
                {
                  "descr": "The numeric value of a numeric style prop.",
                  "args": [
                    {
                      "name": "name",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "a numeric style property"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the number, or undefined when the collection is empty or the prop belongs to the other group",
                  "examples": [
                    "console.log(cy.nodes().first().numericStyle('width')); // 30"
                  ],
                  "throws": [
                    "if the prop resolves to a colour or a keyword rather than a number"
                  ]
                }
              ],
              "returns": "the number, or undefined when the collection is empty or the prop belongs to the other group",
              "throws": [
                "if the prop resolves to a colour or a keyword rather than a number"
              ],
              "src": "src/collection.mts:2235",
              "recipes": []
            },
            {
              "name": "eles.effectiveOpacity",
              "descr": "The rendered opacity: a node's own opacity times its ancestors' (the store keeps the folded value in the column); an edge's own opacity (edges have no parent).",
              "formats": [
                {
                  "descr": "The rendered opacity: a node's own opacity times its ancestors' (the store keeps the folded value in the column); an edge's own opacity (edges have no parent).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the opacity actually rendered, which is what `transparent()` tests against 0 — not the declared `opacity` style value, which `style('opacity')` reads; undefined when empty or removed",
                  "examples": [
                    "console.log(eles.effectiveOpacity()); // 1"
                  ],
                  "throws": []
                }
              ],
              "returns": "the opacity actually rendered, which is what `transparent()` tests against 0 — not the declared `opacity` style value, which `style('opacity')` reads; undefined when empty or removed",
              "src": "src/collection.mts:2251",
              "recipes": []
            },
            {
              "name": "eles.transparent",
              "descr": "Whether the first element is fully transparent — its effective opacity, with compound ancestors folded in, is exactly 0.",
              "formats": [
                {
                  "descr": "Whether the first element is fully transparent — its effective opacity, with compound ancestors folded in, is exactly 0.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when invisible through opacity",
                  "examples": [
                    "console.log(eles.transparent()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when invisible through opacity",
              "src": "src/collection.mts:2264",
              "recipes": []
            },
            {
              "name": "eles.takesUpSpace",
              "descr": "The space tier: shown elements occupy space — they join bb/fit and size their compound parents — even when `visibility: 'hidden'` keeps them from rendering. display-tier hide() clears it.",
              "formats": [
                {
                  "descr": "The space tier: shown elements occupy space — they join bb/fit and size their compound parents — even when `visibility: 'hidden'` keeps them from rendering. display-tier hide() clears it.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "whether the element occupies space — this can differ from `visible()`, which is the paint tier",
                  "examples": [
                    "console.log(eles.takesUpSpace()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "whether the element occupies space — this can differ from `visible()`, which is the paint tier",
              "src": "src/collection.mts:2280",
              "recipes": []
            },
            {
              "name": "eles.interactive",
              "descr": "Whether the element can be interacted with: visible and not pointer-transparent (`events: 'no'`).",
              "formats": [
                {
                  "descr": "Whether the element can be interacted with: visible and not pointer-transparent (`events: 'no'`).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "whether any pointer path will resolve to this element; it rides `visible()`, so an element hidden either way is inert",
                  "examples": [
                    "console.log(eles.interactive()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "whether any pointer path will resolve to this element; it rides `visible()`, so an element hidden either way is inert",
              "src": "src/collection.mts:2295",
              "recipes": []
            },
            {
              "name": "eles.label",
              "descr": "The node's resolved label text ('' when none). To set the label, update the stylesheet or the data field it reads.",
              "formats": [
                {
                  "descr": "The node's resolved label text ('' when none). To set the label, update the stylesheet or the data field it reads.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "string | undefined",
                  "returns": "the resolved text of the first element's label — `''` when it has none (a labelled-but-empty label reads the same), and undefined when the collection is empty or the element was removed",
                  "examples": [
                    "console.log(eles.label()); // \"\""
                  ],
                  "throws": []
                }
              ],
              "returns": "the resolved text of the first element's label — `''` when it has none (a labelled-but-empty label reads the same), and undefined when the collection is empty or the element was removed",
              "src": "src/collection.mts:2310",
              "recipes": []
            },
            {
              "name": "eles.padding",
              "descr": "Node padding. Leaves have no padding (no compound-free `padding` prop); parents answer the resolved auto-bounds padding.",
              "formats": [
                {
                  "descr": "Node padding. Leaves have no padding (no compound-free `padding` prop); parents answer the resolved auto-bounds padding.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the resolved padding in model px — 0 for leaves and for any graph with no compounds at all, the derived value for a parent; undefined when the collection is empty",
                  "examples": [
                    "console.log(eles.padding()); // 0"
                  ],
                  "throws": []
                }
              ],
              "returns": "the resolved padding in model px — 0 for leaves and for any graph with no compounds at all, the derived value for a parent; undefined when the collection is empty",
              "src": "src/collection.mts:2333",
              "recipes": []
            },
            {
              "name": "eles.paddedWidth",
              "descr": "The drawn box: core dims + 2 x padding.",
              "formats": [
                {
                  "descr": "The drawn box: core dims + 2 x padding.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the padded width — identical to `width()` for leaves, which have no padding; undefined when empty or removed",
                  "examples": [
                    "console.log(eles.paddedWidth()); // 30"
                  ],
                  "throws": []
                }
              ],
              "returns": "the padded width — identical to `width()` for leaves, which have no padding; undefined when empty or removed",
              "src": "src/collection.mts:2347",
              "recipes": []
            },
            {
              "name": "eles.paddedHeight",
              "descr": "The drawn box height: content height plus twice the padding. Identical to `height()` for leaves, which have no padding.",
              "formats": [
                {
                  "descr": "The drawn box height: content height plus twice the padding. Identical to `height()` for leaves, which have no padding.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the padded height, or undefined when empty or removed",
                  "examples": [
                    "console.log(eles.paddedHeight()); // 30"
                  ],
                  "throws": []
                }
              ],
              "returns": "the padded height, or undefined when empty or removed",
              "src": "src/collection.mts:2362",
              "recipes": []
            },
            {
              "name": "eles.outerWidth",
              "descr": "The full drawn width including the border — padded width plus the border width.  This is the box bounds and endpoint clipping use.",
              "formats": [
                {
                  "descr": "The full drawn width including the border — padded width plus the border width.  This is the box bounds and endpoint clipping use.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the outer width, or undefined when empty or removed",
                  "examples": [
                    "console.log(eles.outerWidth()); // 30"
                  ],
                  "throws": []
                }
              ],
              "returns": "the outer width, or undefined when empty or removed",
              "src": "src/collection.mts:2375",
              "recipes": []
            },
            {
              "name": "eles.outerHeight",
              "descr": "The full drawn height including the border.",
              "formats": [
                {
                  "descr": "The full drawn height including the border.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the outer height, or undefined when empty or removed",
                  "examples": [
                    "console.log(eles.outerHeight()); // 30"
                  ],
                  "throws": []
                }
              ],
              "returns": "the outer height, or undefined when empty or removed",
              "src": "src/collection.mts:2389",
              "recipes": []
            },
            {
              "name": "eles.boundingBox",
              "descr": "The model-space box enclosing every element of the collection.",
              "formats": [
                {
                  "descr": "The model-space box enclosing every element of the collection.\n\n**Labels are included by default**. Node label terms are exact (the laid text block at its anchor plus text-box padding); edge label terms are conservative (a rotation-safe radius about both endpoints), so a box may be slightly larger than the ink but never smaller. The box also covers ghost offsets, overlay/underlay padding and outlines.",
                  "args": [
                    {
                      "name": "options",
                      "type": "{ includeLabels?: boolean }",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "includeLabels",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "`{ includeLabels }` (default true)"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "{ x1: number; y1: number; x2: number; y2: number; w: number; h: number; }",
                  "returns": "`{ x1, y1, x2, y2, w, h }` in model coordinates",
                  "examples": [
                    "console.log(cy.nodes().boundingBox().w); // 130"
                  ],
                  "throws": [
                    "on an unknown option key — a typo must not silently change fit semantics"
                  ]
                }
              ],
              "returns": "`{ x1, y1, x2, y2, w, h }` in model coordinates",
              "throws": [
                "on an unknown option key — a typo must not silently change fit semantics"
              ],
              "see": [
                "Collection#labelBoundingBox for the label box alone"
              ],
              "src": "src/collection.mts:2414",
              "recipes": []
            },
            {
              "name": "eles.labelBoundingBox",
              "descr": "The exact laid label boxes of this collection's elements, unioned: node labels at their anchors, edge mid-labels at the drawn midpoint, end labels conservatively about their endpoint. Empty (zero) when nothing is labelled. Headless dims are estimates (recorded).",
              "formats": [
                {
                  "descr": "The exact laid label boxes of this collection's elements, unioned: node labels at their anchors, edge mid-labels at the drawn midpoint, end labels conservatively about their endpoint. Empty (zero) when nothing is labelled. Headless dims are estimates (recorded).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "{ x1: number; y1: number; x2: number; y2: number; w: number; h: number; }",
                  "returns": null,
                  "examples": [
                    "console.log(cy.nodes().labelBoundingBox().w); // 0"
                  ],
                  "throws": []
                }
              ],
              "src": "src/collection.mts:2435",
              "recipes": []
            },
            {
              "name": "eles.renderedBoundingBox",
              "descr": "`boundingBox()` transformed into rendered (on-screen) coordinates.",
              "formats": [
                {
                  "descr": "`boundingBox()` transformed into rendered (on-screen) coordinates.",
                  "args": [
                    {
                      "name": "options",
                      "type": "{ includeLabels?: boolean }",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "includeLabels",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "as `boundingBox()`: `{ includeLabels }`, default true; an unknown key throws"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "{ x1: number; y1: number; x2: number; y2: number; w: number; h: number; }",
                  "returns": "the rendered-space box",
                  "examples": [
                    "cy.zoom(1); cy.pan({ x: 0, y: 0 });\nconsole.log(cy.nodes().renderedBoundingBox().w); // 130"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.renderedBoundingbox"
              ],
              "returns": "the rendered-space box",
              "src": "src/collection.mts:2457",
              "recipes": []
            },
            {
              "name": "eles.renderedWidth",
              "descr": "`width()` scaled by the current zoom — the on-screen width in CSS px.",
              "formats": [
                {
                  "descr": "`width()` scaled by the current zoom — the on-screen width in CSS px.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the rendered width, or undefined when empty or removed",
                  "examples": [
                    "cy.zoom(2);\nconsole.log(cy.getElementById('a').renderedWidth()); // 60"
                  ],
                  "throws": []
                }
              ],
              "returns": "the rendered width, or undefined when empty or removed",
              "src": "src/collection.mts:2479",
              "recipes": []
            },
            {
              "name": "eles.renderedHeight",
              "descr": "`height()` scaled by the current zoom.",
              "formats": [
                {
                  "descr": "`height()` scaled by the current zoom.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the rendered height, or undefined when empty or removed",
                  "examples": [
                    "cy.zoom(2);\nconsole.log(cy.getElementById('a').renderedHeight()); // 60"
                  ],
                  "throws": []
                }
              ],
              "returns": "the rendered height, or undefined when empty or removed",
              "src": "src/collection.mts:2492",
              "recipes": []
            },
            {
              "name": "eles.renderedOuterWidth",
              "descr": "`outerWidth()` scaled by the current zoom.",
              "formats": [
                {
                  "descr": "`outerWidth()` scaled by the current zoom.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the rendered outer width, or undefined when empty or removed",
                  "examples": [
                    "cy.zoom(2);\nconsole.log(cy.getElementById('a').renderedOuterWidth()); // 60"
                  ],
                  "throws": []
                }
              ],
              "returns": "the rendered outer width, or undefined when empty or removed",
              "src": "src/collection.mts:2506",
              "recipes": []
            },
            {
              "name": "eles.renderedOuterHeight",
              "descr": "`outerHeight()` scaled by the current zoom.",
              "formats": [
                {
                  "descr": "`outerHeight()` scaled by the current zoom.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the rendered outer height, or undefined when empty or removed",
                  "examples": [
                    "cy.zoom(2);\nconsole.log(cy.getElementById('a').renderedOuterHeight()); // 60"
                  ],
                  "throws": []
                }
              ],
              "returns": "the rendered outer height, or undefined when empty or removed",
              "src": "src/collection.mts:2520",
              "recipes": []
            },
            {
              "name": "eles.midpoint",
              "descr": "Midpoint of the edge: the curve/route midpoint for curved edges , the endpoint-center average for straight ones.",
              "formats": [
                {
                  "descr": "Midpoint of the edge: the curve/route midpoint for curved edges , the endpoint-center average for straight ones.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position | undefined",
                  "returns": "the point a mid-label and a mid-arrow anchor at, in model space; undefined for non-edges. Mid-tween it inherits the position lease's staleness, like the endpoints it derives from",
                  "examples": [
                    "const point = cy.getElementById('ab').midpoint();\nconsole.log(Number.isFinite(point.x)); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "the point a mid-label and a mid-arrow anchor at, in model space; undefined for non-edges. Mid-tween it inherits the position lease's staleness, like the endpoints it derives from",
              "src": "src/collection.mts:2543",
              "recipes": []
            },
            {
              "name": "eles.renderedMidpoint",
              "descr": "`midpoint()` in rendered (CSS px) space.",
              "formats": [
                {
                  "descr": "`midpoint()` in rendered (CSS px) space.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position | undefined",
                  "returns": "the rendered midpoint, or undefined for non-edges",
                  "examples": [
                    "const point = cy.getElementById('ab').renderedMidpoint();\nconsole.log(Number.isFinite(point.x)); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "the rendered midpoint, or undefined for non-edges",
              "src": "src/collection.mts:2556",
              "recipes": []
            },
            {
              "name": "eles.sourceEndpoint",
              "descr": "Get the first edge's source arrow position in model coordinates. Straight edges meet the source node's boundary with the arrowhead's spacing applied. The line can end farther back to leave room for a hollow arrowhead.",
              "formats": [
                {
                  "descr": "Get the first edge's source arrow position in model coordinates. Straight edges meet the source node's boundary with the arrowhead's spacing applied. The line can end farther back to leave room for a hollow arrowhead.\n\nCurved routes return the corresponding point along their computed geometry. Returns undefined when the first element is not an edge.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position | undefined",
                  "returns": "the endpoint, or undefined for non-edges",
                  "examples": [
                    "const point = cy.getElementById('ab').sourceEndpoint();\nconsole.log(Number.isFinite(point.x)); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "the endpoint, or undefined for non-edges",
              "src": "src/collection.mts:2575",
              "recipes": []
            },
            {
              "name": "eles.targetEndpoint",
              "descr": "Get the first edge's target arrow position in model coordinates. Straight edges meet the target node's boundary with the arrowhead's spacing applied. The line can end farther back to leave room for a hollow arrowhead.",
              "formats": [
                {
                  "descr": "Get the first edge's target arrow position in model coordinates. Straight edges meet the target node's boundary with the arrowhead's spacing applied. The line can end farther back to leave room for a hollow arrowhead.\n\nCurved routes return the corresponding point along their computed geometry. Returns undefined when the first element is not an edge.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position | undefined",
                  "returns": "the endpoint, or undefined for non-edges",
                  "examples": [
                    "const point = cy.getElementById('ab').targetEndpoint();\nconsole.log(Number.isFinite(point.x)); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "the endpoint, or undefined for non-edges",
              "src": "src/collection.mts:2594",
              "recipes": []
            },
            {
              "name": "eles.renderedSourceEndpoint",
              "descr": "`sourceEndpoint()` in rendered (CSS px) space.",
              "formats": [
                {
                  "descr": "`sourceEndpoint()` in rendered (CSS px) space.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position | undefined",
                  "returns": "the rendered endpoint, or undefined for non-edges",
                  "examples": [
                    "const point = cy.getElementById('ab').renderedSourceEndpoint();\nconsole.log(Number.isFinite(point.x)); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "the rendered endpoint, or undefined for non-edges",
              "src": "src/collection.mts:2607",
              "recipes": []
            },
            {
              "name": "eles.renderedTargetEndpoint",
              "descr": "`targetEndpoint()` in rendered (CSS px) space.",
              "formats": [
                {
                  "descr": "`targetEndpoint()` in rendered (CSS px) space.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position | undefined",
                  "returns": "the rendered endpoint, or undefined for non-edges",
                  "examples": [
                    "const point = cy.getElementById('ab').renderedTargetEndpoint();\nconsole.log(Number.isFinite(point.x)); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "the rendered endpoint, or undefined for non-edges",
              "src": "src/collection.mts:2620",
              "recipes": []
            },
            {
              "name": "eles.controlPoints",
              "descr": "The edge's curve control points (model coords): one for a bundled bezier, two for a self-loop, the control list for an unbundled bezier, undefined otherwise (segments/taxi answer segmentPoints() instead).",
              "formats": [
                {
                  "descr": "The edge's curve control points (model coords): one for a bundled bezier, two for a self-loop, the control list for an unbundled bezier, undefined otherwise (segments/taxi answer segmentPoints() instead).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position[] | undefined",
                  "returns": "the control points in model space, or undefined when the edge has none — which covers straight edges, segments/taxi routes, and a straight edge carrying manual endpoints (the 12c `n = 0` chord)",
                  "examples": [
                    "// Straight edges have no intermediate control points.\nconsole.log(cy.getElementById('ab').controlPoints()); // undefined"
                  ],
                  "throws": []
                }
              ],
              "returns": "the control points in model space, or undefined when the edge has none — which covers straight edges, segments/taxi routes, and a straight edge carrying manual endpoints (the 12c `n = 0` chord)",
              "src": "src/collection.mts:2653",
              "recipes": []
            },
            {
              "name": "eles.renderedControlPoints",
              "descr": "`controlPoints()` in rendered (CSS px) space.",
              "formats": [
                {
                  "descr": "`controlPoints()` in rendered (CSS px) space.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position[] | undefined",
                  "returns": "the rendered control points, or undefined when the edge has none",
                  "examples": [
                    "// Straight edges have no intermediate control points.\nconsole.log(cy.getElementById('ab').renderedControlPoints()); // undefined"
                  ],
                  "throws": []
                }
              ],
              "returns": "the rendered control points, or undefined when the edge has none",
              "src": "src/collection.mts:2667",
              "recipes": []
            },
            {
              "name": "eles.segmentPoints",
              "descr": "The edge's segment points (model coords): defined for segments *and* taxi edges (taxi derives its points), undefined otherwise.",
              "formats": [
                {
                  "descr": "The edge's segment points (model coords): defined for segments *and* taxi edges (taxi derives its points), undefined otherwise.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position[] | undefined",
                  "returns": "the interior route points in model space — *derived* ones for taxi, which computes rather than declares them — or undefined for every other family",
                  "examples": [
                    "// Straight edges have no intermediate segment points.\nconsole.log(cy.getElementById('ab').segmentPoints()); // undefined"
                  ],
                  "throws": []
                }
              ],
              "returns": "the interior route points in model space — *derived* ones for taxi, which computes rather than declares them — or undefined for every other family",
              "src": "src/collection.mts:2692",
              "recipes": []
            },
            {
              "name": "eles.renderedSegmentPoints",
              "descr": "`segmentPoints()` in rendered (CSS px) space.",
              "formats": [
                {
                  "descr": "`segmentPoints()` in rendered (CSS px) space.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Position[] | undefined",
                  "returns": "the rendered segment points, or undefined when the edge has none",
                  "examples": [
                    "// Straight edges have no intermediate segment points.\nconsole.log(cy.getElementById('ab').renderedSegmentPoints()); // undefined"
                  ],
                  "throws": []
                }
              ],
              "returns": "the rendered segment points, or undefined when the edge has none",
              "src": "src/collection.mts:2706",
              "recipes": []
            }
          ]
        },
        {
          "name": "Selection",
          "banner": "selection",
          "fns": [
            {
              "name": "eles.selected",
              "descr": "Whether the first element is selected.",
              "formats": [
                {
                  "descr": "Whether the first element is selected.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when selected",
                  "examples": [
                    "console.log(eles.selected()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when selected",
              "src": "src/collection.mts:2728",
              "recipes": []
            },
            {
              "name": "eles.selectable",
              "descr": "Whether the first element may be selected by the user.  The graph-wide `cy.autounselectify()` overrides this for user gestures.",
              "formats": [
                {
                  "descr": "Whether the first element may be selected by the user.  The graph-wide `cy.autounselectify()` overrides this for user gestures.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when selectable",
                  "examples": [
                    "console.log(eles.selectable()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when selectable",
              "src": "src/collection.mts:2747",
              "recipes": []
            },
            {
              "name": "eles.select",
              "descr": "Select every selectable element, emitting `select` for each one that changed.  Unselectable elements are skipped.",
              "formats": [
                {
                  "descr": "Select every selectable element, emitting `select` for each one that changed.  Unselectable elements are skipped.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const node = cy.getElementById('a');\nnode.select();\nconsole.log(node.selected()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:2767",
              "recipes": []
            },
            {
              "name": "eles.unselect",
              "descr": "Deselect every element, emitting `unselect` for each one that changed.",
              "formats": [
                {
                  "descr": "Deselect every element, emitting `unselect` for each one that changed.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const node = cy.getElementById('a');\nnode.unselect();\nconsole.log(node.selected()); // false"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.deselect"
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:2781",
              "recipes": []
            },
            {
              "name": "eles.selectify",
              "descr": "Make these elements selectable.",
              "formats": [
                {
                  "descr": "Make these elements selectable.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const node = cy.getElementById('a');\nnode.selectify();\nconsole.log(node.selectable()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:2796",
              "recipes": []
            },
            {
              "name": "eles.unselectify",
              "descr": "Make these elements unselectable.  Does not deselect them; call `unselect()` for that.",
              "formats": [
                {
                  "descr": "Make these elements unselectable.  Does not deselect them; call `unselect()` for that.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const node = cy.getElementById('a');\nnode.unselectify();\nconsole.log(node.selectable()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:2810",
              "recipes": []
            }
          ]
        },
        {
          "name": "Grab / lock",
          "banner": "grab / lock",
          "fns": [
            {
              "name": "eles.grabbable",
              "descr": "Pannable elements are not draggable, so pannable overrides grabbable .",
              "formats": [
                {
                  "descr": "Pannable elements are not draggable, so pannable overrides grabbable .",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "whether a drag gesture would move this element — the *effective* answer, so a grabbable-but-pannable element reads false here while `json()` reports the raw field",
                  "examples": [
                    "console.log(eles.grabbable()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "whether a drag gesture would move this element — the *effective* answer, so a grabbable-but-pannable element reads false here while `json()` reports the raw field",
              "src": "src/collection.mts:2827",
              "recipes": []
            },
            {
              "name": "eles.grabbed",
              "descr": "Whether the first element is currently held by a drag gesture.",
              "formats": [
                {
                  "descr": "Whether the first element is currently held by a drag gesture.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true while grabbed",
                  "examples": [
                    "console.log(eles.grabbed()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true while grabbed",
              "src": "src/collection.mts:2839",
              "recipes": []
            },
            {
              "name": "eles.grabify",
              "descr": "Make these elements grabbable.",
              "formats": [
                {
                  "descr": "Make these elements grabbable.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const node = cy.getElementById('a');\nnode.grabify();\nconsole.log(node.grabbable()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:2852",
              "recipes": []
            },
            {
              "name": "eles.ungrabify",
              "descr": "Make these elements ungrabbable — the user can no longer drag them, while programmatic position writes still apply.",
              "formats": [
                {
                  "descr": "Make these elements ungrabbable — the user can no longer drag them, while programmatic position writes still apply.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const node = cy.getElementById('a');\nnode.ungrabify();\nconsole.log(node.grabbable()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:2866",
              "recipes": []
            }
          ]
        },
        {
          "name": "Visibility",
          "banner": "visibility",
          "fns": [
            {
              "name": "eles.visible",
              "descr": "Whether the first element renders (the derived FLAG_DRAWN — shown AND not `visibility: 'hidden'` on self or, for nodes, any ancestor; edges additionally fold their endpoints). The renderer's cull pass and CPU picking mask on the same bit, so an element that is not visible() neither draws nor picks. For space-tier state (in the bb, sizing its compound parent) see `takesUpSpace()` — an invisible element keeps its space.",
              "formats": [
                {
                  "descr": "Whether the first element renders (the derived FLAG_DRAWN — shown AND not `visibility: 'hidden'` on self or, for nodes, any ancestor; edges additionally fold their endpoints). The renderer's cull pass and CPU picking mask on the same bit, so an element that is not visible() neither draws nor picks. For space-tier state (in the bb, sizing its compound parent) see `takesUpSpace()` — an invisible element keeps its space.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "whether the element draws and picks; false for a removed element, for an edge either of whose endpoints is hidden, and for a node under a hidden or invisible ancestor",
                  "examples": [
                    "console.log(eles.visible()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "whether the element draws and picks; false for a removed element, for an edge either of whose endpoints is hidden, and for a node under a hidden or invisible ancestor",
              "src": "src/collection.mts:2888",
              "recipes": []
            },
            {
              "name": "eles.hidden",
              "descr": "The complement of `visible()`.",
              "formats": [
                {
                  "descr": "The complement of `visible()`.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when the first element does not draw",
                  "examples": [
                    "console.log(eles.hidden()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when the first element does not draw",
              "src": "src/collection.mts:2904",
              "recipes": []
            },
            {
              "name": "eles.show",
              "descr": "Show these elements — the **display tier**. Shown elements take up space again, rejoin bounds and fit, and re-fan their bezier bundles.",
              "formats": [
                {
                  "descr": "Show these elements — the **display tier**. Shown elements take up space again, rejoin bounds and fit, and re-fan their bezier bundles.\n\nFor paint-only invisibility that keeps space and bundle ranks, use the `visibility` style property instead, and for a fade use an `opacity` transition.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const node = cy.getElementById('a');\nnode.show();\nconsole.log(node.visible()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:2924",
              "recipes": []
            },
            {
              "name": "eles.hide",
              "descr": "Hide these elements structurally. They stop drawing and picking, leave the bounding box and their ancestors' auto-bounds, and their bezier bundles re-fan without them. Descendants of a hidden node are gated too.",
              "formats": [
                {
                  "descr": "Hide these elements structurally. They stop drawing and picking, leave the bounding box and their ancestors' auto-bounds, and their bezier bundles re-fan without them. Descendants of a hidden node are gated too.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const node = cy.getElementById('a');\nnode.hide();\nconsole.log(node.hidden()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:2941",
              "recipes": []
            },
            {
              "name": "eles.locked",
              "descr": "Whether the first element is locked — immovable, by layouts, position writes and position tweens alike (one rule every layout holds a locked node where it is and keeps it in the layout's structure; force treats it as an obstacle its settle separates the others from). A locked child stays where it is when its compound parent is positioned, shifted or dragged — its own subtree with it — and the parent re-derives about the stayers and the movers. True for every node while `cy.autolock( true)` is set; the flag column alone is what `{ locked: true }` filters read.",
              "formats": [
                {
                  "descr": "Whether the first element is locked — immovable, by layouts, position writes and position tweens alike (one rule every layout holds a locked node where it is and keeps it in the layout's structure; force treats it as an obstacle its settle separates the others from). A locked child stays where it is when its compound parent is positioned, shifted or dragged — its own subtree with it — and the parent re-derives about the stayers and the movers. True for every node while `cy.autolock( true)` is set; the flag column alone is what `{ locked: true }` filters read.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when locked",
                  "examples": [
                    "console.log(eles.locked()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when locked",
              "src": "src/collection.mts:2961",
              "recipes": []
            },
            {
              "name": "eles.lock",
              "descr": "Lock these elements against movement. A node locked mid-tween holds where its position tween got to; the rest of the animation — other nodes, and this node's paint channels — runs on, and unlocking does not resume it.",
              "formats": [
                {
                  "descr": "Lock these elements against movement. A node locked mid-tween holds where its position tween got to; the rest of the animation — other nodes, and this node's paint channels — runs on, and unlocking does not resume it.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const node = cy.getElementById('a');\nnode.lock();\nconsole.log(node.locked()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:2977",
              "recipes": []
            },
            {
              "name": "eles.unlock",
              "descr": "Unlock these elements.",
              "formats": [
                {
                  "descr": "Unlock these elements.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const node = cy.getElementById('a');\nnode.unlock();\nconsole.log(node.locked()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:2993",
              "recipes": []
            }
          ]
        },
        {
          "name": "Active / pannable",
          "banner": "active / pannable",
          "fns": [
            {
              "name": "eles.active",
              "descr": "Whether the first element is in the transient pressed (\"active\") state.",
              "formats": [
                {
                  "descr": "Whether the first element is in the transient pressed (\"active\") state.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "the pressed flag the pointer layer sets while a press is held — transient interaction state, not a persisted property",
                  "examples": [
                    "console.log(eles.active()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "the pressed flag the pointer layer sets while a press is held — transient interaction state, not a persisted property",
              "src": "src/collection.mts:3008",
              "recipes": []
            },
            {
              "name": "eles.pannable",
              "descr": "Whether dragging the first element pans the graph instead of grabbing it.",
              "formats": [
                {
                  "descr": "Whether dragging the first element pans the graph instead of grabbing it.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "the raw pannable flag; because pannable overrides grabbable, a true here forces `grabbable()` false",
                  "examples": [
                    "console.log(eles.pannable()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "the raw pannable flag; because pannable overrides grabbable, a true here forces `grabbable()` false",
              "src": "src/collection.mts:3059",
              "recipes": []
            },
            {
              "name": "eles.panify",
              "descr": "Make dragging these elements pan the viewport instead of moving them.  Pannable overrides grabbable.",
              "formats": [
                {
                  "descr": "Make dragging these elements pan the viewport instead of moving them.  Pannable overrides grabbable.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const node = cy.getElementById('a');\nnode.panify();\nconsole.log(node.pannable()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:3073",
              "recipes": []
            },
            {
              "name": "eles.unpanify",
              "descr": "Stop these elements from panning the viewport when dragged, so a grabbable one becomes draggable again.",
              "formats": [
                {
                  "descr": "Stop these elements from panning the viewport when dragged, so a grabbable one becomes draggable again.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const node = cy.getElementById('a');\nnode.unpanify();\nconsole.log(node.pannable()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:3087",
              "recipes": []
            }
          ]
        },
        {
          "name": "Emphasis",
          "banner": "emphasis (round 102)",
          "fns": [
            {
              "name": "eles.emphasized",
              "descr": "Whether the first element is in the current emphasis — the set the last `cy.emphasize( eles)` named.",
              "formats": [
                {
                  "descr": "Whether the first element is in the current emphasis — the set the last `cy.emphasize( eles)` named.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "the element's emphasized flag; false for a removed element and while no emphasis is set. An element outside a set emphasis is the one the renderer dims — derived, so there is no `dimmed()`",
                  "examples": [
                    "console.log(eles.emphasized()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "the element's emphasized flag; false for a removed element and while no emphasis is set. An element outside a set emphasis is the one the renderer dims — derived, so there is no `dimmed()`",
              "src": "src/collection.mts:3109",
              "recipes": []
            }
          ]
        },
        {
          "name": "Graph manipulation",
          "banner": "graph manipulation",
          "fns": [
            {
              "name": "eles.remove",
              "descr": "Remove these elements from the graph; incident edges of removed nodes cascade.  Already-removed elements are skipped (no second `remove` event).",
              "formats": [
                {
                  "descr": "Remove these elements from the graph; incident edges of removed nodes cascade.  Already-removed elements are skipped (no second `remove` event).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, Data>",
                  "returns": "the elements actually removed — the closure, so it can be *larger* than the receiver: removing a parent brings its descendants, and removing a node brings its incident edges. The returned refs are dead by construction (removals are terminal), so only their cached `id()`/`group()` still read",
                  "examples": [
                    "const removed = cy.getElementById('c').remove();\nconsole.log(removed.removed()); // true\nconsole.log(cy.hasElementWithId('c')); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "the elements actually removed — the closure, so it can be *larger* than the receiver: removing a parent brings its descendants, and removing a node brings its incident edges. The returned refs are dead by construction (removals are terminal), so only their cached `id()`/`group()` still read",
              "src": "src/collection.mts:3130",
              "recipes": []
            },
            {
              "name": "eles.move",
              "descr": "Set a node's parent or an edge's endpoints without changing its id or data.",
              "formats": [
                {
                  "descr": "Set a node's parent or an edge's endpoints without changing its id or data.\n\nUse `{ parent: id }` to reparent nodes, or `{ parent: null }` to make them orphans. Use `{ source: id, target: id }` to rewire edges. If `parent` is present it takes precedence over endpoint keys. A changed parent emits `moveout` before the change and `move` afterwards.\n\nAn unknown parent is ignored. Cyclic parent assignments warn and are ignored.",
                  "args": [
                    {
                      "name": "opts",
                      "type": "{ source?: string; target?: string; parent?: string | null; }",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "source",
                          "type": "string",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "target",
                          "type": "string",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "parent",
                          "type": "string | null",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "`{ parent }` to re-parent nodes (null orphans them), or `{ source, target }` to re-point edges; `parent` wins if both are given"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "cy.getElementById('ab').move({ target: 'c' });\nconsole.log(cy.getElementById('ab').target().id()); // 'c'"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:3152",
              "recipes": []
            }
          ]
        },
        {
          "name": "Traversal",
          "banner": "traversal",
          "fns": [
            {
              "name": "eles.source",
              "descr": "The source node of the first edge.",
              "formats": [
                {
                  "descr": "The source node of the first edge.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the source node, or an empty collection for a non-edge",
                  "examples": [
                    "console.log(cy.getElementById('ab').source().id()); // 'a'"
                  ],
                  "throws": []
                }
              ],
              "returns": "the source node, or an empty collection for a non-edge",
              "src": "src/collection.mts:3170",
              "recipes": []
            },
            {
              "name": "eles.target",
              "descr": "The target node of the first edge.",
              "formats": [
                {
                  "descr": "The target node of the first edge.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the target node, or an empty collection for a non-edge",
                  "examples": [
                    "console.log(cy.getElementById('ab').target().id()); // 'b'"
                  ],
                  "throws": []
                }
              ],
              "returns": "the target node, or an empty collection for a non-edge",
              "src": "src/collection.mts:3182",
              "recipes": []
            },
            {
              "name": "eles.sources",
              "descr": "The source nodes of every edge in the collection, deduped.",
              "formats": [
                {
                  "descr": "The source nodes of every edge in the collection, deduped.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the source nodes",
                  "examples": [
                    "console.log(eles.sources().map(ele => ele.id())); // [\"a\",\"b\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the source nodes",
              "src": "src/collection.mts:3194",
              "recipes": []
            },
            {
              "name": "eles.targets",
              "descr": "The target nodes of every edge in the collection, deduped.",
              "formats": [
                {
                  "descr": "The target nodes of every edge in the collection, deduped.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the target nodes",
                  "examples": [
                    "console.log(eles.targets().map(ele => ele.id())); // [\"b\",\"c\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the target nodes",
              "src": "src/collection.mts:3206",
              "recipes": []
            },
            {
              "name": "eles.connectedEdges",
              "descr": "Every edge incident on the nodes in this collection, deduped — answered off the CSR adjacency index, so it is O(incident edges) rather than a scan.  Loops appear once.",
              "formats": [
                {
                  "descr": "Every edge incident on the nodes in this collection, deduped — answered off the CSR adjacency index, so it is O(incident edges) rather than a scan.  Loops appear once.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, EdgeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate to filter the result"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, EdgeData>",
                  "returns": "the incident edges",
                  "examples": [
                    "console.log(eles.connectedEdges().map(ele => ele.id())); // [\"ab\",\"bc\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the incident edges",
              "src": "src/collection.mts:3222",
              "recipes": []
            },
            {
              "name": "eles.connectedNodes",
              "descr": "The endpoint nodes of every edge in this collection, deduped.",
              "formats": [
                {
                  "descr": "The endpoint nodes of every edge in this collection, deduped.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, NodeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate to filter the result"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the endpoint nodes",
                  "examples": [
                    "console.log(eles.connectedNodes().map(ele => ele.id())); // [\"a\",\"b\",\"c\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the endpoint nodes",
              "src": "src/collection.mts:3238",
              "recipes": []
            },
            {
              "name": "eles.outgoers",
              "descr": "The immediate outgoing neighbourhood: the edges leaving these nodes plus the nodes they point at.  One hop only — use `successors()` for the transitive closure.",
              "formats": [
                {
                  "descr": "The immediate outgoing neighbourhood: the edges leaving these nodes plus the nodes they point at.  One hop only — use `successors()` for the transitive closure.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate to filter the result"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "the outgoing edges and their target nodes",
                  "examples": [
                    "console.log(eles.outgoers().map(ele => ele.id())); // [\"ab\",\"b\",\"bc\",\"c\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the outgoing edges and their target nodes",
              "src": "src/collection.mts:3256",
              "recipes": []
            },
            {
              "name": "eles.incomers",
              "descr": "The immediate incoming neighbourhood: the edges arriving at these nodes plus the nodes they come from.  One hop only — use `predecessors()` for the transitive closure.",
              "formats": [
                {
                  "descr": "The immediate incoming neighbourhood: the edges arriving at these nodes plus the nodes they come from.  One hop only — use `predecessors()` for the transitive closure.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate to filter the result"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "the incoming edges and their source nodes",
                  "examples": [
                    "console.log(eles.incomers().map(ele => ele.id())); // [\"ab\",\"a\",\"bc\",\"b\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the incoming edges and their source nodes",
              "src": "src/collection.mts:3274",
              "recipes": []
            },
            {
              "name": "eles.neighborhood",
              "descr": "The *open* neighbourhood: the incident edges and the nodes on their far ends, ignoring edge direction, excluding the collection's own elements.",
              "formats": [
                {
                  "descr": "The *open* neighbourhood: the incident edges and the nodes on their far ends, ignoring edge direction, excluding the collection's own elements.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate to filter the result"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "the neighbouring edges and nodes",
                  "examples": [
                    "console.log(eles.neighborhood().map(ele => ele.id())); // []"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.openNeighborhood"
              ],
              "returns": "the neighbouring edges and nodes",
              "see": [
                "Collection#closedNeighborhood to include these nodes"
              ],
              "src": "src/collection.mts:3293",
              "recipes": []
            },
            {
              "name": "eles.closedNeighborhood",
              "descr": "The open neighbourhood plus this collection's own nodes.",
              "formats": [
                {
                  "descr": "The open neighbourhood plus this collection's own nodes.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate to filter the result"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "the closed neighbourhood",
                  "examples": [
                    "console.log(eles.closedNeighborhood().map(ele => ele.id())); // [\"a\",\"b\",\"c\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the closed neighbourhood",
              "src": "src/collection.mts:3311",
              "recipes": []
            }
          ]
        },
        {
          "name": "Compound hierarchy",
          "banner": "compound hierarchy (round 14.2)",
          "fns": [
            {
              "name": "eles.parent",
              "descr": "Immediate parents of every node in the collection (unique).  Always returns a collection and applies the optional filter.",
              "formats": [
                {
                  "descr": "Immediate parents of every node in the collection (unique).  Always returns a collection and applies the optional filter.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, NodeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate applied to the result, exactly as `filter()` takes it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the immediate parents",
                  "examples": [
                    "cy.add({ data: { id: 'parent' } });\ncy.getElementById('a').move({ parent: 'parent' });\ncy.getElementById('b').move({ parent: 'parent' });\nconsole.log(cy.getElementById('a').parent().map(node => node.id()).sort()); // [\"parent\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the immediate parents",
              "src": "src/collection.mts:3334",
              "recipes": []
            },
            {
              "name": "eles.parents",
              "descr": "All ancestors, level by level: every nearest parent first, then the grandparents, and so on.",
              "formats": [
                {
                  "descr": "All ancestors, level by level: every nearest parent first, then the grandparents, and so on.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, NodeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate applied to the result, exactly as `filter()` takes it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the ancestors, nearest first",
                  "examples": [
                    "cy.add({ data: { id: 'parent' } });\ncy.getElementById('a').move({ parent: 'parent' });\ncy.getElementById('b').move({ parent: 'parent' });\nconsole.log(cy.getElementById('a').parents().map(node => node.id()).sort()); // [\"parent\"]"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.ancestors"
              ],
              "returns": "the ancestors, nearest first",
              "src": "src/collection.mts:3353",
              "recipes": []
            },
            {
              "name": "eles.children",
              "descr": "Direct children of every node, in link order per parent.",
              "formats": [
                {
                  "descr": "Direct children of every node, in link order per parent.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, NodeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate applied to the result, exactly as `filter()` takes it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the children",
                  "examples": [
                    "cy.add({ data: { id: 'parent' } });\ncy.getElementById('a').move({ parent: 'parent' });\ncy.getElementById('b').move({ parent: 'parent' });\nconsole.log(cy.getElementById('parent').children().map(node => node.id()).sort()); // [\"a\",\"b\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the children",
              "src": "src/collection.mts:3373",
              "recipes": []
            },
            {
              "name": "eles.descendants",
              "descr": "The subtree below every node in pre-order, excluding the nodes themselves.",
              "formats": [
                {
                  "descr": "The subtree below every node in pre-order, excluding the nodes themselves.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, NodeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate applied to the result, exactly as `filter()` takes it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the descendants",
                  "examples": [
                    "cy.add({ data: { id: 'parent' } });\ncy.getElementById('a').move({ parent: 'parent' });\ncy.getElementById('b').move({ parent: 'parent' });\nconsole.log(cy.getElementById('parent').descendants().map(node => node.id()).sort()); // [\"a\",\"b\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the descendants",
              "src": "src/collection.mts:3392",
              "recipes": []
            },
            {
              "name": "eles.collapse",
              "descr": "Scale each compound parent’s descendants into a miniature around the parent’s current centre. Pass `{ duration, easing }` to animate the scale; without options, the operation is immediate. The original nodes, edges and explicit visibility state remain unchanged.",
              "formats": [
                {
                  "descr": "Scale each compound parent’s descendants into a miniature around the parent’s current centre. Pass `{ duration, easing }` to animate the scale; without options, the operation is immediate. The original nodes, edges and explicit visibility state remain unchanged.",
                  "args": [
                    {
                      "name": "timing",
                      "type": "Pick<AnimateOptions, 'duration' | 'easing'>",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "optional animation duration and easing"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const parent = cy.add({ data: { id: 'parent' } });\ncy.getElementById('a').move({ parent: 'parent' });\nparent.collapse();\nconsole.log(parent.collapsed()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:3412",
              "recipes": []
            },
            {
              "name": "eles.expand",
              "descr": "Restore each collapsed compound parent’s descendants by reversing its currently applied scale around the parent’s current centre. Pass `{ duration, easing }` to animate the restoration; without options, the operation is immediate.",
              "formats": [
                {
                  "descr": "Restore each collapsed compound parent’s descendants by reversing its currently applied scale around the parent’s current centre. Pass `{ duration, easing }` to animate the restoration; without options, the operation is immediate.",
                  "args": [
                    {
                      "name": "timing",
                      "type": "Pick<AnimateOptions, 'duration' | 'easing'>",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "optional animation duration and easing"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const parent = cy.add({ data: { id: 'parent' } });\ncy.getElementById('a').move({ parent: 'parent' });\nparent.collapse();\nparent.expand();\nconsole.log(parent.collapsed()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:3431",
              "recipes": []
            },
            {
              "name": "eles.siblings",
              "descr": "Nodes sharing a parent with the collection's nodes, excluding them; orphans are nobody's siblings.",
              "formats": [
                {
                  "descr": "Nodes sharing a parent with the collection's nodes, excluding them; orphans are nobody's siblings.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, NodeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate applied to the result, exactly as `filter()` takes it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the siblings",
                  "examples": [
                    "cy.add({ data: { id: 'parent' } });\ncy.getElementById('a').move({ parent: 'parent' });\ncy.getElementById('b').move({ parent: 'parent' });\nconsole.log(cy.getElementById('a').siblings().map(node => node.id()).sort()); // [\"b\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the siblings",
              "src": "src/collection.mts:3448",
              "recipes": []
            },
            {
              "name": "eles.orphans",
              "descr": "The collection's nodes without a parent.",
              "formats": [
                {
                  "descr": "The collection's nodes without a parent.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, NodeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate applied to the result, exactly as `filter()` takes it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the parentless nodes",
                  "examples": [
                    "console.log(eles.orphans().map(ele => ele.id())); // [\"a\",\"b\",\"c\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the parentless nodes",
              "src": "src/collection.mts:3465",
              "recipes": []
            },
            {
              "name": "eles.nonorphans",
              "descr": "The collection's nodes that have a parent.",
              "formats": [
                {
                  "descr": "The collection's nodes that have a parent.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, NodeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate applied to the result, exactly as `filter()` takes it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the parented nodes",
                  "examples": [
                    "cy.add({ data: { id: 'parent' } });\ncy.getElementById('a').move({ parent: 'parent' });\ncy.getElementById('b').move({ parent: 'parent' });\nconsole.log(cy.getElementById('a').nonorphans().map(node => node.id()).sort()); // [\"a\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the parented nodes",
              "src": "src/collection.mts:3483",
              "recipes": []
            },
            {
              "name": "eles.commonAncestors",
              "descr": "Ancestors common to every element, closest first (an edge in the collection has no ancestors, so it empties the result).",
              "formats": [
                {
                  "descr": "Ancestors common to every element, closest first (an edge in the collection has no ancestors, so it empties the result).",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, NodeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate applied to the result, exactly as `filter()` takes it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the shared ancestors, closest first",
                  "examples": [
                    "cy.add({ data: { id: 'parent' } });\ncy.getElementById('a').move({ parent: 'parent' });\ncy.getElementById('b').move({ parent: 'parent' });\nconsole.log(cy.getElementById('a').commonAncestors().map(node => node.id()).sort()); // [\"parent\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the shared ancestors, closest first",
              "src": "src/collection.mts:3502",
              "recipes": []
            },
            {
              "name": "eles.isParent",
              "descr": "Whether the first element is a node with at least one child.",
              "formats": [
                {
                  "descr": "Whether the first element is a node with at least one child.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true for a parent node; false for edges and for removed elements, which are nodes of no hierarchy",
                  "examples": [
                    "console.log(eles.isParent()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true for a parent node; false for edges and for removed elements, which are nodes of no hierarchy",
              "src": "src/collection.mts:3517",
              "recipes": []
            },
            {
              "name": "eles.isChildless",
              "descr": "Whether the first element is a node with no children.",
              "formats": [
                {
                  "descr": "Whether the first element is a node with no children.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true for a node with no children; false for edges, so it is not the plain negation of `isParent()`",
                  "examples": [
                    "console.log(eles.isChildless()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true for a node with no children; false for edges, so it is not the plain negation of `isParent()`",
              "src": "src/collection.mts:3537",
              "recipes": []
            },
            {
              "name": "eles.isChild",
              "descr": "Whether the first element is a node with a parent.",
              "formats": [
                {
                  "descr": "Whether the first element is a node with a parent.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true for a node with a parent; false for edges and removed elements",
                  "examples": [
                    "console.log(eles.isChild()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true for a node with a parent; false for edges and removed elements",
              "src": "src/collection.mts:3554",
              "recipes": []
            },
            {
              "name": "eles.collapsed",
              "descr": "Whether the first live node is a collapsed compound parent.",
              "formats": [
                {
                  "descr": "Whether the first live node is a collapsed compound parent.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true from collapse start until expansion completes; false for leaves, edges and removed elements",
                  "examples": [
                    "console.log(eles.collapsed()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true from collapse start until expansion completes; false for leaves, edges and removed elements",
              "src": "src/collection.mts:3570",
              "recipes": []
            },
            {
              "name": "eles.insideCollapsed",
              "descr": "Whether the first live node has a collapsed strict ancestor. The collapsed parent itself answers false.",
              "formats": [
                {
                  "descr": "Whether the first live node has a collapsed strict ancestor. The collapsed parent itself answers false.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true when the node is a descendant of a collapsed parent",
                  "examples": [
                    "console.log(eles.insideCollapsed()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true when the node is a descendant of a collapsed parent",
              "src": "src/collection.mts:3587",
              "recipes": []
            },
            {
              "name": "eles.isOrphan",
              "descr": "Whether the first element is a node without a parent.",
              "formats": [
                {
                  "descr": "Whether the first element is a node without a parent.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true for a node with no parent; false for edges, so it is not the plain negation of `isChild()`",
                  "examples": [
                    "console.log(eles.isOrphan()); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "true for a node with no parent; false for edges, so it is not the plain negation of `isChild()`",
              "src": "src/collection.mts:3603",
              "recipes": []
            }
          ]
        },
        {
          "name": "DAG traversal",
          "banner": "DAG traversal",
          "fns": [
            {
              "name": "eles.roots",
              "descr": "Collection nodes with no non-loop incoming edge (whole-graph incidence).",
              "formats": [
                {
                  "descr": "Collection nodes with no non-loop incoming edge (whole-graph incidence).",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, NodeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate applied to the result, exactly as `filter()` takes it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the source nodes",
                  "examples": [
                    "console.log(eles.roots().map(ele => ele.id())); // [\"a\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the source nodes",
              "src": "src/collection.mts:3623",
              "recipes": []
            },
            {
              "name": "eles.leaves",
              "descr": "Collection nodes with no non-loop outgoing edge.",
              "formats": [
                {
                  "descr": "Collection nodes with no non-loop outgoing edge.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, NodeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate applied to the result, exactly as `filter()` takes it"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, NodeData>",
                  "returns": "the sink nodes",
                  "examples": [
                    "console.log(eles.leaves().map(ele => ele.id())); // [\"c\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the sink nodes",
              "src": "src/collection.mts:3638",
              "recipes": []
            },
            {
              "name": "eles.successors",
              "descr": "Everything reachable by following outgoing edges, transitively — the edges and nodes of the forward closure, excluding these nodes themselves (unless a cycle reaches them).",
              "formats": [
                {
                  "descr": "Everything reachable by following outgoing edges, transitively — the edges and nodes of the forward closure, excluding these nodes themselves (unless a cycle reaches them).",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate to filter the result"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "the reachable edges and nodes",
                  "examples": [
                    "console.log(eles.successors().map(ele => ele.id())); // [\"ab\",\"b\",\"bc\",\"c\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the reachable edges and nodes",
              "src": "src/collection.mts:3656",
              "recipes": []
            },
            {
              "name": "eles.predecessors",
              "descr": "Everything that reaches these nodes by following incoming edges, transitively.",
              "formats": [
                {
                  "descr": "Everything that reaches these nodes by following incoming edges, transitively.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate to filter the result"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "the edges and nodes of the backward closure",
                  "examples": [
                    "console.log(eles.predecessors().map(ele => ele.id())); // [\"ab\",\"a\",\"bc\",\"b\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the edges and nodes of the backward closure",
              "src": "src/collection.mts:3673",
              "recipes": []
            }
          ]
        },
        {
          "name": "Edge relations",
          "banner": "edge relations",
          "fns": [
            {
              "name": "eles.edgesWith",
              "descr": "The edges connecting this collection's nodes with `others`, in either direction.",
              "formats": [
                {
                  "descr": "The edges connecting this collection's nodes with `others`, in either direction.",
                  "args": [
                    {
                      "name": "others",
                      "type": "Collection",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the nodes on the far side (a collection, never a selector string)"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, EdgeData>",
                  "returns": "the connecting edges",
                  "examples": [
                    "const other = cy.getElementById('b');\nconsole.log(cy.getElementById('a').edgesWith(other).map(ele => ele.id())); // [\"ab\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the connecting edges",
              "src": "src/collection.mts:3693",
              "recipes": []
            },
            {
              "name": "eles.edgesTo",
              "descr": "The edges running *from* this collection's nodes *to* `others` — `edgesWith()` restricted by direction.",
              "formats": [
                {
                  "descr": "The edges running *from* this collection's nodes *to* `others` — `edgesWith()` restricted by direction.",
                  "args": [
                    {
                      "name": "others",
                      "type": "Collection",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the target-side nodes"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, EdgeData>",
                  "returns": "the directed connecting edges",
                  "examples": [
                    "const other = cy.getElementById('b');\nconsole.log(cy.getElementById('a').edgesTo(other).map(ele => ele.id())); // [\"ab\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the directed connecting edges",
              "src": "src/collection.mts:3710",
              "recipes": []
            },
            {
              "name": "eles.parallelEdges",
              "descr": "The edges sharing endpoints with these edges, in either direction — including each edge itself.  These are the edges a bezier bundle fans apart.",
              "formats": [
                {
                  "descr": "The edges sharing endpoints with these edges, in either direction — including each edge itself.  These are the edges a bezier bundle fans apart.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, EdgeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate to filter the result"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, EdgeData>",
                  "returns": "the parallel edges",
                  "examples": [
                    "console.log(eles.parallelEdges().map(ele => ele.id())); // [\"ab\",\"bc\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the parallel edges",
              "src": "src/collection.mts:3728",
              "recipes": []
            },
            {
              "name": "eles.codirectedEdges",
              "descr": "The parallel edges pointing the same way — same source and same target — including each edge itself.",
              "formats": [
                {
                  "descr": "The parallel edges pointing the same way — same source and same target — including each edge itself.",
                  "args": [
                    {
                      "name": "criterion",
                      "type": "FilterLike<NodeData, EdgeData, EdgeData, NodeData | EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "group",
                          "type": "GroupName",
                          "optional": true,
                          "descr": "restrict to one group"
                        },
                        {
                          "name": "selected",
                          "type": "boolean",
                          "optional": true,
                          "descr": "require the element (not) to be selected"
                        },
                        {
                          "name": "selectable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be selected by the user"
                        },
                        {
                          "name": "locked",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is locked in place"
                        },
                        {
                          "name": "grabbed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the user is dragging the element"
                        },
                        {
                          "name": "grabbable",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element may be dragged"
                        },
                        {
                          "name": "active",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is under an active press"
                        },
                        {
                          "name": "hovered",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the pointer is over the element"
                        },
                        {
                          "name": "emphasized",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the element is in the current emphasis (* `cy.emphasize()`)"
                        },
                        {
                          "name": "parent",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has at least one child"
                        },
                        {
                          "name": "childless",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no children — exactly `{ parent: false }`"
                        },
                        {
                          "name": "child",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has a parent"
                        },
                        {
                          "name": "orphan",
                          "type": "boolean",
                          "optional": true,
                          "descr": "structural (nodes only): has no parent — exactly `{ child: false }`"
                        },
                        {
                          "name": "collapsed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether this compound parent is in collapsed miniature state (nodes only)"
                        },
                        {
                          "name": "data",
                          "type": "QueryData<Data>",
                          "optional": true,
                          "descr": "data-sidecar conditions per key; a bare value means equality. Typed, the\nkeys are the queried elements' fields."
                        }
                      ],
                      "descr": "an optional query object or predicate to filter the result"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData, EdgeData>",
                  "returns": "the codirected edges",
                  "examples": [
                    "console.log(eles.codirectedEdges().map(ele => ele.id())); // [\"ab\",\"bc\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the codirected edges",
              "src": "src/collection.mts:3745",
              "recipes": []
            }
          ]
        },
        {
          "name": "Connected components",
          "banner": "connected components",
          "fns": [
            {
              "name": "eles.components",
              "descr": "Connected components within this collection (undirected), each as a collection of the reached nodes plus the collection's edges internal to that component.",
              "formats": [
                {
                  "descr": "Connected components within this collection (undirected), each as a collection of the reached nodes plus the collection's edges internal to that component.",
                  "args": [
                    {
                      "name": "root",
                      "type": "Collection | null",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "restricts the seed nodes; omit to seed from every node"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>[]",
                  "returns": "one collection per component",
                  "examples": [
                    "console.log(eles.components().length); // 1"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.componentsOf"
              ],
              "returns": "one collection per component",
              "src": "src/collection.mts:3764",
              "recipes": []
            },
            {
              "name": "eles.component",
              "descr": "The whole-graph connected component containing the first element.",
              "formats": [
                {
                  "descr": "The whole-graph connected component containing the first element.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "the component as nodes *and* their connecting edges, computed over the whole graph rather than within this collection; an empty collection when this one is empty",
                  "examples": [
                    "console.log(eles.component().map(ele => ele.id())); // [\"a\",\"b\",\"c\",\"ab\",\"bc\"]"
                  ],
                  "throws": []
                }
              ],
              "returns": "the component as nodes *and* their connecting edges, computed over the whole graph rather than within this collection; an empty collection when this one is empty",
              "src": "src/collection.mts:3780",
              "recipes": []
            }
          ]
        },
        {
          "name": "Layouts",
          "banner": "layouts",
          "fns": [
            {
              "name": "eles.layoutDimensions",
              "descr": "Node dimensions for layout spacing — the body, plus the label box under `nodeDimensionsIncludeLabels: true` (body-only by default).",
              "formats": [
                {
                  "descr": "Node dimensions for layout spacing — the body, plus the label box under `nodeDimensionsIncludeLabels: true` (body-only by default).",
                  "args": [
                    {
                      "name": "options",
                      "type": "{ nodeDimensionsIncludeLabels?: boolean }",
                      "optional": true,
                      "rest": false,
                      "default": "{}",
                      "fields": [
                        {
                          "name": "nodeDimensionsIncludeLabels",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "`{ nodeDimensionsIncludeLabels: true }` to include the label box"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "{ w: number; h: number; }",
                  "returns": "the first element's `{ w, h }`",
                  "examples": [
                    "console.log(cy.nodes().first().layoutDimensions()); // { w: 30, h: 30 }"
                  ],
                  "throws": []
                }
              ],
              "returns": "the first element's `{ w, h }`",
              "src": "src/collection.mts:3829",
              "recipes": []
            },
            {
              "name": "eles.layoutPositions",
              "descr": "Apply a layout's position function to this collection's nodes with the standard layout options (spacingFactor, transform, fit/zoom/pan, animate) and the layoutstart/layoutready/layoutstop event flow. With `animate: true` the viewport animates concurrently (a fit targets the bounding box at the *final* positions).",
              "formats": [
                {
                  "descr": "Apply a layout's position function to this collection's nodes with the standard layout options (spacingFactor, transform, fit/zoom/pan, animate) and the layoutstart/layoutready/layoutstop event flow. With `animate: true` the viewport animates concurrently (a fit targets the bounding box at the *final* positions).",
                  "args": [
                    {
                      "name": "layout",
                      "type": "object",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the layout instance the lifecycle events carry as `event.layout`; it is not called back, only reported"
                    },
                    {
                      "name": "options",
                      "type": "LayoutBaseOptions",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "eles",
                          "type": "unknown",
                          "optional": true,
                          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
                        },
                        {
                          "name": "fit",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "padding",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "boundingBox",
                          "type": "BoundingBoxInput",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "nodeDimensionsIncludeLabels",
                          "type": "boolean",
                          "optional": true,
                          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
                        },
                        {
                          "name": "spacingFactor",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "transform",
                          "type": "(node: unknown, position: Position) => Position",
                          "optional": true,
                          "descr": "transform a computed position (e.g. to flip an axis)"
                        },
                        {
                          "name": "animate",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether to animate node positions into place"
                        },
                        {
                          "name": "animationDuration",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "animationEasing",
                          "type": "string",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "animateFilter",
                          "type": "(node: unknown, i: number) => boolean",
                          "optional": true,
                          "descr": "which nodes animate (others jump); all by default"
                        },
                        {
                          "name": "ready",
                          "type": "() => void",
                          "optional": true,
                          "descr": "callback on layoutready"
                        },
                        {
                          "name": "stop",
                          "type": "() => void",
                          "optional": true,
                          "descr": "callback on layoutstop"
                        },
                        {
                          "name": "zoom",
                          "type": "number",
                          "optional": true,
                          "descr": "zoom to set when fit is false"
                        },
                        {
                          "name": "pan",
                          "type": "Position",
                          "optional": true,
                          "descr": "pan to set when fit is false"
                        }
                      ],
                      "descr": "the standard layout options (`spacingFactor`, `transform`, `fit`/`padding`, `zoom`/`pan`, `animate`, `animationDuration`, `animateFilter`)"
                    },
                    {
                      "name": "fn",
                      "type": "(node: Collection<NodeData, EdgeData, Data>, i: number) => Position",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "`( node, i) => position`, evaluated once per positioned node; parents are excluded (auto-bounds derive them)"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "cy.layout({ impl: { run(ctx) {\n  ctx.eles.layoutPositions({}, { fit: false }, (node, i) => ({ x: i * 40, y: 0 }));\n} } }).run();\nconsole.log(cy.getElementById('b').position('x')); // 40"
                  ],
                  "throws": []
                }
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:3858",
              "recipes": []
            },
            {
              "name": "eles.layout",
              "descr": "A layout scoped to this collection.",
              "formats": [
                {
                  "descr": "A layout scoped to this collection.",
                  "args": [
                    {
                      "name": "options",
                      "type": "LayoutOptions",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "name",
                          "type": "undefined",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "avoidOverlap",
                          "type": "boolean",
                          "optional": true,
                          "descr": "separate nodes by their extents (default true) — bodies, plus\nlabels when `nodeDimensionsIncludeLabels` is true (114.6);\nfalse places points, `nodeSep` / `rankSep` then centre to centre"
                        },
                        {
                          "name": "avoidOverlapPadding",
                          "type": "number",
                          "optional": true,
                          "descr": "extra room around each body (default 0 — `nodeSep` and `rankSep`\nown the spacing)"
                        },
                        {
                          "name": "condense",
                          "type": "boolean",
                          "optional": true,
                          "descr": "size the rings by their nodes rather than by the box (125.3,\ngrid's spelling): every ring takes the smallest radius that\nclears its own nodes and the ring inside it at\n`avoidOverlapPadding`, so the gap is the option and the viewport\nonly centres.  Off (the default), the rings start at an even share\nof the box's shorter side (or `levelSpacing`) and only grow from\nthere.  Implies `avoidOverlap`."
                        },
                        {
                          "name": "rows",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "cols",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "position",
                          "type": "(node: unknown) => { row?: number; col?: number } | undefined",
                          "optional": true,
                          "descr": "returns a fixed { row, col } for a node handle"
                        },
                        {
                          "name": "sort",
                          "type": "LayoutSortMapping | ((a: unknown, b: unknown) => number)",
                          "optional": true,
                          "descr": "the order around the circle: a `{ data, order? }` sort mapping\n(canonical, serializable — 85.3) or a comparator over node handles"
                        },
                        {
                          "name": "eles",
                          "type": "unknown",
                          "optional": true,
                          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
                        },
                        {
                          "name": "fit",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "padding",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "boundingBox",
                          "type": "BoundingBoxInput",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "nodeDimensionsIncludeLabels",
                          "type": "boolean",
                          "optional": true,
                          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
                        },
                        {
                          "name": "spacingFactor",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "transform",
                          "type": "(node: unknown, position: Position) => Position",
                          "optional": true,
                          "descr": "transform a computed position (e.g. to flip an axis)"
                        },
                        {
                          "name": "animate",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether to animate node positions into place"
                        },
                        {
                          "name": "animationDuration",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "animationEasing",
                          "type": "string",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "animateFilter",
                          "type": "(node: unknown, i: number) => boolean",
                          "optional": true,
                          "descr": "which nodes animate (others jump); all by default"
                        },
                        {
                          "name": "ready",
                          "type": "() => void",
                          "optional": true,
                          "descr": "callback on layoutready"
                        },
                        {
                          "name": "stop",
                          "type": "() => void",
                          "optional": true,
                          "descr": "callback on layoutstop"
                        },
                        {
                          "name": "zoom",
                          "type": "number",
                          "optional": true,
                          "descr": "zoom to set when fit is false"
                        },
                        {
                          "name": "pan",
                          "type": "Position",
                          "optional": true,
                          "descr": "pan to set when fit is false"
                        },
                        {
                          "name": "packComponents",
                          "type": "boolean",
                          "optional": true,
                          "descr": "lay each disconnected component out on its own — one ring, one\ngrid, one tree per component — and shelf-pack the results largest\nfirst (default false: one drawing about one centre).  Locked\nnodes are left out and the packed field is moved off their boxes."
                        },
                        {
                          "name": "componentSpacing",
                          "type": "number",
                          "optional": true,
                          "descr": "the gap between packed disconnected components (default 40)"
                        },
                        {
                          "name": "componentGroup",
                          "type": "( component: LayoutComponentInfo, ) => string | number | null | undefined",
                          "optional": true,
                          "descr": "group the packed components (121.1): called once per component\nwith its description, and the components sharing a key pack on\ntheir own, the groups standing in a row left to right by key —\nnumbers ascending, then strings, then the unkeyed."
                        },
                        {
                          "name": "componentOrder",
                          "type": "(a: LayoutComponentInfo, b: LayoutComponentInfo) => number",
                          "optional": true,
                          "descr": "the order the pack lays components out in, a comparator over two\ndescriptions ahead of largest-first (121.1)."
                        },
                        {
                          "name": "groupSpacing",
                          "type": "number",
                          "optional": true,
                          "descr": "the gap between the groups' packed boxes (default three\n`componentSpacing`s)"
                        },
                        {
                          "name": "positions",
                          "type": "| Record<string, Position> | ((node: unknown) => Position | null | undefined)",
                          "optional": true,
                          "descr": "node id → position map, or a function of a node handle; absent nodes keep their position"
                        },
                        {
                          "name": "radius",
                          "type": "number",
                          "optional": true,
                          "descr": "the circle's radius (computed when omitted)"
                        },
                        {
                          "name": "startAngle",
                          "type": "number",
                          "optional": true,
                          "descr": "where the sweep begins, in radians (default 3π/2 — up)"
                        },
                        {
                          "name": "sweep",
                          "type": "number",
                          "optional": true,
                          "descr": "the total angle the trees share, in radians (default 2π)"
                        },
                        {
                          "name": "clockwise",
                          "type": "boolean",
                          "optional": true,
                          "descr": "wedge order runs clockwise (default true)"
                        },
                        {
                          "name": "counterclockwise",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "equidistant",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether levels are an equal radial distance apart"
                        },
                        {
                          "name": "minNodeSpacing",
                          "type": "number",
                          "optional": true,
                          "descr": "min spacing between node outsides (radius adjustment)"
                        },
                        {
                          "name": "height",
                          "type": "number",
                          "optional": true,
                          "descr": "height/width of the layout area (override the container)"
                        },
                        {
                          "name": "width",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "concentric",
                          "type": "LayoutScoreMapping | ((node: unknown) => number)",
                          "optional": true,
                          "descr": "the score deciding ring membership — higher sits closer to the\ncenter (default: degree).  A `{ data, … }` score mapping\n(canonical, serializable — 85.3) or a function of the node handle"
                        },
                        {
                          "name": "levelWidth",
                          "type": "(nodes: unknown) => number",
                          "optional": true,
                          "descr": "the variation of concentric values per level (default: maxDegree / 4)"
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether the tree is directed downwards (default false)"
                        },
                        {
                          "name": "direction",
                          "type": "'downward' | 'upward' | 'leftward' | 'rightward'",
                          "optional": true,
                          "descr": "drawing direction of the flow (default 'downward')"
                        },
                        {
                          "name": "circle",
                          "type": "boolean",
                          "optional": true,
                          "descr": "put depths in concentric circles instead of rows"
                        },
                        {
                          "name": "grid",
                          "type": "boolean",
                          "optional": true,
                          "descr": "place the DAG on an even grid (circle: false only)"
                        },
                        {
                          "name": "roots",
                          "type": "unknown",
                          "optional": true,
                          "descr": "the tree roots: a collection or an array of node ids (never a\nselector string); omitted, a component's roots are the nodes with\nno incoming edge (125.3 — radial is a hierarchy's picture), or its\nmaximum-degree nodes when it has none (a cycle) — maximum degree\nalone before 125.3"
                        },
                        {
                          "name": "depthSort",
                          "type": "LayoutSortMapping | ((a: unknown, b: unknown) => number)",
                          "optional": true,
                          "descr": "the order within a depth: a `{ data, order? }` sort mapping\n(canonical, serializable — 85.3) or a comparator over node handles"
                        },
                        {
                          "name": "maximal",
                          "type": "boolean",
                          "optional": true,
                          "descr": "shift nodes down to their maximal depths (DAGs only)"
                        },
                        {
                          "name": "acyclic",
                          "type": "boolean",
                          "optional": true,
                          "descr": "the graph is known acyclic: skip cycle removal (default false)"
                        },
                        {
                          "name": "seed",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "levelSpacing",
                          "type": "number",
                          "optional": true,
                          "descr": "the ring gap in model px; derived from the bounding box unset.\nA floor under `avoidOverlap`: a ring grows past it when its nodes\nwould otherwise touch"
                        },
                        {
                          "name": "weight",
                          "type": "'leaves' | 'subtree'",
                          "optional": true,
                          "descr": "what sizes a subtree's wedge: its leaf count (default) or its\nwhole node count"
                        },
                        {
                          "name": "edgeLength",
                          "type": "number | LayoutScoreMapping | ((edge: unknown) => number)",
                          "optional": true,
                          "descr": "ideal edge length: a number; a `{ data, scale?, range?, invert?,\ndefault? }` score mapping (canonical, serializable — 85.3, e.g.\n`{ data: 'score', scale: 'log', range: [40, 200], invert: true }`\nfor large scores → short edges); or a plain fn of the edge handle.\nResolved once at start either way"
                        },
                        {
                          "name": "repulsion",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "stiffness",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "gravity",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "decay",
                          "type": "number",
                          "optional": true,
                          "descr": "alpha annealing rate per iteration"
                        },
                        {
                          "name": "iterations",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "threshold",
                          "type": "number",
                          "optional": true,
                          "descr": "convergence: settled when max displacement stays under this"
                        },
                        {
                          "name": "randomize",
                          "type": "boolean",
                          "optional": true,
                          "descr": "fresh seeded scatter (default) vs relaxing current positions"
                        },
                        {
                          "name": "animateLive",
                          "type": "boolean",
                          "optional": true,
                          "descr": "stream the run: positions land per frame while the sim runs (the\npre-114 `animate: true`); takes precedence over `animate`"
                        },
                        {
                          "name": "infinite",
                          "type": "boolean",
                          "optional": true,
                          "descr": "the run has no end of its own (118.3): it streams like\n`animateLive` and then ticks only while the field is moving — at\nrest it costs nothing, and a drag, a `position()` write or an\nadded / removed element (whole-graph scope) heats it back up; the\ngrabbed node is pinned for the gesture and its neighbourhood\nreflows around it.  `layout.stop()` ends it, landing the positions\nas they stand — no separation pass, no re-pack, no fit and no\ntween.  `avoidOverlap` therefore means the per-tick sweep\n(`'sim'`); `iterations` is ignored; `layout.reheat()` is the\nhandle for a change the run cannot see"
                        },
                        {
                          "name": "stepsPerFrame",
                          "type": "number",
                          "optional": true,
                          "descr": "iterations per animation frame (animateLive: true; default 3)"
                        },
                        {
                          "name": "executor",
                          "type": "'auto' | 'cpu' | 'gpu' | 'workers'",
                          "optional": true,
                          "descr": "where the simulation runs (default `'auto'`): `'auto'` takes the GPU\nintegrator where the renderer offers one, else the CPU simulation on a\nworker that loaded this same bundle wherever one can be constructed —\nheadless included, so a Node process keeps its event loop free as a page\nkeeps its UI thread (the run is then asynchronous: positions at\n`layoutstop` / `promise()`) — else in-thread. `'cpu'` is the in-thread\nreference (bit-reproducible; the worker answers the same bits) and the\nsynchronous spelling; `'workers'` asks for the worker and throws at start\nwhere none can be constructed; `'gpu'` throws at start where no\nintegrator is available"
                        },
                        {
                          "name": "init",
                          "type": "'spectral' | 'scatter'",
                          "optional": true,
                          "descr": "what a fresh placement is (59.4): 'spectral' (the default —\nlandmark-MDS per component, the global untangling) or 'scatter'\n(the plain seeded scatter).  Ignored under `randomize: false`."
                        },
                        {
                          "name": "nestingFactor",
                          "type": "number",
                          "optional": true,
                          "descr": "ideal-length multiplier per compound boundary an edge spans\n(length × levels × nestingFactor; default 1.2)"
                        },
                        {
                          "name": "gravityCompound",
                          "type": "number",
                          "optional": true,
                          "descr": "the compound centroid pull, as a multiple of `gravity` (59.5;\nthe Bilkent line's gravityCompound — default 1.5)"
                        },
                        {
                          "name": "alignment",
                          "type": "{ horizontal?: string[][]; vertical?: string[][] }",
                          "optional": true,
                          "descr": "alignment constraints (85.2, fcose's shape): `horizontal` groups\nshare a y coordinate, `vertical` groups an x — id arrays,\nserializable; groups sharing a node merge.  A locked member pins\nits group.  Constrained runs take the CPU executor."
                        },
                        {
                          "name": "relativePlacement",
                          "type": "( | { left: string; right: string; gap?: number } | { top: string; bottom: string; gap?: number } )[]",
                          "optional": true,
                          "descr": "relative-placement constraints (85.2): keep `left` at least\n`gap` px left of `right` (`top`/`bottom` likewise vertically);\n`gap` defaults to the run's mean ideal edge length."
                        },
                        {
                          "name": "nodeSep",
                          "type": "number",
                          "optional": true,
                          "descr": "px gap between adjacent nodes in a rank (default 50): between\ntheir boxes' facing sides, each node's own extent on that side\n(125.2 — a label hung to one side of its body extends that side\nalone), and along the rank's axis for the direction (a rightward\nrank is separated by heights)"
                        },
                        {
                          "name": "rankSep",
                          "type": "number",
                          "optional": true,
                          "descr": "px gap between rank rows (default 60): a row reaches as far\nfrom its centre line as its nodes' extents on each side, and a\ntaxi edge's turn lands inside this band, which the layout keeps\nnode-free"
                        },
                        {
                          "name": "edgeSep",
                          "type": "number",
                          "optional": true,
                          "descr": "px per taxi track a rank gap grows to hold (default 10, round\n124.5): the gap below a rank becomes `max(rankSep, tracks ×\nedgeSep + 20)`, where `tracks` is how many of that rank's fan-outs\noverlap on one line — the lines `taxi-turn: auto` draws; 0 leaves\nevery gap at `rankSep`"
                        },
                        {
                          "name": "layering",
                          "type": "'network-simplex' | 'longest-path' | 'auto'",
                          "optional": true,
                          "descr": "rank assignment: 'network-simplex' (GKNV — fewest long edges,\ndefault), 'longest-path' (O(V+E), the huge-graph fast path), or\n'auto' (simplex up to ~50k nodes, then longest-path)"
                        },
                        {
                          "name": "thoroughness",
                          "type": "number",
                          "optional": true,
                          "descr": "crossing-minimization effort, 1..10 (default 7): scales the\nsweep and transpose budgets"
                        },
                        {
                          "name": "minLength",
                          "type": "number | LayoutScoreMapping | ((edge: unknown) => number)",
                          "optional": true,
                          "descr": "minimum ranks an edge must span (default 1): a number, a\n`{ data, … }` score mapping (85.3), or a fn of the edge handle"
                        },
                        {
                          "name": "edgeWeight",
                          "type": "number | LayoutScoreMapping | ((edge: unknown) => number)",
                          "optional": true,
                          "descr": "edge straightening weight (default 1): heavier edges pull\nstraighter through crossing minimization and coordinates — a\nnumber, a score mapping, or a fn of the edge handle"
                        },
                        {
                          "name": "cycleRemoval",
                          "type": "'greedy' | 'dfs'",
                          "optional": true,
                          "descr": "which arcs flip on cycles: 'greedy' (Eades–Lin–Smyth bound,\ndefault) or 'dfs' (input order dominates)"
                        },
                        {
                          "name": "rankConstraints",
                          "type": "{ min?: string[]; max?: string[]; same?: string[][] }",
                          "optional": true,
                          "descr": "rank constraints as id lists (never selector strings): `min`\npins to the first rank, `max` to the last, each `same` group to\none shared rank"
                        },
                        {
                          "name": "impl",
                          "type": "unknown",
                          "optional": false,
                          "descr": ""
                        }
                      ],
                      "descr": "the layout options, as `cy.layout()`; `eles` is set to this collection"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "ReturnType<Core['layout']>",
                  "returns": "the layout instance; nothing runs until `run()`",
                  "examples": [
                    "const handle = cy.nodes().layout({ name: 'grid', fit: false });\nhandle.run();\nconsole.log(cy.nodes().length); // 3"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.makeLayout",
                "eles.createLayout"
              ],
              "returns": "the layout instance; nothing runs until `run()`",
              "src": "src/collection.mts:3878",
              "recipes": []
            }
          ]
        },
        {
          "name": "Graph algorithms",
          "banner": "graph algorithms",
          "fns": [
            {
              "name": "eles.breadthFirstSearch",
              "descr": "Breadth-first search over this collection's subgraph. Roots are visited in breadth-first order. Multiple callback roots are visited in reverse input order because the initial queue prepends each root; with no roots, the result is empty.",
              "formats": [
                {
                  "descr": "Breadth-first search over this collection's subgraph. Roots are visited in breadth-first order. Multiple callback roots are visited in reverse input order because the initial queue prepends each root; with no roots, the result is empty.",
                  "args": [
                    {
                      "name": "args",
                      "type": "SearchArgs",
                      "optional": false,
                      "rest": true,
                      "fields": [],
                      "descr": "`{ roots, visit, directed }` (or singular `root`) or the positional form. Roots must be node collections; selector strings are not supported. `visit` receives `(node, edge, previous, index, depth)`; `index` counts callback calls and `depth` is the number of discovery edges from a root. The edge and previous node are undefined at a root. Return `true` to stop and set `found` to the current node, `false` to stop without a match, or nothing to continue. `directed: true` follows outgoing edges."
                    }
                  ],
                  "callable": true,
                  "callForms": [
                    [
                      {
                        "name": "rootOrOptions",
                        "type": "SearchOptions | Collection<any, any, any> | undefined",
                        "descr": "Starting node or an object containing root, visit and directed.",
                        "optional": true
                      },
                      {
                        "name": "visitOrDirected",
                        "type": "boolean | SearchVisitFn | undefined",
                        "descr": "Visit callback, or a direction flag when no callback is needed.",
                        "optional": true
                      },
                      {
                        "name": "directed",
                        "type": "boolean | undefined",
                        "descr": "True to follow outgoing edges only; defaults to false.",
                        "optional": true
                      }
                    ]
                  ],
                  "typeParameters": "",
                  "returnType": "SearchResult",
                  "returns": "`{ path, found }`: `path` records roots in input order and discoveries in breadth-first insertion order, with each discovery edge before its node. It can include nodes queued but not visited when the callback stops early. `found` is the matched node or an empty collection when no callback returned true.",
                  "examples": [
                    "const result = eles.breadthFirstSearch({ root: cy.getElementById('a'), directed: true });\nconsole.log(result.path.nodes().map(node => node.id())); // ['a', 'b', 'c']"
                  ],
                  "throws": [
                    "if a root is given as a selector string"
                  ]
                }
              ],
              "pureAliases": [
                "eles.bfs"
              ],
              "returns": "`{ path, found }`: `path` records roots in input order and discoveries in breadth-first insertion order, with each discovery edge before its node. It can include nodes queued but not visited when the callback stops early. `found` is the matched node or an empty collection when no callback returned true.",
              "throws": [
                "if a root is given as a selector string"
              ],
              "src": "src/collection.mts:3913",
              "recipes": []
            },
            {
              "name": "eles.depthFirstSearch",
              "descr": "Depth-first search over this collection's subgraph. It shares the root, callback, direction and result contract of `breadthFirstSearch`, but explores the most recently discovered branch first.",
              "formats": [
                {
                  "descr": "Depth-first search over this collection's subgraph. It shares the root, callback, direction and result contract of `breadthFirstSearch`, but explores the most recently discovered branch first.",
                  "args": [
                    {
                      "name": "args",
                      "type": "SearchArgs",
                      "optional": false,
                      "rest": true,
                      "fields": [],
                      "descr": "`{ roots, visit, directed }` (or singular `root`) or the positional form. The callback receives `(node, edge, previous, index, depth)`, where `index` counts callbacks and `depth` counts discovery edges from a root. It may return true to stop with a match, false to stop without a match, or nothing to continue. Roots must be node collections."
                    }
                  ],
                  "callable": true,
                  "callForms": [
                    [
                      {
                        "name": "rootOrOptions",
                        "type": "SearchOptions | Collection<any, any, any> | undefined",
                        "descr": "Starting node or an object containing root, visit and directed.",
                        "optional": true
                      },
                      {
                        "name": "visitOrDirected",
                        "type": "boolean | SearchVisitFn | undefined",
                        "descr": "Visit callback, or a direction flag when no callback is needed.",
                        "optional": true
                      },
                      {
                        "name": "directed",
                        "type": "boolean | undefined",
                        "descr": "True to follow outgoing edges only; defaults to false.",
                        "optional": true
                      }
                    ]
                  ],
                  "typeParameters": "",
                  "returnType": "SearchResult",
                  "returns": "`{ path, found }`; `path` contains visited nodes and their discovery edges in depth-first callback order",
                  "examples": [
                    "const result = eles.depthFirstSearch({ root: cy.getElementById('a'), directed: true });\nconsole.log(result.path.nodes().length); // 3"
                  ],
                  "throws": [
                    "if a root is given as a selector string"
                  ]
                }
              ],
              "pureAliases": [
                "eles.dfs"
              ],
              "returns": "`{ path, found }`; `path` contains visited nodes and their discovery edges in depth-first callback order",
              "throws": [
                "if a root is given as a selector string"
              ],
              "src": "src/collection.mts:3936",
              "recipes": []
            },
            {
              "name": "eles.dijkstra",
              "descr": "Compute single-source shortest paths from a root over this collection's subgraph using Dijkstra's algorithm. The caller is responsible for using non-negative edge weights; the library does not validate the weight function's mathematical properties.",
              "formats": [
                {
                  "descr": "Compute single-source shortest paths from a root over this collection's subgraph using Dijkstra's algorithm. The caller is responsible for using non-negative edge weights; the library does not validate the weight function's mathematical properties.",
                  "args": [
                    {
                      "name": "options",
                      "type": "DijkstraOptions",
                      "optional": false,
                      "rest": false,
                      "fields": [
                        {
                          "name": "root",
                          "type": "Collection | null",
                          "optional": true,
                          "descr": "Starting node in this collection; required at runtime."
                        },
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": "Non-negative edge cost; defaults to 1 for each edge."
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "Follow outgoing edges only when true; defaults to false."
                        }
                      ],
                      "descr": "`{ root, weight, directed }`. The root must be a node in this collection. `weight(edge)` returns a number and defaults to 1; `directed: true` follows outgoing edges only."
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "DijkstraResult",
                  "returns": "`{ distanceTo, pathTo }`; an unreachable node has infinite distance and its `pathTo()` collection contains that node alone. A node outside this subgraph has undefined distance and an empty path.",
                  "examples": [
                    "const result = eles.dijkstra({ root: cy.getElementById('a'), directed: true, weight: edge => edge.data('weight') });\nconsole.log(result.distanceTo(cy.getElementById('c'))); // 5"
                  ],
                  "throws": [
                    "if root is missing or is not a node in this collection"
                  ]
                },
                {
                  "descr": "Compute shortest paths with positional arguments. Use non-negative weights.",
                  "args": [
                    {
                      "name": "root",
                      "type": "Collection",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "a node in this collection"
                    },
                    {
                      "name": "weight",
                      "type": "WeightFn",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the edge cost function; defaults to a cost of 1"
                    },
                    {
                      "name": "directed",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "true to follow outgoing edges only; defaults to false"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "DijkstraResult",
                  "returns": "shortest-path distanceTo() and pathTo() functions; unreachable nodes have infinite distance, nodes outside this subgraph have undefined distance",
                  "examples": [
                    "const result = eles.dijkstra(cy.getElementById('a'), edge => edge.data('weight'), true);\nconsole.log(result.distanceTo(cy.getElementById('c'))); // 5"
                  ],
                  "throws": [
                    "if root is missing or is not a node in this collection"
                  ]
                },
                {
                  "descr": "Compute single-source shortest paths from a root over this collection's subgraph using Dijkstra's algorithm. The caller is responsible for using non-negative edge weights; the library does not validate the weight function's mathematical properties.",
                  "args": [
                    {
                      "name": "args",
                      "type": "DijkstraArgs",
                      "optional": false,
                      "rest": true,
                      "fields": [],
                      "descr": "`{ root, weight, directed }` or the positional form. The root must be a node in this collection. `weight(edge)` returns a number and defaults to 1; `directed: true` follows outgoing edges only."
                    }
                  ],
                  "callable": true,
                  "callForms": [
                    [
                      {
                        "name": "root",
                        "type": "DijkstraOptions | Collection<any, any, any> | undefined",
                        "descr": "",
                        "optional": true
                      },
                      {
                        "name": "weight",
                        "type": "WeightFn | undefined",
                        "descr": "",
                        "optional": true
                      },
                      {
                        "name": "directed",
                        "type": "boolean | undefined",
                        "descr": "",
                        "optional": true
                      }
                    ]
                  ],
                  "typeParameters": "",
                  "returnType": "DijkstraResult",
                  "returns": "`{ distanceTo, pathTo }`; an unreachable node has infinite distance and its `pathTo()` collection contains that node alone. A node outside this subgraph has undefined distance and an empty path.",
                  "examples": [
                    "const result = eles.dijkstra({ root: cy.getElementById('a'), directed: true, weight: edge => edge.data('weight') });\nconsole.log(result.distanceTo(cy.getElementById('c'))); // 5"
                  ],
                  "throws": [
                    "if root is missing or is not a node in this collection"
                  ]
                }
              ],
              "returns": "`{ distanceTo, pathTo }`; an unreachable node has infinite distance and its `pathTo()` collection contains that node alone. A node outside this subgraph has undefined distance and an empty path.",
              "throws": [
                "if root is missing or is not a node in this collection"
              ],
              "src": "src/collection.mts:3962",
              "recipes": [
                {
                  "title": "trace a weighted route",
                  "url": "/docs/recipes/#recipes/trace-a-weighted-route"
                }
              ]
            },
            {
              "name": "eles.aStar",
              "descr": "Find an A* path between two nodes in this collection's subgraph. The heuristic defaults to zero, reducing the search to Dijkstra's ordering. The search closes nodes without reopening them; shortest-path guarantees require non-negative costs and a consistent heuristic. The library does not validate those mathematical properties.",
              "formats": [
                {
                  "descr": "Find an A* path between two nodes in this collection's subgraph. The heuristic defaults to zero, reducing the search to Dijkstra's ordering. The search closes nodes without reopening them; shortest-path guarantees require non-negative costs and a consistent heuristic. The library does not validate those mathematical properties.",
                  "args": [
                    {
                      "name": "options",
                      "type": "AStarOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "root",
                          "type": "Collection | null",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "goal",
                          "type": "Collection | null",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "heuristic",
                          "type": "AStarHeuristicFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "`{ root, goal, weight, heuristic, directed }`. Root and goal must belong to this collection; `weight(edge)` defaults to 1, `heuristic(node)` defaults to 0, and `directed: true` follows outgoing edges only."
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AStarResult",
                  "returns": "`{ found, distance, path, steps }`; when no path exists, `found` is false and `distance` and `path` are undefined",
                  "examples": [
                    "const result = eles.aStar({ root: cy.getElementById('a'), goal: cy.getElementById('c'), weight: edge => edge.data('weight') });\nconsole.log(result.distance); // 5"
                  ],
                  "throws": [
                    "if root or goal is missing or outside this collection"
                  ]
                }
              ],
              "returns": "`{ found, distance, path, steps }`; when no path exists, `found` is false and `distance` and `path` are undefined",
              "throws": [
                "if root or goal is missing or outside this collection"
              ],
              "src": "src/collection.mts:4023",
              "recipes": []
            },
            {
              "name": "eles.bellmanFord",
              "descr": "Compute single-source shortest paths with Bellman–Ford. Unlike `dijkstra()`, this algorithm supports negative edge weights and reports reachable negative-weight cycles.  Undirected, every edge is both arcs, so a negative edge reachable from the root is itself a negative cycle .",
              "formats": [
                {
                  "descr": "Compute single-source shortest paths with Bellman–Ford. Unlike `dijkstra()`, this algorithm supports negative edge weights and reports reachable negative-weight cycles.  Undirected, every edge is both arcs, so a negative edge reachable from the root is itself a negative cycle .",
                  "args": [
                    {
                      "name": "options",
                      "type": "BellmanFordOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "root",
                          "type": "Collection | null",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "findNegativeWeightCycles",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "`{ root, weight, directed, findNegativeWeightCycles }`. The root must belong to this collection; `weight(edge)` defaults to 1 and `directed: true` follows outgoing edges only. Set `findNegativeWeightCycles: false` to stop after detecting a cycle without constructing cycle collections."
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "BellmanFordResult",
                  "returns": "distance and path accessors, `hasNegativeWeightCycle`, and `negativeWeightCycles` (collections describing detected cycles); unreachable nodes have infinite distance and an empty path",
                  "examples": [
                    "const result = eles.bellmanFord({ root: cy.getElementById('a'), weight: edge => edge.data('weight') });\nconsole.log(result.distanceTo(cy.getElementById('c'))); // 5"
                  ],
                  "throws": [
                    "if root is missing or does not contain a node"
                  ]
                }
              ],
              "returns": "distance and path accessors, `hasNegativeWeightCycle`, and `negativeWeightCycles` (collections describing detected cycles); unreachable nodes have infinite distance and an empty path",
              "throws": [
                "if root is missing or does not contain a node"
              ],
              "src": "src/collection.mts:4048",
              "recipes": []
            },
            {
              "name": "eles.floydWarshall",
              "descr": "Floyd–Warshall all-pairs shortest paths. O(n³) — for a single source prefer `dijkstra`/`bellmanFord`. Async: the expensive whole-graph tier returns promises, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks where the maths runs; 'cpu' is the reproducible reference.",
              "formats": [
                {
                  "descr": "Floyd–Warshall all-pairs shortest paths. O(n³) — for a single source prefer `dijkstra`/`bellmanFord`. Async: the expensive whole-graph tier returns promises, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks where the maths runs; 'cpu' is the reproducible reference.",
                  "args": [
                    {
                      "name": "options",
                      "type": "FloydWarshallOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto')"
                        }
                      ],
                      "descr": "`{ weight, directed, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<FloydWarshallResult>",
                  "returns": "a promise of the `{ distance, path }` accessors — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.floydWarshall({ executor: 'cpu' });\nconst result = await run;\nconsole.log(result.distance(cy.getElementById('a'), cy.getElementById('c'))); // 2"
                  ],
                  "throws": [
                    "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
                  ]
                }
              ],
              "returns": "a promise of the `{ distance, path }` accessors — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
              ],
              "src": "src/collection.mts:4070",
              "recipes": []
            },
            {
              "name": "eles.kruskal",
              "descr": "Build a minimum spanning forest of this collection, treating its edges as undirected. Equal-weight edges retain collection order. Disconnected input produces one tree per connected component.",
              "formats": [
                {
                  "descr": "Build a minimum spanning forest of this collection, treating its edges as undirected. Equal-weight edges retain collection order. Disconnected input produces one tree per connected component.",
                  "args": [
                    {
                      "name": "weight",
                      "type": "WeightFn",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "`(edge) => number`; defaults to unit weights"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Collection<NodeData, EdgeData>",
                  "returns": "a collection containing all input nodes and the accepted forest edges, in acceptance order",
                  "examples": [
                    "const forest = eles.kruskal(edge => edge.data('weight'));\nconsole.log(forest.edges().length); // 2"
                  ],
                  "throws": []
                }
              ],
              "returns": "a collection containing all input nodes and the accepted forest edges, in acceptance order",
              "src": "src/collection.mts:4087",
              "recipes": []
            },
            {
              "name": "eles.tarjanStronglyConnected",
              "descr": "Partition this collection's directed subgraph into strongly connected components. Traversal follows edge direction; self-loops do not join otherwise separate nodes. The implementation is iterative, so deep graphs do not consume the JavaScript call stack.",
              "formats": [
                {
                  "descr": "Partition this collection's directed subgraph into strongly connected components. Traversal follows edge direction; self-loops do not join otherwise separate nodes. The implementation is iterative, so deep graphs do not consume the JavaScript call stack.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "TarjanStronglyConnectedResult",
                  "returns": "`{ components, cut }`: each component collection contains its nodes and internal edges; `cut` contains edges between components",
                  "examples": [
                    "console.log(eles.tarjanStronglyConnected().components.length); // 3"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.tsc",
                "eles.tscc",
                "eles.tarjanStronglyConnectedComponents"
              ],
              "returns": "`{ components, cut }`: each component collection contains its nodes and internal edges; `cut` contains edges between components",
              "src": "src/collection.mts:4103",
              "recipes": []
            },
            {
              "name": "eles.hopcroftTarjanBiconnected",
              "descr": "Find undirected biconnected components and articulation points in this collection's subgraph. The component partition follows the parent-edge rule: all edges back to the DFS parent are skipped, including parallel edges.",
              "formats": [
                {
                  "descr": "Find undirected biconnected components and articulation points in this collection's subgraph. The component partition follows the parent-edge rule: all edges back to the DFS parent are skipped, including parallel edges.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "HopcroftTarjanBiconnectedResult",
                  "returns": "`{ components, cut }`: each component is a collection of its nodes and edges, and `cut` contains articulation-point nodes. Each component also absorbs subgraph edges incident to its non-cut nodes, as this implementation defines its component sets.",
                  "examples": [
                    "console.log(eles.hopcroftTarjanBiconnected().cut.map(node => node.id())); // ['b']"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.htbc",
                "eles.htb",
                "eles.hopcroftTarjanBiconnectedComponents"
              ],
              "returns": "`{ components, cut }`: each component is a collection of its nodes and edges, and `cut` contains articulation-point nodes. Each component also absorbs subgraph edges incident to its non-cut nodes, as this implementation defines its component sets.",
              "src": "src/collection.mts:4125",
              "recipes": []
            },
            {
              "name": "eles.hierholzer",
              "descr": "Find an Eulerian trail or circuit over this collection's edges. The directed mode checks directed degree balance; the default treats edges as undirected. A requested root must be a valid starting node for the trail.",
              "formats": [
                {
                  "descr": "Find an Eulerian trail or circuit over this collection's edges. The directed mode checks directed degree balance; the default treats edges as undirected. A requested root must be a valid starting node for the trail.",
                  "args": [
                    {
                      "name": "args",
                      "type": "HierholzerArgs",
                      "optional": false,
                      "rest": true,
                      "fields": [],
                      "descr": "`{ root, directed }` or the positional form"
                    }
                  ],
                  "callable": true,
                  "callForms": [
                    [
                      {
                        "name": "rootOrOptions",
                        "type": "HierholzerOptions | Collection<any, any, any> | undefined",
                        "descr": "Starting node or an options object; omit to choose an eligible node.",
                        "optional": true
                      },
                      {
                        "name": "directed",
                        "type": "boolean | undefined",
                        "descr": "True to follow outgoing edges only; defaults to false.",
                        "optional": true
                      }
                    ]
                  ],
                  "typeParameters": "",
                  "returnType": "HierholzerResult",
                  "returns": "`{ found, trail }`; `trail` is undefined when no trail exists. Collections are sets, so a node visited more than once appears only once in the trail collection.",
                  "examples": [
                    "const result = eles.hierholzer({ root: cy.getElementById('a'), directed: false });\nconsole.log(result.found); // true"
                  ],
                  "throws": [
                    "if a supplied root is a selector string"
                  ]
                }
              ],
              "returns": "`{ found, trail }`; `trail` is undefined when no trail exists. Collections are sets, so a node visited more than once appears only once in the trail collection.",
              "throws": [
                "if a supplied root is a selector string"
              ],
              "src": "src/collection.mts:4148",
              "recipes": []
            },
            {
              "name": "eles.kargerStein",
              "descr": "Estimate an undirected global minimum cut with the randomized Karger–Stein contraction algorithm. Connected input is required for its guarantee. Random choices mean repeated runs may produce different partitions; the minimum-cut result is probabilistic.",
              "formats": [
                {
                  "descr": "Estimate an undirected global minimum cut with the randomized Karger–Stein contraction algorithm. Connected input is required for its guarantee. Random choices mean repeated runs may produce different partitions; the minimum-cut result is probabilistic.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "KargerSteinResult",
                  "returns": "`{ cut, components, partition1, partition2 }`; `cut` contains crossing edges and the two partitions contain the corresponding nodes",
                  "examples": [
                    "// The exact cut can vary; this path graph's minimum cut has one edge.\nconsole.log(eles.kargerStein().cut.edges().length); // 1"
                  ],
                  "throws": [
                    "if fewer than two nodes are present or a contraction reaches a graph with no edges"
                  ]
                }
              ],
              "returns": "`{ cut, components, partition1, partition2 }`; `cut` contains crossing edges and the two partitions contain the corresponding nodes",
              "throws": [
                "if fewer than two nodes are present or a contraction reaches a graph with no edges"
              ],
              "src": "src/collection.mts:4167",
              "recipes": []
            },
            {
              "name": "eles.pageRank",
              "descr": "PageRank over the subgraph. Undirected by default — each edge is walked both ways, as NetworkX and igraph do — and `directed: true` follows source → target only. Async: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks where the power method runs; 'cpu' is the reproducible reference.",
              "formats": [
                {
                  "descr": "PageRank over the subgraph. Undirected by default — each edge is walked both ways, as NetworkX and igraph do — and `directed: true` follows source → target only. Async: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks where the power method runs; 'cpu' is the reproducible reference.",
                  "args": [
                    {
                      "name": "options",
                      "type": "PageRankOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "dampingFactor",
                          "type": "number",
                          "optional": true,
                          "descr": "the probability of following an out-edge rather than teleporting —\nthe textbook α, in (0, 1] (default 0.85)"
                        },
                        {
                          "name": "precision",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "iterations",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "walk edges source → target only (default false: an undirected run\nwalks each edge both ways, as NetworkX and igraph do)"
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto')"
                        }
                      ],
                      "descr": "`{ dampingFactor, precision, iterations, weight, directed, executor }`; `dampingFactor` is the textbook α in (0, 1], default 0.85"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<PageRankResult>",
                  "returns": "a promise of `{ rank }`, a per-node accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.pageRank({ executor: 'cpu' });\nconst result = await run;\nconsole.log(result.rank(cy.getElementById('c')) > 0); // true"
                  ],
                  "throws": [
                    "if `executor` or `dampingFactor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
                  ]
                }
              ],
              "returns": "a promise of `{ rank }`, a per-node accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor` or `dampingFactor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
              ],
              "src": "src/collection.mts:4192",
              "recipes": []
            },
            {
              "name": "eles.degreeCentrality",
              "descr": "Compute Opsahl's generalized degree for one node in this collection. `alpha` interpolates between counting edges (0) and summing their weights (1); intermediate values combine both. Directed results separate incoming and outgoing degree.",
              "formats": [
                {
                  "descr": "Compute Opsahl's generalized degree for one node in this collection. `alpha` interpolates between counting edges (0) and summing their weights (1); intermediate values combine both. Directed results separate incoming and outgoing degree.",
                  "args": [
                    {
                      "name": "options",
                      "type": "DegreeCentralityOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "root",
                          "type": "Collection | null",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "alpha",
                          "type": "number",
                          "optional": true,
                          "descr": "0 = count degree, 1 = weight sum (Opsahl's generalized degree)"
                        },
                        {
                          "name": "normalization",
                          "type": "'max' | 'size'",
                          "optional": true,
                          "descr": "read by `degreeCentralityNormalized` only: `'max'`\n(default) divides by the largest degree, `'size'` by n − 1 —\nNetworkX's `degree_centrality` and igraph's `normalized = TRUE`"
                        }
                      ],
                      "descr": "`{ root, weight, alpha, directed }`; `root` is required, `weight(edge)` defaults to 1, `alpha` defaults to 0, and `directed` defaults to false"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "DegreeCentralityResult",
                  "returns": "`{ degree }`, or `{ indegree, outdegree }` when directed",
                  "examples": [
                    "const result = eles.degreeCentrality({ root: cy.getElementById('b') });\nconsole.log(result.degree); // 2"
                  ],
                  "throws": [
                    "if root is missing or does not contain a node"
                  ]
                }
              ],
              "pureAliases": [
                "eles.dc"
              ],
              "returns": "`{ degree }`, or `{ indegree, outdegree }` when directed",
              "throws": [
                "if root is missing or does not contain a node"
              ],
              "src": "src/collection.mts:4212",
              "recipes": []
            },
            {
              "name": "eles.degreeCentralityNormalized",
              "descr": "Compute each node's Opsahl generalized degree and normalize against the maximum in this collection (default) or, under `normalization: 'size'`, against n − 1 — NetworkX's `degree_centrality` and igraph's `normalized = TRUE` (a lone node scores 1, as in NetworkX). Directed in- and out-degree are normalized independently. Nodes outside the collection's captured subgraph read as zero.",
              "formats": [
                {
                  "descr": "Compute each node's Opsahl generalized degree and normalize against the maximum in this collection (default) or, under `normalization: 'size'`, against n − 1 — NetworkX's `degree_centrality` and igraph's `normalized = TRUE` (a lone node scores 1, as in NetworkX). Directed in- and out-degree are normalized independently. Nodes outside the collection's captured subgraph read as zero.",
                  "args": [
                    {
                      "name": "options",
                      "type": "DegreeCentralityOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "root",
                          "type": "Collection | null",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "alpha",
                          "type": "number",
                          "optional": true,
                          "descr": "0 = count degree, 1 = weight sum (Opsahl's generalized degree)"
                        },
                        {
                          "name": "normalization",
                          "type": "'max' | 'size'",
                          "optional": true,
                          "descr": "read by `degreeCentralityNormalized` only: `'max'`\n(default) divides by the largest degree, `'size'` by n − 1 —\nNetworkX's `degree_centrality` and igraph's `normalized = TRUE`"
                        }
                      ],
                      "descr": "`{ weight, alpha, directed, normalization }`; the shared option type also allows `root`, which this all-node method ignores. `weight(edge)` defaults to 1, `alpha` defaults to 0, `directed` defaults to false and `normalization` to 'max'"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "DegreeCentralityNormalizedResult",
                  "returns": "a `degree(node)` accessor, or `indegree(node)` and `outdegree(node)` accessors when directed. Each divides by its corresponding maximum or by n − 1; under 'max' results are in [0, 1] when weights and alpha produce nonnegative finite degrees. These numeric constraints are not validated.",
                  "examples": [
                    "const result = eles.degreeCentralityNormalized();\nconsole.log(result.degree(cy.getElementById('b'))); // 1"
                  ],
                  "throws": [
                    "if `normalization` is neither 'max' nor 'size'"
                  ]
                }
              ],
              "pureAliases": [
                "eles.dcn",
                "eles.degreeCentralityNormalised"
              ],
              "returns": "a `degree(node)` accessor, or `indegree(node)` and `outdegree(node)` accessors when directed. Each divides by its corresponding maximum or by n − 1; under 'max' results are in [0, 1] when weights and alpha produce nonnegative finite degrees. These numeric constraints are not validated.",
              "throws": [
                "if `normalization` is neither 'max' nor 'size'"
              ],
              "src": "src/collection.mts:4241",
              "recipes": []
            },
            {
              "name": "eles.closenessCentrality",
              "descr": "Closeness centrality of one node — how near it is, by shortest path, to the rest of the collection. Harmonic (default): Σ 1/d, an unreachable node contributing 0. `harmonic: false`: the classic (n − 1)/Σd, and over r reachable nodes the Wasserman–Faust (r/Σd)·(r/(n − 1)) — NetworkX's definition. Directed runs sum distances from the node (`direction: 'out'`, default, as R igraph and graph-tool) or to it (`'in'`, as NetworkX and Neo4j GDS).",
              "formats": [
                {
                  "descr": "Closeness centrality of one node — how near it is, by shortest path, to the rest of the collection. Harmonic (default): Σ 1/d, an unreachable node contributing 0. `harmonic: false`: the classic (n − 1)/Σd, and over r reachable nodes the Wasserman–Faust (r/Σd)·(r/(n − 1)) — NetworkX's definition. Directed runs sum distances from the node (`direction: 'out'`, default, as R igraph and graph-tool) or to it (`'in'`, as NetworkX and Neo4j GDS).",
                  "args": [
                    {
                      "name": "options",
                      "type": "ClosenessCentralityOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "root",
                          "type": "Collection | null",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "direction",
                          "type": "'out' | 'in'",
                          "optional": true,
                          "descr": "which distances a directed run sums: `'out'` (default)\nfrom the node to the others — R igraph's `mode = \"out\"` and\ngraph-tool's — or `'in'`, from the others to the node — NetworkX's,\nNeo4j GDS's and Boldi–Vigna's.  Ignored when undirected."
                        },
                        {
                          "name": "harmonic",
                          "type": "boolean",
                          "optional": true,
                          "descr": "Σ 1/d (default, tolerates disconnection), or the classic\n(n − 1)/Σd with the Wasserman–Faust correction: over\nthe r nodes reachable, (r/Σd)·(r/(n − 1)), 0 when none is"
                        },
                        {
                          "name": "normalization",
                          "type": "'max' | 'size'",
                          "optional": true,
                          "descr": "read by `closenessCentralityNormalized` only: `'max'`\n(default) divides by the largest score; `'size'` divides a harmonic\nscore by n − 1 (igraph's and graph-tool's normalized harmonic\ncentrality) and leaves a classic one as is, (n − 1) already being\nin its formula"
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto').\nRead by the whole-collection `closenessCentralityNormalized` only —\nthe single-root `closenessCentrality` is a cheap Dijkstra walk and\nstays synchronous on the CPU.  Unweighted runs walk a BFS per\nsource on either executor (72.3); weighted runs relax\nFloyd–Warshall."
                        }
                      ],
                      "descr": "`{ root, weight, directed, direction, harmonic }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the closeness score",
                  "examples": [
                    "console.log(eles.closenessCentrality({ root: cy.getElementById('b') })); // 2"
                  ],
                  "throws": [
                    "if `root` is not a node of the collection, or `direction` is neither 'out' nor 'in'"
                  ]
                }
              ],
              "pureAliases": [
                "eles.cc"
              ],
              "returns": "the closeness score",
              "throws": [
                "if `root` is not a node of the collection, or `direction` is neither 'out' nor 'in'"
              ],
              "src": "src/collection.mts:4267",
              "recipes": []
            },
            {
              "name": "eles.closenessCentralityNormalized",
              "descr": "Closeness centrality for every node, normalized to [0, 1]. Async: the whole-collection form is the all-pairs tier, so like `floydWarshall` it returns a promise and `executor` ('cpu' | 'gpu' | 'workers' | 'auto', default 'auto') picks where it runs; 'cpu' is the reproducible reference. Unweighted runs walk a BFS per source, O(n·(n+E)) — on the worker pool too (one source range per worker, bit-identical to 'cpu'; under 'auto' a sparse graph takes the pool first from 512 nodes, using workers for sparse graphs, and a dense one the GPU first); weighted runs relax Floyd–Warshall, O(n³), and take the offload lane (one pool worker). The single-root `closenessCentrality` stays synchronous.",
              "formats": [
                {
                  "descr": "Closeness centrality for every node, normalized to [0, 1]. Async: the whole-collection form is the all-pairs tier, so like `floydWarshall` it returns a promise and `executor` ('cpu' | 'gpu' | 'workers' | 'auto', default 'auto') picks where it runs; 'cpu' is the reproducible reference. Unweighted runs walk a BFS per source, O(n·(n+E)) — on the worker pool too (one source range per worker, bit-identical to 'cpu'; under 'auto' a sparse graph takes the pool first from 512 nodes, using workers for sparse graphs, and a dense one the GPU first); weighted runs relax Floyd–Warshall, O(n³), and take the offload lane (one pool worker). The single-root `closenessCentrality` stays synchronous.\n\nEach score is `closenessCentrality`'s for that node (the same `harmonic` and `direction`), divided by the largest.\n\n`normalization: 'size'` divides a harmonic score by n − 1 instead, igraph's and graph-tool's normalized harmonic centrality, and leaves a classic score, which already carries n − 1, as is.",
                  "args": [
                    {
                      "name": "options",
                      "type": "ClosenessCentralityOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "root",
                          "type": "Collection | null",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "direction",
                          "type": "'out' | 'in'",
                          "optional": true,
                          "descr": "which distances a directed run sums: `'out'` (default)\nfrom the node to the others — R igraph's `mode = \"out\"` and\ngraph-tool's — or `'in'`, from the others to the node — NetworkX's,\nNeo4j GDS's and Boldi–Vigna's.  Ignored when undirected."
                        },
                        {
                          "name": "harmonic",
                          "type": "boolean",
                          "optional": true,
                          "descr": "Σ 1/d (default, tolerates disconnection), or the classic\n(n − 1)/Σd with the Wasserman–Faust correction: over\nthe r nodes reachable, (r/Σd)·(r/(n − 1)), 0 when none is"
                        },
                        {
                          "name": "normalization",
                          "type": "'max' | 'size'",
                          "optional": true,
                          "descr": "read by `closenessCentralityNormalized` only: `'max'`\n(default) divides by the largest score; `'size'` divides a harmonic\nscore by n − 1 (igraph's and graph-tool's normalized harmonic\ncentrality) and leaves a classic one as is, (n − 1) already being\nin its formula"
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto').\nRead by the whole-collection `closenessCentralityNormalized` only —\nthe single-root `closenessCentrality` is a cheap Dijkstra walk and\nstays synchronous on the CPU.  Unweighted runs walk a BFS per\nsource on either executor (72.3); weighted runs relax\nFloyd–Warshall."
                        }
                      ],
                      "descr": "`{ weight, directed, direction, harmonic, normalization, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<ClosenessCentralityNormalizedResult>",
                  "returns": "a promise of a `closeness` accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.closenessCentralityNormalized({ executor: 'cpu' });\nconst result = await run;\nconsole.log(result.closeness(cy.getElementById('b')) > 0); // true"
                  ],
                  "throws": [
                    "if `executor`, `direction` or `normalization` is invalid; rejects if `executor: 'gpu'` or `'workers'` is unavailable in this environment, or `'workers'` is asked of a weighted run"
                  ]
                }
              ],
              "pureAliases": [
                "eles.ccn",
                "eles.closenessCentralityNormalised"
              ],
              "returns": "a promise of a `closeness` accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor`, `direction` or `normalization` is invalid; rejects if `executor: 'gpu'` or `'workers'` is unavailable in this environment, or `'workers'` is asked of a weighted run"
              ],
              "src": "src/collection.mts:4305",
              "recipes": []
            },
            {
              "name": "eles.betweennessCentrality",
              "descr": "Betweenness centrality — how often each node lies on shortest paths between other pairs: the sum over pairs s ≠ v ≠ t of the share of shortest s–t paths through v, each unordered pair counted once when undirected (Freeman's definition, NetworkX's and igraph's unnormalized score). `betweennessNormalized` divides by the largest score. Async: returns a promise, and `executor` ('cpu' | 'gpu' | 'workers' | 'auto', default 'auto') picks where the Brandes sweep runs. Weighted runs have no GPU path: 'auto' takes the worker pool (one source range per worker, f64-tight to 'cpu' and bit-stable across pool sizes) from 128 nodes and an explicit 'gpu' rejects; unweighted runs keep the GPU first under 'auto', then the pool from 256 nodes where no adapter fits.",
              "formats": [
                {
                  "descr": "Betweenness centrality — how often each node lies on shortest paths between other pairs: the sum over pairs s ≠ v ≠ t of the share of shortest s–t paths through v, each unordered pair counted once when undirected (Freeman's definition, NetworkX's and igraph's unnormalized score). `betweennessNormalized` divides by the largest score. Async: returns a promise, and `executor` ('cpu' | 'gpu' | 'workers' | 'auto', default 'auto') picks where the Brandes sweep runs. Weighted runs have no GPU path: 'auto' takes the worker pool (one source range per worker, f64-tight to 'cpu' and bit-stable across pool sizes) from 128 nodes and an explicit 'gpu' rejects; unweighted runs keep the GPU first under 'auto', then the pool from 256 nodes where no adapter fits.\n\n`betweennessNormalized` divides by the largest score, or under `normalization: 'size'` by the pairs a node can sit between — (n − 1)(n − 2)/2 undirected, (n − 1)(n − 2) directed — as NetworkX's `normalized=True` and igraph's `normalized = TRUE`.",
                  "args": [
                    {
                      "name": "options",
                      "type": "BetweennessCentralityOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "weight",
                          "type": "WeightFn | null",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "normalization",
                          "type": "'max' | 'size'",
                          "optional": true,
                          "descr": "how `betweennessNormalized` scales: `'max'` (default)\ndivides by the largest score, `'size'` by the number of pairs a\nnode can sit between — (n − 1)(n − 2)/2 undirected, (n − 1)(n − 2)\ndirected — as NetworkX's `normalized=True` and igraph's\n`normalized = TRUE` do"
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto').\nWeighted runs have no GPU path: 'auto' uses workers from 128 nodes\nwhen available, and an explicit 'gpu' rejects. Unweighted runs prefer\na suitable GPU under 'auto', then workers where no adapter fits."
                        }
                      ],
                      "descr": "`{ weight, directed, normalization, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<BetweennessCentralityResult>",
                  "returns": "a promise of the `{ betweenness, betweennessNormalized }` accessors — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.betweennessCentrality({ executor: 'cpu' });\nconst result = await run;\nconsole.log(result.betweenness(cy.getElementById('b')) > 0); // true"
                  ],
                  "throws": [
                    "if `executor` or `normalization` is invalid; rejects if `executor: 'gpu'` is unavailable or the run is weighted"
                  ]
                }
              ],
              "pureAliases": [
                "eles.bc"
              ],
              "returns": "a promise of the `{ betweenness, betweennessNormalized }` accessors — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor` or `normalization` is invalid; rejects if `executor: 'gpu'` is unavailable or the run is weighted"
              ],
              "src": "src/collection.mts:4344",
              "recipes": []
            },
            {
              "name": "eles.katzCentrality",
              "descr": "Katz centrality — attenuated walk counting, where a node is central when many short walks end at it and a walk of length k is worth alphaᵏ. Async: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks where the iteration runs; like `pageRank`, 'auto' always uses the sparse CPU iteration and the GPU path serves an explicit 'gpu'.  `katzNormalized` divides by the largest score, or by the scores' Euclidean norm under `normalization: 'l2'` — NetworkX's `normalized=True`.",
              "formats": [
                {
                  "descr": "Katz centrality — attenuated walk counting, where a node is central when many short walks end at it and a walk of length k is worth alphaᵏ. Async: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks where the iteration runs; like `pageRank`, 'auto' always uses the sparse CPU iteration and the GPU path serves an explicit 'gpu'.  `katzNormalized` divides by the largest score, or by the scores' Euclidean norm under `normalization: 'l2'` — NetworkX's `normalized=True`.",
                  "args": [
                    {
                      "name": "options",
                      "type": "KatzCentralityOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "alpha",
                          "type": "number",
                          "optional": true,
                          "descr": "the walk attenuation per step (default 0.1); must be positive,\nand under 1/λ_max of the adjacency for the iteration to converge"
                        },
                        {
                          "name": "beta",
                          "type": "number",
                          "optional": true,
                          "descr": "the baseline every node starts each step with (default 1)"
                        },
                        {
                          "name": "maxIterations",
                          "type": "number",
                          "optional": true,
                          "descr": "iteration cap when the tolerance is never met (default 200)"
                        },
                        {
                          "name": "tolerance",
                          "type": "number",
                          "optional": true,
                          "descr": "stop once Σ|Δx| < n · tolerance (default 1e-6)"
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "count incoming walks only"
                        },
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "normalization",
                          "type": "'max' | 'l2'",
                          "optional": true,
                          "descr": "how `katzNormalized` scales: `'max'` (default) divides\nby the largest score, `'l2'` by the scores' Euclidean norm —\nNetworkX's `katz_centrality(normalized=True)`"
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto').\nLike `pageRank`, 'auto' stays on the sparse CPU iteration at\nevery measured size (`KATZ_GPU_MIN_N`); the GPU path serves an\nexplicit 'gpu'."
                        }
                      ],
                      "descr": "`{ alpha, beta, maxIterations, tolerance, directed, weight, normalization, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<KatzCentralityResult>",
                  "returns": "a promise of the `{ katz, katzNormalized }` accessors — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.katzCentrality({ executor: 'cpu' });\nconst result = await run;\nconsole.log(result.katz(cy.getElementById('a')) > 0); // true"
                  ],
                  "throws": [
                    "if `executor`, `alpha`, `beta` or `normalization` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
                  ]
                }
              ],
              "returns": "a promise of the `{ katz, katzNormalized }` accessors — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor`, `alpha`, `beta` or `normalization` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
              ],
              "src": "src/collection.mts:4375",
              "recipes": []
            },
            {
              "name": "eles.triangleCount",
              "descr": "Triangle counting: per-node triangle counts, local clustering coefficients, and the collection's transitivity, read over the simple undirected graph (direction ignored, parallel edges collapsed, loops excluded). Async: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks where the counting runs — under 'auto' the GPU's A²∘A matmul is used only on graphs dense enough to beat the CPU's sparse walk (a mean degree of 64).",
              "formats": [
                {
                  "descr": "Triangle counting: per-node triangle counts, local clustering coefficients, and the collection's transitivity, read over the simple undirected graph (direction ignored, parallel edges collapsed, loops excluded). Async: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks where the counting runs — under 'auto' the GPU's A²∘A matmul is used only on graphs dense enough to beat the CPU's sparse walk (a mean degree of 64).",
                  "args": [
                    {
                      "name": "options",
                      "type": "TriangleCountOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto').\n'auto' routes to the GPU only on graphs dense enough that the\nO(n³) matmul beats the CPU's O(Σ deg²) sparse walk."
                        }
                      ],
                      "descr": "`{ executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<TriangleCountResult>",
                  "returns": "a promise of `{ triangles, clusteringCoefficient, totalTriangles, transitivity }` — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.triangleCount({ executor: 'cpu' });\nconst result = await run;\nconsole.log(result.totalTriangles); // 0"
                  ],
                  "throws": [
                    "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
                  ]
                }
              ],
              "returns": "a promise of `{ triangles, clusteringCoefficient, totalTriangles, transitivity }` — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
              ],
              "src": "src/collection.mts:4402",
              "recipes": []
            },
            {
              "name": "eles.neighborhoodSimilarity",
              "descr": "Neighborhood similarity — pairwise Jaccard, cosine or overlap coefficients over neighbor sets (deduped; loops excluded; `directed: true` compares out-neighborhoods). The result is all-pairs, so it holds O(n²) counts like `floydWarshall`. Async: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto') picks where the shared-neighbor counts are computed — under 'auto' the GPU's A·Aᵀ matmul is used only on graphs dense enough to beat the CPU's wedge walk (a mean degree of 64).",
              "formats": [
                {
                  "descr": "Neighborhood similarity — pairwise Jaccard, cosine or overlap coefficients over neighbor sets (deduped; loops excluded; `directed: true` compares out-neighborhoods). The result is all-pairs, so it holds O(n²) counts like `floydWarshall`. Async: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto') picks where the shared-neighbor counts are computed — under 'auto' the GPU's A·Aᵀ matmul is used only on graphs dense enough to beat the CPU's wedge walk (a mean degree of 64).",
                  "args": [
                    {
                      "name": "options",
                      "type": "NeighborhoodSimilarityOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "metric",
                          "type": "SimilarityMetric",
                          "optional": true,
                          "descr": "the normalization (default 'jaccard')"
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "compare out-neighborhoods instead of undirected ones"
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto').\n'auto' routes to the GPU only on graphs dense enough that the\nO(n³) matmul beats the CPU's O(n² + Σ deg²) wedge walk."
                        }
                      ],
                      "descr": "`{ metric, directed, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<NeighborhoodSimilarityResult>",
                  "returns": "a promise of the `{ similarity }` accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.neighborhoodSimilarity({ executor: 'cpu' });\nconst result = await run;\nconsole.log(result.similarity(cy.getElementById('a'), cy.getElementById('a'))); // 1"
                  ],
                  "throws": [
                    "if `executor` or `metric` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
                  ]
                }
              ],
              "returns": "a promise of the `{ similarity }` accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor` or `metric` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
              ],
              "src": "src/collection.mts:4427",
              "recipes": []
            },
            {
              "name": "eles.simRank",
              "descr": "SimRank — \"two nodes are similar when their neighbors are similar\", the Jeh–Widom recursive fixed point, iterated as dense products S′ = C·Q·S·Qᵀ. Async: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks where the iteration runs — under 'auto' the GPU from 256 nodes at any density. The undirected default compares all neighbors; `directed: true` compares the classic in-neighborhoods. All-pairs (O(n²) memory).",
              "formats": [
                {
                  "descr": "SimRank — \"two nodes are similar when their neighbors are similar\", the Jeh–Widom recursive fixed point, iterated as dense products S′ = C·Q·S·Qᵀ. Async: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks where the iteration runs — under 'auto' the GPU from 256 nodes at any density. The undirected default compares all neighbors; `directed: true` compares the classic in-neighborhoods. All-pairs (O(n²) memory).",
                  "args": [
                    {
                      "name": "options",
                      "type": "SimRankOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "dampingFactor",
                          "type": "number",
                          "optional": true,
                          "descr": "the decay per neighborhood step (default 0.8); must sit in (0, 1)"
                        },
                        {
                          "name": "maxIterations",
                          "type": "number",
                          "optional": true,
                          "descr": "iteration cap when the tolerance is never met (default 50)"
                        },
                        {
                          "name": "tolerance",
                          "type": "number",
                          "optional": true,
                          "descr": "stop once max |Δs| ≤ tolerance (default 1e-4)"
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "compare in-neighborhoods (the classic form) instead of undirected ones"
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto').\n'auto' takes the GPU from `GPU_MIN_N` nodes at any density\n(72.6: the products beat the per-pair CPU iteration everywhere)."
                        }
                      ],
                      "descr": "`{ dampingFactor, maxIterations, tolerance, directed, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<SimRankResult>",
                  "returns": "a promise of the `{ similarity }` accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.simRank({ executor: 'cpu' });\nconst result = await run;\nconsole.log(result.similarity(cy.getElementById('a'), cy.getElementById('a'))); // 1"
                  ],
                  "throws": [
                    "if `executor` or `dampingFactor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
                  ]
                }
              ],
              "returns": "a promise of the `{ similarity }` accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor` or `dampingFactor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
              ],
              "src": "src/collection.mts:4455",
              "recipes": []
            },
            {
              "name": "eles.randomWalkWithRestart",
              "descr": "Random walk with restart — network propagation from a `seeds` collection: a walker follows edges with probability 1−c and restarts at the seeds with probability c, and the stationary distribution scores every node by proximity to the seeds. Async; the vector iteration is O(E) per step on the CPU, so there is no GPU path — an explicit `executor: 'gpu'` rejects and points at `randomWalkWithRestartProximity`. A node with no out-edges sends the walker back to the seeds (`dangling: 'restart'`, default — NetworkX's personalised PageRank), so scores sum to 1; `dangling: 'absorb'` ends the walk there instead, and scores can sum below 1.",
              "formats": [
                {
                  "descr": "Random walk with restart — network propagation from a `seeds` collection: a walker follows edges with probability 1−c and restarts at the seeds with probability c, and the stationary distribution scores every node by proximity to the seeds. Async; the vector iteration is O(E) per step on the CPU, so there is no GPU path — an explicit `executor: 'gpu'` rejects and points at `randomWalkWithRestartProximity`. A node with no out-edges sends the walker back to the seeds (`dangling: 'restart'`, default — NetworkX's personalised PageRank), so scores sum to 1; `dangling: 'absorb'` ends the walk there instead, and scores can sum below 1.",
                  "args": [
                    {
                      "name": "options",
                      "type": "RandomWalkWithRestartOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "seeds",
                          "type": "Collection | null",
                          "optional": true,
                          "descr": "the nodes the walk restarts at (required for the seed form)"
                        },
                        {
                          "name": "restartProbability",
                          "type": "number",
                          "optional": true,
                          "descr": "the restart probability c (default 0.15); must sit in (0, 1)"
                        },
                        {
                          "name": "maxIterations",
                          "type": "number",
                          "optional": true,
                          "descr": "iteration cap when the tolerance is never met (default 200)"
                        },
                        {
                          "name": "tolerance",
                          "type": "number",
                          "optional": true,
                          "descr": "stop once the L1 step drops under `tolerance` (default 1e-6) —\nper column, for the proximity form"
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "walk out-edges only"
                        },
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "dangling",
                          "type": "'restart' | 'absorb'",
                          "optional": true,
                          "descr": "where a walker at a node with no out-edges goes:\n`'restart'` (default) back to the seeds, as NetworkX's personalised\nPageRank does, so scores sum to 1; `'absorb'` nowhere — the walk\nends there and its mass is lost"
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto').\nThe seed form has no GPU path; the proximity form takes the GPU\nfrom `GPU_MIN_N` nodes at any density (72.6)."
                        }
                      ],
                      "descr": "`{ seeds, restartProbability, maxIterations, tolerance, directed, weight, dangling, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<RandomWalkWithRestartResult>",
                  "returns": "a promise of the `{ score }` accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.randomWalkWithRestart({ seeds: cy.getElementById('a'), executor: 'cpu' });\nconst result = await run;\nconsole.log(result.score(cy.getElementById('a')) > 0); // true"
                  ],
                  "throws": [
                    "if `executor`, `restartProbability` or `dangling` is invalid, or if `seeds` holds no node of the collection"
                  ]
                }
              ],
              "returns": "a promise of the `{ score }` accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor`, `restartProbability` or `dangling` is invalid, or if `seeds` holds no node of the collection"
              ],
              "src": "src/collection.mts:4483",
              "recipes": []
            },
            {
              "name": "eles.randomWalkWithRestartProximity",
              "descr": "All-pairs random-walk-with-restart proximity — the full matrix S = c·(I − (1−c)·W)⁻¹, whose column s is the walk restarting at s. Async: `executor` ('cpu' | 'gpu' | 'workers' | 'auto', default 'auto') picks between one sparse solve per column on the CPU, the same solves spread over the worker pool (matching 'cpu') and the dense Neumann iteration on the GPU — under 'auto' the GPU from 256 nodes at any density, else the pool from 128. All-pairs (O(n²) memory). `dangling` is the seed form's: dead ends restart at the column's node by default, or absorb.",
              "formats": [
                {
                  "descr": "All-pairs random-walk-with-restart proximity — the full matrix S = c·(I − (1−c)·W)⁻¹, whose column s is the walk restarting at s. Async: `executor` ('cpu' | 'gpu' | 'workers' | 'auto', default 'auto') picks between one sparse solve per column on the CPU, the same solves spread over the worker pool (matching 'cpu') and the dense Neumann iteration on the GPU — under 'auto' the GPU from 256 nodes at any density, else the pool from 128. All-pairs (O(n²) memory). `dangling` is the seed form's: dead ends restart at the column's node by default, or absorb.",
                  "args": [
                    {
                      "name": "options",
                      "type": "RandomWalkWithRestartOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "seeds",
                          "type": "Collection | null",
                          "optional": true,
                          "descr": "the nodes the walk restarts at (required for the seed form)"
                        },
                        {
                          "name": "restartProbability",
                          "type": "number",
                          "optional": true,
                          "descr": "the restart probability c (default 0.15); must sit in (0, 1)"
                        },
                        {
                          "name": "maxIterations",
                          "type": "number",
                          "optional": true,
                          "descr": "iteration cap when the tolerance is never met (default 200)"
                        },
                        {
                          "name": "tolerance",
                          "type": "number",
                          "optional": true,
                          "descr": "stop once the L1 step drops under `tolerance` (default 1e-6) —\nper column, for the proximity form"
                        },
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "walk out-edges only"
                        },
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "dangling",
                          "type": "'restart' | 'absorb'",
                          "optional": true,
                          "descr": "where a walker at a node with no out-edges goes:\n`'restart'` (default) back to the seeds, as NetworkX's personalised\nPageRank does, so scores sum to 1; `'absorb'` nowhere — the walk\nends there and its mass is lost"
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto').\nThe seed form has no GPU path; the proximity form takes the GPU\nfrom `GPU_MIN_N` nodes at any density (72.6)."
                        }
                      ],
                      "descr": "`{ restartProbability, maxIterations, tolerance, directed, weight, dangling, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<RandomWalkWithRestartProximityResult>",
                  "returns": "a promise of the `{ proximity }` accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.randomWalkWithRestartProximity({ seeds: cy.getElementById('a'), executor: 'cpu' });\nconst result = await run;\nconsole.log(result.proximity(cy.getElementById('a'), cy.getElementById('a')) > 0); // true"
                  ],
                  "throws": [
                    "if `executor`, `restartProbability` or `dangling` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
                  ]
                }
              ],
              "returns": "a promise of the `{ proximity }` accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor`, `restartProbability` or `dangling` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
              ],
              "src": "src/collection.mts:4512",
              "recipes": []
            },
            {
              "name": "eles.heatDiffusion",
              "descr": "Heat diffusion from a `seeds` collection: unit heat spread over the seeds flows along edges for `time`, through the kernel exp(−t·L) of the weighted Laplacian. Total heat is conserved under the default `laplacian: 'combinatorial'`; `'normalized'` diffuses over I − D^{-½}AD^{-½} instead, whose spectrum is bounded whatever the degrees — hubs neither hoard nor flood — at the price of conservation. Async; the vector form is O(E) per series term on the CPU, so there is no GPU path — an explicit `executor: 'gpu'` rejects and points at `heatKernel`. Edges are read undirected with positive weights.",
              "formats": [
                {
                  "descr": "Heat diffusion from a `seeds` collection: unit heat spread over the seeds flows along edges for `time`, through the kernel exp(−t·L) of the weighted Laplacian. Total heat is conserved under the default `laplacian: 'combinatorial'`; `'normalized'` diffuses over I − D^{-½}AD^{-½} instead, whose spectrum is bounded whatever the degrees — hubs neither hoard nor flood — at the price of conservation. Async; the vector form is O(E) per series term on the CPU, so there is no GPU path — an explicit `executor: 'gpu'` rejects and points at `heatKernel`. Edges are read undirected with positive weights.",
                  "args": [
                    {
                      "name": "options",
                      "type": "HeatDiffusionOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "seeds",
                          "type": "Collection | null",
                          "optional": true,
                          "descr": "the nodes the heat starts on (required for the seed form)"
                        },
                        {
                          "name": "time",
                          "type": "number",
                          "optional": true,
                          "descr": "how long the heat flows (default 0.1); must be positive"
                        },
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "laplacian",
                          "type": "HeatLaplacian",
                          "optional": true,
                          "descr": "which Laplacian drives the diffusion (default 'combinatorial',\nL = D − A, heat-conserving); 'normalized' is I − D^{-½}AD^{-½},\nwhose spectrum is bounded by 2 so the scaling exponent depends on\n`time` alone — heat is then not conserved"
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto').\nThe seed form has no GPU path; the kernel form takes the GPU from\n`GPU_MIN_N` nodes at any density (72.6)."
                        }
                      ],
                      "descr": "`{ seeds, time, weight, laplacian, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<HeatDiffusionResult>",
                  "returns": "a promise of the `{ score }` accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.heatDiffusion({ seeds: cy.getElementById('a'), executor: 'cpu' });\nconst result = await run;\nconsole.log(result.score(cy.getElementById('a')) > 0); // true"
                  ],
                  "throws": [
                    "if `executor`, `time` or `laplacian` is invalid, if `seeds` holds no node of the collection, or if an edge weight is not positive"
                  ]
                }
              ],
              "returns": "a promise of the `{ score }` accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor`, `time` or `laplacian` is invalid, if `seeds` holds no node of the collection, or if an edge weight is not positive"
              ],
              "src": "src/collection.mts:4540",
              "recipes": []
            },
            {
              "name": "eles.heatKernel",
              "descr": "The all-pairs heat kernel exp(−t·L) — `heat(from, to)` is the heat at `to` after unit heat starts at `from` (symmetric). Async: `executor` ('cpu' | 'gpu' | 'workers' | 'auto', default 'auto') picks between per-column sparse series on the CPU, the same columns spread over the worker pool (bit-identical to 'cpu') and the dense scaling-and-squaring chain on the GPU — under 'auto' the GPU from 256 nodes at any density, else the pool from 256. `laplacian` ('combinatorial' | 'normalized', default 'combinatorial') picks L = D − A or I − D^{-½}AD^{-½}. All-pairs (O(n²) memory).",
              "formats": [
                {
                  "descr": "The all-pairs heat kernel exp(−t·L) — `heat(from, to)` is the heat at `to` after unit heat starts at `from` (symmetric). Async: `executor` ('cpu' | 'gpu' | 'workers' | 'auto', default 'auto') picks between per-column sparse series on the CPU, the same columns spread over the worker pool (bit-identical to 'cpu') and the dense scaling-and-squaring chain on the GPU — under 'auto' the GPU from 256 nodes at any density, else the pool from 256. `laplacian` ('combinatorial' | 'normalized', default 'combinatorial') picks L = D − A or I − D^{-½}AD^{-½}. All-pairs (O(n²) memory).",
                  "args": [
                    {
                      "name": "options",
                      "type": "HeatDiffusionOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "seeds",
                          "type": "Collection | null",
                          "optional": true,
                          "descr": "the nodes the heat starts on (required for the seed form)"
                        },
                        {
                          "name": "time",
                          "type": "number",
                          "optional": true,
                          "descr": "how long the heat flows (default 0.1); must be positive"
                        },
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "laplacian",
                          "type": "HeatLaplacian",
                          "optional": true,
                          "descr": "which Laplacian drives the diffusion (default 'combinatorial',\nL = D − A, heat-conserving); 'normalized' is I − D^{-½}AD^{-½},\nwhose spectrum is bounded by 2 so the scaling exponent depends on\n`time` alone — heat is then not conserved"
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto').\nThe seed form has no GPU path; the kernel form takes the GPU from\n`GPU_MIN_N` nodes at any density (72.6)."
                        }
                      ],
                      "descr": "`{ time, weight, laplacian, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<HeatKernelResult>",
                  "returns": "a promise of the `{ heat }` accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.heatKernel({ seeds: cy.getElementById('a'), executor: 'cpu' });\nconst result = await run;\nconsole.log(result.heat(cy.getElementById('a'), cy.getElementById('a')) > 0); // true"
                  ],
                  "throws": [
                    "if `executor`, `time` or `laplacian` is invalid, or if an edge weight is not positive"
                  ]
                }
              ],
              "returns": "a promise of the `{ heat }` accessor — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor`, `time` or `laplacian` is invalid, or if an edge weight is not positive"
              ],
              "src": "src/collection.mts:4566",
              "recipes": []
            },
            {
              "name": "eles.effectiveResistance",
              "descr": "Effective resistance and commute time — the graph as a resistor network. Weights are conductances by default, the convention of the papers that define the weighted measure; `weightAs: 'resistance'` reads them as resistances, NetworkX's default. `resistance(a, b)` comes from the Laplacian pseudo-inverse, `commuteTime(a, b)` the expected round-trip steps of the random walk (component volume × resistance). Pairs in different components answer Infinity. Async: `executor` ('cpu' | 'gpu' | 'auto', default 'auto') picks between dense f64 elimination on the CPU and Newton–Schulz matmul iteration on the GPU; both are O(n³), so 'auto' takes the GPU on size alone.",
              "formats": [
                {
                  "descr": "Effective resistance and commute time — the graph as a resistor network. Weights are conductances by default, the convention of the papers that define the weighted measure; `weightAs: 'resistance'` reads them as resistances, NetworkX's default. `resistance(a, b)` comes from the Laplacian pseudo-inverse, `commuteTime(a, b)` the expected round-trip steps of the random walk (component volume × resistance). Pairs in different components answer Infinity. Async: `executor` ('cpu' | 'gpu' | 'auto', default 'auto') picks between dense f64 elimination on the CPU and Newton–Schulz matmul iteration on the GPU; both are O(n³), so 'auto' takes the GPU on size alone.",
                  "args": [
                    {
                      "name": "options",
                      "type": "EffectiveResistanceOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "weight",
                          "type": "WeightFn",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "weightAs",
                          "type": "'conductance' | 'resistance'",
                          "optional": true,
                          "descr": "what `weight` measures: `'conductance'` (default, a\nheavier edge conducts more) or `'resistance'` (a heavier edge\nresists more — NetworkX's `invert_weight=True` default)"
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto')"
                        }
                      ],
                      "descr": "`{ weight, weightAs, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<EffectiveResistanceResult>",
                  "returns": "a promise of the `{ resistance, commuteTime }` accessors — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.effectiveResistance({ executor: 'cpu' });\nconst result = await run;\nconsole.log(result.resistance(cy.getElementById('a'), cy.getElementById('c')) > 0); // true"
                  ],
                  "throws": [
                    "if `executor` or `weightAs` is invalid; rejects if an edge weight is not positive or `executor: 'gpu'` is unavailable"
                  ]
                }
              ],
              "returns": "a promise of the `{ resistance, commuteTime }` accessors — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor` or `weightAs` is invalid; rejects if an edge weight is not positive or `executor: 'gpu'` is unavailable"
              ],
              "src": "src/collection.mts:4593",
              "recipes": []
            },
            {
              "name": "eles.motifCensus",
              "descr": "The triad census — every three-node subgraph classified into the sixteen Holland–Leinhardt classes ('003' … '300'; '030T' is the feed-forward loop). The counts sum to C(n, 3). Async: `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks between sparse wedge walks on the CPU and matmul trace products on the GPU — under 'auto' the GPU only on dense graphs (a mean degree of 64). `directed: false` reads every edge as mutual, so only 003 / 102 / 201 / 300 (empty / one-edge / path / triangle) can be non-zero.",
              "formats": [
                {
                  "descr": "The triad census — every three-node subgraph classified into the sixteen Holland–Leinhardt classes ('003' … '300'; '030T' is the feed-forward loop). The counts sum to C(n, 3). Async: `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks between sparse wedge walks on the CPU and matmul trace products on the GPU — under 'auto' the GPU only on dense graphs (a mean degree of 64). `directed: false` reads every edge as mutual, so only 003 / 102 / 201 / 300 (empty / one-edge / path / triangle) can be non-zero.",
                  "args": [
                    {
                      "name": "options",
                      "type": "MotifCensusOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "directed",
                          "type": "boolean",
                          "optional": true,
                          "descr": "read edge direction (default true — the census is a directed\nnotion; `false` reads every edge as mutual, so only 003/102/201/\n300 can be non-zero)"
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto').\n'auto' routes to the GPU only on graphs dense enough that the\nO(n³) trace products beat the CPU's O(Σ deg²) wedge walks."
                        }
                      ],
                      "descr": "`{ directed, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<MotifCensusResult>",
                  "returns": "a promise of `{ counts }` — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.motifCensus({ executor: 'cpu' });\nconst result = await run;\nconsole.log(result.counts['021C']); // 1"
                  ],
                  "throws": [
                    "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
                  ]
                }
              ],
              "returns": "a promise of `{ counts }` — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
              ],
              "src": "src/collection.mts:4619",
              "recipes": []
            },
            {
              "name": "eles.kMeans",
              "descr": "k-means clustering in attribute space. Works on handles and `attributes` accessors rather than on graph structure.",
              "formats": [
                {
                  "descr": "k-means clustering in attribute space. Works on handles and `attributes` accessors rather than on graph structure.\n\nAsync: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker for a named `distance`) picks where the iteration runs; 'cpu' is the reproducible reference. A custom `distance` function is called inside the iteration, so it runs on the calling thread under 'cpu' and 'auto', and 'workers' rejects it.",
                  "args": [
                    {
                      "name": "options",
                      "type": "KClusteringOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "k",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "m",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "sensitivityThreshold",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "distance",
                          "type": "DistanceMetric",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "maxIterations",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "attributes",
                          "type": "KAttributeFn[]",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "testMode",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "testCentroids",
                          "type": "number | FeatureCentroid[] | Collection[] | null",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto')"
                        }
                      ],
                      "descr": "`{ k, attributes, distance, maxIterations, sensitivityThreshold, executor }`, with `attributes` as plain functions"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<Collection<NodeData, EdgeData, NodeData>[]>",
                  "returns": "a promise of one collection per cluster — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.kMeans({ k: 2, attributes: [node => node.data('score')], executor: 'cpu' });\nconst result = await run;\nconsole.log(result.reduce((sum, cluster) => sum + cluster.length, 0)); // 3"
                  ],
                  "throws": [
                    "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment, or `executor: 'workers'` is given a custom `distance` function"
                  ]
                }
              ],
              "returns": "a promise of one collection per cluster — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment, or `executor: 'workers'` is given a custom `distance` function"
              ],
              "src": "src/collection.mts:4648",
              "recipes": []
            },
            {
              "name": "eles.kMedoids",
              "descr": "k-medoids clustering — like k-means, but cluster centres are actual elements, which makes it robust to outliers. Async, with the same `executor` contract as `kMeans`.",
              "formats": [
                {
                  "descr": "k-medoids clustering — like k-means, but cluster centres are actual elements, which makes it robust to outliers. Async, with the same `executor` contract as `kMeans`.",
                  "args": [
                    {
                      "name": "options",
                      "type": "KClusteringOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "k",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "m",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "sensitivityThreshold",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "distance",
                          "type": "DistanceMetric",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "maxIterations",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "attributes",
                          "type": "KAttributeFn[]",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "testMode",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "testCentroids",
                          "type": "number | FeatureCentroid[] | Collection[] | null",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto')"
                        }
                      ],
                      "descr": "as `kMeans`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<Collection<NodeData, EdgeData, NodeData>[]>",
                  "returns": "a promise of one collection per cluster — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.kMedoids({ k: 2, attributes: [node => node.data('score')], executor: 'cpu' });\nconst result = await run;\nconsole.log(result.reduce((sum, cluster) => sum + cluster.length, 0)); // 3"
                  ],
                  "throws": [
                    "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable, if `executor: 'workers'` is given a custom `distance` function, or if `k` exceeds the node count"
                  ]
                }
              ],
              "returns": "a promise of one collection per cluster — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable, if `executor: 'workers'` is given a custom `distance` function, or if `k` exceeds the node count"
              ],
              "src": "src/collection.mts:4671",
              "recipes": []
            },
            {
              "name": "eles.fuzzyCMeans",
              "descr": "Fuzzy c-means clustering: each element gets a degree of membership in every cluster rather than one hard assignment. Async, with the same `executor` contract as `kMeans`.",
              "formats": [
                {
                  "descr": "Fuzzy c-means clustering: each element gets a degree of membership in every cluster rather than one hard assignment. Async, with the same `executor` contract as `kMeans`.",
                  "args": [
                    {
                      "name": "options",
                      "type": "KClusteringOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "k",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "m",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "sensitivityThreshold",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "distance",
                          "type": "DistanceMetric",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "maxIterations",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "attributes",
                          "type": "KAttributeFn[]",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "testMode",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "testCentroids",
                          "type": "number | FeatureCentroid[] | Collection[] | null",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto')"
                        }
                      ],
                      "descr": "as `kMeans`, plus the fuzziness exponent"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<FuzzyCMeansResult>",
                  "returns": "a promise of `{ clusters, degreeOfMembership }` — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.fuzzyCMeans({ k: 2, attributes: [node => node.data('score')], executor: 'cpu' });\nconst result = await run;\nconsole.log(result.clusters.reduce((sum, cluster) => sum + cluster.length, 0)); // 3"
                  ],
                  "throws": [
                    "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment, or `executor: 'workers'` is given a custom `distance` function"
                  ]
                }
              ],
              "pureAliases": [
                "eles.fcm"
              ],
              "returns": "a promise of `{ clusters, degreeOfMembership }` — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment, or `executor: 'workers'` is given a custom `distance` function"
              ],
              "src": "src/collection.mts:4694",
              "recipes": []
            },
            {
              "name": "eles.hierarchicalClustering",
              "descr": "Agglomerative hierarchical clustering. Async: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks where the distance matrix is built; the merge chain itself is sequential and runs with the reference — in-thread, or on the pool worker for a named `distance` and a 'min' / 'max' / 'mean' `linkage`. A custom `distance` function or a per-pair linkage consults the metric inside the run, on the calling thread, and 'workers' rejects them. Threshold mode merges every closest pair at most `threshold` apart, a merge at exactly `threshold` included, as SciPy's `fcluster` and R's `cutree`.",
              "formats": [
                {
                  "descr": "Agglomerative hierarchical clustering. Async: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks where the distance matrix is built; the merge chain itself is sequential and runs with the reference — in-thread, or on the pool worker for a named `distance` and a 'min' / 'max' / 'mean' `linkage`. A custom `distance` function or a per-pair linkage consults the metric inside the run, on the calling thread, and 'workers' rejects them. Threshold mode merges every closest pair at most `threshold` apart, a merge at exactly `threshold` included, as SciPy's `fcluster` and R's `cutree`.",
                  "args": [
                    {
                      "name": "options",
                      "type": "HierarchicalClusteringOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "distance",
                          "type": "DistanceMetric",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "linkage",
                          "type": "string",
                          "optional": true,
                          "descr": "linkage criterion: 'min' (single), 'max' (complete), 'mean', or per-pair"
                        },
                        {
                          "name": "mode",
                          "type": "'threshold' | 'dendrogram'",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "threshold",
                          "type": "number",
                          "optional": true,
                          "descr": "threshold mode merges pairs at most this far apart (default\nInfinity)"
                        },
                        {
                          "name": "addDendrogram",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "dendrogramDepth",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "attributes",
                          "type": "HierarchicalAttributeFn[]",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto')"
                        }
                      ],
                      "descr": "`{ attributes, distance, linkage, mode, threshold, dendrogramDepth, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<Collection<NodeData, EdgeData, NodeData>[]>",
                  "returns": "a promise of one collection per cluster — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.hierarchicalClustering({ attributes: [node => node.data('score')], executor: 'cpu' });\nconst result = await run;\nconsole.log(result.reduce((sum, cluster) => sum + cluster.length, 0)); // 3"
                  ],
                  "throws": [
                    "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment, or `executor: 'workers'` is given a custom `distance` function or a per-pair linkage"
                  ]
                }
              ],
              "pureAliases": [
                "eles.hca"
              ],
              "returns": "a promise of one collection per cluster — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment, or `executor: 'workers'` is given a custom `distance` function or a per-pair linkage"
              ],
              "src": "src/collection.mts:4725",
              "recipes": []
            },
            {
              "name": "eles.markovClustering",
              "descr": "Markov clustering (MCL) — flow simulation over the graph, so unlike the attribute-space algorithms this one clusters by structure.",
              "formats": [
                {
                  "descr": "Markov clustering (MCL) — flow simulation over the graph, so unlike the attribute-space algorithms this one clusters by structure.\n\nAsync: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks where the expand/inflate iteration runs; 'cpu' is the reproducible reference. `maxIterations` defaults to 100 (as Python `markov_clustering` and R `MCL`), and `pruneThreshold` (default 0) drops each inflated matrix's entries under it, keeping each column's largest, as `markov_clustering`'s `pruning_threshold` does.",
                  "args": [
                    {
                      "name": "options",
                      "type": "MarkovClusteringOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "expandFactor",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "inflateFactor",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "multFactor",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "maxIterations",
                          "type": "number",
                          "optional": true,
                          "descr": "the iteration cap (default 100, as Python\n`markov_clustering` and R `MCL`)"
                        },
                        {
                          "name": "pruneThreshold",
                          "type": "number",
                          "optional": true,
                          "descr": "after each inflation, drop entries under this to 0, keeping each\ncolumn's largest (default 0: no pruning) — Python\n`markov_clustering`'s `pruning_threshold`"
                        },
                        {
                          "name": "attributes",
                          "type": "MarkovAttributeFn[]",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto')"
                        }
                      ],
                      "descr": "`{ attributes, expandFactor, inflateFactor, multFactor, maxIterations, pruneThreshold, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<Collection<NodeData, EdgeData, NodeData>[]>",
                  "returns": "a promise of one collection per cluster — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = eles.markovClustering({ executor: 'cpu' });\nconst result = await run;\nconsole.log(result.reduce((sum, cluster) => sum + cluster.length, 0)); // 3"
                  ],
                  "throws": [
                    "if `executor` or `pruneThreshold` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
                  ]
                }
              ],
              "pureAliases": [
                "eles.mcl"
              ],
              "returns": "a promise of one collection per cluster — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor` or `pruneThreshold` is invalid; rejects if `executor: 'gpu'` is unavailable in this environment"
              ],
              "src": "src/collection.mts:4757",
              "recipes": []
            },
            {
              "name": "eles.affinityPropagation",
              "descr": "Affinity propagation, which picks exemplars by message passing and so needs no target cluster count.",
              "formats": [
                {
                  "descr": "Affinity propagation, which picks exemplars by message passing and so needs no target cluster count.\n\nAsync: returns a promise, and `executor` ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker) picks where the message passing runs; 'cpu' is the reproducible reference.",
                  "args": [
                    {
                      "name": "options",
                      "type": "AffinityPropagationOptions",
                      "optional": true,
                      "rest": false,
                      "fields": [
                        {
                          "name": "distance",
                          "type": "DistanceMetric",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "preference",
                          "type": "AffinityPreference",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "damping",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "maxIterations",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "minIterations",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "attributes",
                          "type": "AffinityAttributeFn[]",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "executor",
                          "type": "AlgoExecutor",
                          "optional": true,
                          "descr": "where the run executes; see `AlgoExecutor` (default 'auto')"
                        }
                      ],
                      "descr": "`{ attributes, distance, preference, damping, minIterations, maxIterations, executor }`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AlgoRun<Collection<NodeData, EdgeData, NodeData>[]>",
                  "returns": "a promise of one collection per cluster — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
                  "examples": [
                    "const run = cy.nodes().affinityPropagation({ damping: 0.5, preference: 0, attributes: [node => node.data('score')], executor: 'cpu' });\nconst result = await run;\nconsole.log(result.reduce((sum, cluster) => sum + cluster.length, 0)); // 3"
                  ],
                  "throws": [
                    "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable, or if `damping`/`preference` are invalid"
                  ]
                }
              ],
              "pureAliases": [
                "eles.ap"
              ],
              "returns": "a promise of one collection per cluster — with `cancel()` on it: a pending run rejects with `CancelledError`, a `'cpu'` run has already completed",
              "throws": [
                "if `executor` is invalid; rejects if `executor: 'gpu'` is unavailable, or if `damping`/`preference` are invalid"
              ],
              "src": "src/collection.mts:4785",
              "recipes": []
            }
          ]
        },
        {
          "name": "Degree",
          "banner": "degree",
          "fns": [
            {
              "name": "eles.degree",
              "descr": "The **first** element's total degree, in + out, answered in O(1) off the adjacency index.",
              "formats": [
                {
                  "descr": "The **first** element's total degree, in + out, answered in O(1) off the adjacency index.\n\nThis is a singular accessor — it reports one node's degree, not a collection-wide figure.  For the sum over the whole collection use `totalDegree()`.",
                  "args": [
                    {
                      "name": "includeLoops",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "default": "true",
                      "fields": [],
                      "descr": "whether self-loops count (each contributes 2)"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the degree, or undefined when the first element is not a live node",
                  "examples": [
                    "console.log(eles.degree()); // 1"
                  ],
                  "throws": []
                }
              ],
              "returns": "the degree, or undefined when the first element is not a live node",
              "src": "src/collection.mts:4813",
              "recipes": []
            },
            {
              "name": "eles.outdegree",
              "descr": "The first element's out-degree, in O(1).  Singular, like `degree()`.",
              "formats": [
                {
                  "descr": "The first element's out-degree, in O(1).  Singular, like `degree()`.",
                  "args": [
                    {
                      "name": "includeLoops",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "default": "true",
                      "fields": [],
                      "descr": "whether self-loops count"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the out-degree, or undefined when not a live node",
                  "examples": [
                    "console.log(eles.outdegree()); // 1"
                  ],
                  "throws": []
                }
              ],
              "returns": "the out-degree, or undefined when not a live node",
              "src": "src/collection.mts:4830",
              "recipes": []
            },
            {
              "name": "eles.indegree",
              "descr": "The first element's in-degree, in O(1).  Singular, like `degree()`.",
              "formats": [
                {
                  "descr": "The first element's in-degree, in O(1).  Singular, like `degree()`.",
                  "args": [
                    {
                      "name": "includeLoops",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "default": "true",
                      "fields": [],
                      "descr": "whether self-loops count"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the in-degree, or undefined when not a live node",
                  "examples": [
                    "console.log(eles.indegree()); // 0"
                  ],
                  "throws": []
                }
              ],
              "returns": "the in-degree, or undefined when not a live node",
              "src": "src/collection.mts:4848",
              "recipes": []
            },
            {
              "name": "eles.minDegree",
              "descr": "The smallest total degree among the collection's nodes.",
              "formats": [
                {
                  "descr": "The smallest total degree among the collection's nodes.",
                  "args": [
                    {
                      "name": "includeLoops",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "default": "true",
                      "fields": [],
                      "descr": "whether self-loops count"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the minimum degree, or undefined when there are no nodes",
                  "examples": [
                    "console.log(eles.minDegree()); // 1"
                  ],
                  "throws": []
                }
              ],
              "returns": "the minimum degree, or undefined when there are no nodes",
              "src": "src/collection.mts:4866",
              "recipes": []
            },
            {
              "name": "eles.maxDegree",
              "descr": "The largest total degree among the collection's nodes.",
              "formats": [
                {
                  "descr": "The largest total degree among the collection's nodes.",
                  "args": [
                    {
                      "name": "includeLoops",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "default": "true",
                      "fields": [],
                      "descr": "whether self-loops count"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the maximum degree, or undefined when there are no nodes",
                  "examples": [
                    "console.log(eles.maxDegree()); // 2"
                  ],
                  "throws": []
                }
              ],
              "returns": "the maximum degree, or undefined when there are no nodes",
              "src": "src/collection.mts:4879",
              "recipes": []
            },
            {
              "name": "eles.minIndegree",
              "descr": "The smallest in-degree among the collection's nodes.",
              "formats": [
                {
                  "descr": "The smallest in-degree among the collection's nodes.",
                  "args": [
                    {
                      "name": "includeLoops",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "default": "true",
                      "fields": [],
                      "descr": "whether self-loops count"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the minimum in-degree, or undefined when there are no nodes",
                  "examples": [
                    "console.log(eles.minIndegree()); // 0"
                  ],
                  "throws": []
                }
              ],
              "returns": "the minimum in-degree, or undefined when there are no nodes",
              "src": "src/collection.mts:4892",
              "recipes": []
            },
            {
              "name": "eles.maxIndegree",
              "descr": "The largest in-degree among the collection's nodes.",
              "formats": [
                {
                  "descr": "The largest in-degree among the collection's nodes.",
                  "args": [
                    {
                      "name": "includeLoops",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "default": "true",
                      "fields": [],
                      "descr": "whether self-loops count"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the maximum in-degree, or undefined when there are no nodes",
                  "examples": [
                    "console.log(eles.maxIndegree()); // 1"
                  ],
                  "throws": []
                }
              ],
              "returns": "the maximum in-degree, or undefined when there are no nodes",
              "src": "src/collection.mts:4905",
              "recipes": []
            },
            {
              "name": "eles.minOutdegree",
              "descr": "The smallest out-degree among the collection's nodes.",
              "formats": [
                {
                  "descr": "The smallest out-degree among the collection's nodes.",
                  "args": [
                    {
                      "name": "includeLoops",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "default": "true",
                      "fields": [],
                      "descr": "whether self-loops count"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the minimum out-degree, or undefined when there are no nodes",
                  "examples": [
                    "console.log(eles.minOutdegree()); // 0"
                  ],
                  "throws": []
                }
              ],
              "returns": "the minimum out-degree, or undefined when there are no nodes",
              "src": "src/collection.mts:4919",
              "recipes": []
            },
            {
              "name": "eles.maxOutdegree",
              "descr": "The largest out-degree among the collection's nodes.",
              "formats": [
                {
                  "descr": "The largest out-degree among the collection's nodes.",
                  "args": [
                    {
                      "name": "includeLoops",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "default": "true",
                      "fields": [],
                      "descr": "whether self-loops count"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number | undefined",
                  "returns": "the maximum out-degree, or undefined when there are no nodes",
                  "examples": [
                    "console.log(eles.maxOutdegree()); // 1"
                  ],
                  "throws": []
                }
              ],
              "returns": "the maximum out-degree, or undefined when there are no nodes",
              "src": "src/collection.mts:4933",
              "recipes": []
            },
            {
              "name": "eles.totalDegree",
              "descr": "The summed degree of every node in the collection — the whole-collection figure that `degree()` deliberately is not.",
              "formats": [
                {
                  "descr": "The summed degree of every node in the collection — the whole-collection figure that `degree()` deliberately is not.",
                  "args": [
                    {
                      "name": "includeLoops",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "default": "true",
                      "fields": [],
                      "descr": "whether self-loops count"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the total degree (0 when there are no nodes)",
                  "examples": [
                    "console.log(eles.totalDegree()); // 4"
                  ],
                  "throws": []
                }
              ],
              "returns": "the total degree (0 when there are no nodes)",
              "src": "src/collection.mts:4947",
              "recipes": []
            }
          ]
        },
        {
          "name": "Events",
          "banner": "events",
          "fns": [
            {
              "name": "eles.on",
              "descr": "Listen for events on each element of this collection. The handler is bound per element, and keeps firing across slot compaction — listeners repair with their elements rather than going stale.",
              "formats": [
                {
                  "descr": "Listen for events on each element of this collection. The handler is bound per element, and keeps firing across slot compaction — listeners repair with their elements rather than going stale.\n\nEvents bubble from an element through its compound ancestors to the core, with `stopPropagation()` honoured.\n\n**Any name registers**, as on the core and for the same reason — custom events are supported API (`ele.emit( 'foo')`), so names cannot be gated. A name the library never emits fires only when your application emits it. Names match literally: `'data.ns'` is distinct from `'data'`. Raw mouse/touch names and `vmouse*` aliases are not emitted by the library. See `Core#on`.",
                  "args": [
                    {
                      "name": "events",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "one or more space-separated event names"
                    },
                    {
                      "name": "callback",
                      "type": "EventHandler<NodeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the handler"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "const seen = [];\nconst handler = event => seen.push(event.type);\ncy.getElementById('a').on('example', handler);\ncy.getElementById('a').emit('example');\ncy.getElementById('a').off('example', handler);\nconsole.log(seen); // ['example']"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.addListener"
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:4980",
              "recipes": []
            },
            {
              "name": "eles.one",
              "descr": "Like `on()`, but each element's handler runs at most once.",
              "formats": [
                {
                  "descr": "Like `on()`, but each element's handler runs at most once.",
                  "args": [
                    {
                      "name": "events",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "one or more space-separated event names"
                    },
                    {
                      "name": "callback",
                      "type": "EventHandler<NodeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the handler"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "let count = 0;\ncy.getElementById('a').one('example', () => count++);\ncy.getElementById('a').emit('example');\ncy.getElementById('a').emit('example');\nconsole.log(count); // 1"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.once"
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:5004",
              "recipes": []
            },
            {
              "name": "eles.off",
              "descr": "Stop listening on each element of this collection.",
              "formats": [
                {
                  "descr": "Stop listening on each element of this collection.",
                  "args": [
                    {
                      "name": "events",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "one or more space-separated event names"
                    },
                    {
                      "name": "callback",
                      "type": "EventHandler<NodeData, EdgeData>",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the handler to remove; omit to remove every handler these elements have for `events`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "let count = 0;\nconst handler = () => count++;\ncy.getElementById('a').on('example', handler);\ncy.getElementById('a').off('example', handler);\ncy.getElementById('a').emit('example');\nconsole.log(count); // 0"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.removeListener"
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:5030",
              "recipes": []
            },
            {
              "name": "eles.emit",
              "descr": "Emit an event on each element, bubbling through compound ancestors to the core.",
              "formats": [
                {
                  "descr": "Emit an event on each element, bubbling through compound ancestors to the core.",
                  "args": [
                    {
                      "name": "events",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "one or more space-separated event names"
                    },
                    {
                      "name": "extraParams",
                      "type": "unknown[]",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "extra arguments passed to each handler after the event object"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this collection, for chaining",
                  "examples": [
                    "cy.getElementById('a').one('example', event => console.log(event.type)); // \"example\"\ncy.getElementById('a').emit('example'); // logs 'example'"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.trigger"
              ],
              "returns": "this collection, for chaining",
              "src": "src/collection.mts:5053",
              "recipes": [
                {
                  "title": "attach and remove a delegated listener",
                  "url": "/docs/recipes/#recipes/attach-and-remove-a-delegated-listener"
                }
              ]
            },
            {
              "name": "eles.promiseOn",
              "descr": "Resolve once the next matching event fires on any element of this collection — the promise form of `one()`.",
              "formats": [
                {
                  "descr": "Resolve once the next matching event fires on any element of this collection — the promise form of `one()`.",
                  "args": [
                    {
                      "name": "events",
                      "type": "string",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "one or more space-separated event names"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Promise<Event<NodeData, EdgeData>>",
                  "returns": "a promise for the event object",
                  "examples": [
                    "const next = cy.getElementById('a').promiseOn('example');\ncy.getElementById('a').emit('example');\nconsole.log((await next).type); // 'example'"
                  ],
                  "throws": []
                }
              ],
              "pureAliases": [
                "eles.pon"
              ],
              "returns": "a promise for the event object",
              "src": "src/collection.mts:5080",
              "recipes": []
            }
          ]
        }
      ]
    },
    {
      "name": "Animation",
      "prefix": "ani",
      "sections": [
        {
          "name": "General",
          "banner": "general",
          "fns": [
            {
              "name": "ani.play",
              "descr": "Start immediately.",
              "formats": [
                {
                  "descr": "Start immediately.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Promise<void>",
                  "returns": "resolves when the animation completes (or is stopped)",
                  "examples": [
                    "await ani.play();\nconsole.log(ani.progress()); // 1"
                  ],
                  "throws": []
                }
              ],
              "returns": "resolves when the animation completes (or is stopped)",
              "src": "src/animation/handle.mts:58",
              "recipes": []
            },
            {
              "name": "ani.stop",
              "descr": "Stop in place, or at the targets with `jumpToEnd` — the whole animation, whatever elements it spans. Through the manager, so a GPU-driven one releases its batch.",
              "formats": [
                {
                  "descr": "Stop in place, or at the targets with `jumpToEnd` — the whole animation, whatever elements it spans. Through the manager, so a GPU-driven one releases its batch.",
                  "args": [
                    {
                      "name": "jumpToEnd",
                      "type": "boolean",
                      "optional": true,
                      "rest": false,
                      "default": "false",
                      "fields": [],
                      "descr": "apply the final values instead of freezing"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "void",
                  "returns": null,
                  "examples": [
                    "ani.play();\nani.stop(true);\nconsole.log(ani.playing()); // false"
                  ],
                  "throws": []
                }
              ],
              "src": "src/animation/handle.mts:75",
              "recipes": []
            },
            {
              "name": "ani.promise",
              "descr": "The completion promise.",
              "formats": [
                {
                  "descr": "The completion promise.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Promise<void>",
                  "returns": "resolves when the animation completes (or is stopped)",
                  "examples": [
                    "ani.play();\nawait ani.promise();\nconsole.log(ani.progress()); // 1"
                  ],
                  "throws": []
                }
              ],
              "returns": "resolves when the animation completes (or is stopped)",
              "src": "src/animation/handle.mts:87",
              "recipes": []
            },
            {
              "name": "ani.playing",
              "descr": "Whether the animation is running and not paused.",
              "formats": [
                {
                  "descr": "Whether the animation is running and not paused.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true while playing",
                  "examples": [
                    "console.log(ani.playing()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true while playing",
              "src": "src/animation/handle.mts:98",
              "recipes": []
            },
            {
              "name": "ani.pause",
              "descr": "Pause: freeze in place; the paused span leaves the timeline.",
              "formats": [
                {
                  "descr": "Pause: freeze in place; the paused span leaves the timeline.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AnimationHandle",
                  "returns": "this handle, for chaining",
                  "examples": [
                    "ani.play();\nani.pause();\nconsole.log(ani.paused()); // true\nani.stop();"
                  ],
                  "throws": []
                }
              ],
              "returns": "this handle, for chaining",
              "src": "src/animation/handle.mts:111",
              "recipes": []
            },
            {
              "name": "ani.resume",
              "descr": "Resume a paused animation with the clock shifted.",
              "formats": [
                {
                  "descr": "Resume a paused animation with the clock shifted.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AnimationHandle",
                  "returns": "this handle, for chaining",
                  "examples": [
                    "ani.play();\nani.pause();\nani.resume();\nawait ani.promise();\nconsole.log(ani.progress()); // 1"
                  ],
                  "throws": []
                }
              ],
              "returns": "this handle, for chaining",
              "src": "src/animation/handle.mts:127",
              "recipes": []
            },
            {
              "name": "ani.reverse",
              "descr": "Swap the tween's ends with elapsed remapped.",
              "formats": [
                {
                  "descr": "Swap the tween's ends with elapsed remapped.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "AnimationHandle",
                  "returns": "this handle, for chaining",
                  "examples": [
                    "ani.reverse();\nawait ani.play();\nconsole.log(ani.playing()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "this handle, for chaining",
              "src": "src/animation/handle.mts:141",
              "recipes": []
            },
            {
              "name": "ani.progress",
              "descr": "Elapsed fraction of the duration (read-only — no scrubbing).",
              "formats": [
                {
                  "descr": "Elapsed fraction of the duration (read-only — no scrubbing).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the fraction in [0, 1]",
                  "examples": [
                    "console.log(ani.progress()); // 0"
                  ],
                  "throws": []
                }
              ],
              "returns": "the fraction in [0, 1]",
              "src": "src/animation/handle.mts:154",
              "recipes": []
            },
            {
              "name": "ani.paused",
              "descr": "Whether the animation is paused.",
              "formats": [
                {
                  "descr": "Whether the animation is paused.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": "true while paused",
                  "examples": [
                    "console.log(ani.paused()); // false"
                  ],
                  "throws": []
                }
              ],
              "returns": "true while paused",
              "src": "src/animation/handle.mts:165",
              "recipes": []
            }
          ]
        }
      ]
    },
    {
      "name": "Layout context",
      "prefix": "ctx",
      "sections": [
        {
          "name": "Scope",
          "banner": "scope",
          "fns": [
            {
              "name": "ctx.cy",
              "descr": "the core being laid out",
              "formats": [
                {
                  "descr": "the core being laid out",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "Core",
                  "returns": null,
                  "examples": [
                    "cy.layout({ impl: { run(ctx) {\n  console.log(ctx.cy === cy); // true\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "src": "src/layout/contract.mts:79",
              "recipes": []
            },
            {
              "name": "ctx.options",
              "descr": "the resolved layout options (custom knobs included)",
              "formats": [
                {
                  "descr": "the resolved layout options (custom knobs included)",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "CustomLayoutOptions",
                  "returns": null,
                  "examples": [
                    "cy.layout({ impl: { run(ctx) {\n  console.log(!!ctx.options.impl); // true\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "src": "src/layout/contract.mts:88",
              "recipes": []
            },
            {
              "name": "ctx.eles",
              "descr": "The elements included in this layout. For `eles.layout()`, this is the supplied collection; for `cy.layout()`, it is the whole graph. The collection is created on first access and cached for this run.",
              "formats": [
                {
                  "descr": "The elements included in this layout. For `eles.layout()`, this is the supplied collection; for `cy.layout()`, it is the whole graph. The collection is created on first access and cached for this run.",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "Collection",
                  "returns": "the collection of elements being laid out",
                  "examples": [
                    "// Inside a custom layout, ctx is supplied by the library.\ncy.layout({ impl: { run(ctx) {\n  console.log(ctx.eles.map(ele => ele.id())); // [\"a\",\"b\",\"c\",\"ab\",\"bc\"]\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "returns": "the collection of elements being laid out",
              "src": "src/layout/contract.mts:105",
              "recipes": []
            },
            {
              "name": "ctx.nodes",
              "descr": "The scope's node handles (lazy — see `eles`).",
              "formats": [
                {
                  "descr": "The scope's node handles (lazy — see `eles`).",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "Collection",
                  "returns": "the node subset of `eles`, *unfiltered* — unlike `nodeSlots()`, this keeps locked nodes and compound parents, so a layout iterating it must apply its own rules",
                  "examples": [
                    "// Inside a custom layout, ctx is supplied by the library.\ncy.layout({ impl: { run(ctx) {\n  console.log(ctx.nodes.map(ele => ele.id())); // [\"a\",\"b\",\"c\"]\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "returns": "the node subset of `eles`, *unfiltered* — unlike `nodeSlots()`, this keeps locked nodes and compound parents, so a layout iterating it must apply its own rules",
              "src": "src/layout/contract.mts:123",
              "recipes": []
            },
            {
              "name": "ctx.refreshScope",
              "descr": "Drop the cached scope so the next `eles` / `nodes` read the graph as it now is (118.3): a whole-graph scope is materialized once per run, and a force layout's `infinite` run rebuilds its sim on an add or remove.  A subset scope (`eles.layout()`) is the caller's collection and stays what it was.",
              "formats": [
                {
                  "descr": "Drop the cached scope so the next `eles` / `nodes` read the graph as it now is (118.3): a whole-graph scope is materialized once per run, and a force layout's `infinite` run rebuilds its sim on an add or remove.  A subset scope (`eles.layout()`) is the caller's collection and stays what it was.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "void",
                  "returns": null,
                  "examples": [
                    "cy.layout({ impl: { run(ctx) {\n  cy.add({ data: { id: 'd' } });\n  ctx.refreshScope();\n  console.log(ctx.nodes.length); // 4\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "src": "src/layout/contract.mts:141",
              "recipes": []
            }
          ]
        },
        {
          "name": "Columnar reads",
          "banner": "columnar reads",
          "fns": [
            {
              "name": "ctx.nodeSlots",
              "descr": "The slots to lay out: the scope's unlocked leaves, plus a collapsed parent when no scoped node lies below it. Locked nodes hold their place; parents with scoped descendants derive from those descendants. Scope order.",
              "formats": [
                {
                  "descr": "The slots to lay out: the scope's unlocked leaves, plus a collapsed parent when no scoped node lies below it. Locked nodes hold their place; parents with scoped descendants derive from those descendants. Scope order.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number[]",
                  "returns": "the slots to place, in exactly `cy.nodes()` order — which is load-bearing rather than incidental, since grid and circle assign positions by index, so a different enumeration order is a different layout",
                  "examples": [
                    "// Inside a custom layout, ctx is supplied by the library.\ncy.layout({ impl: { run(ctx) {\n  console.log(ctx.nodeSlots()); // [0, 1, 2]\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "returns": "the slots to place, in exactly `cy.nodes()` order — which is load-bearing rather than incidental, since grid and circle assign positions by index, so a different enumeration order is a different layout",
              "src": "src/layout/contract.mts:191",
              "recipes": []
            },
            {
              "name": "ctx.edgeSlots",
              "descr": "The scope's edge slots.",
              "formats": [
                {
                  "descr": "The scope's edge slots.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number[]",
                  "returns": "every live edge of the scope in `cy.edges()` order, with no filtering — the counterpart of `nodeSlots()`, which does filter",
                  "examples": [
                    "// Inside a custom layout, ctx is supplied by the library.\ncy.layout({ impl: { run(ctx) {\n  console.log(ctx.edgeSlots()); // [0, 1]\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "returns": "every live edge of the scope in `cy.edges()` order, with no filtering — the counterpart of `nodeSlots()`, which does filter",
              "src": "src/layout/contract.mts:251",
              "recipes": []
            },
            {
              "name": "ctx.positions",
              "descr": "The live position column (x,y interleaved by slot) — read it, write through `setPositions`.",
              "formats": [
                {
                  "descr": "The live position column (x,y interleaved by slot) — read it, write through `setPositions`.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Float32Array",
                  "returns": "the store's own column, not a copy: it changes underneath a held reference as positions are written, and writing into it directly bypasses the dirty tracking the renderer depends on",
                  "examples": [
                    "cy.layout({ impl: { run(ctx) {\n  const b = ctx.nodeSlots()[1];\n  console.log(ctx.positions()[b * 2]); // 50\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "returns": "the store's own column, not a copy: it changes underneath a held reference as positions are written, and writing into it directly bypasses the dirty tracking the renderer depends on",
              "src": "src/layout/contract.mts:283",
              "recipes": []
            },
            {
              "name": "ctx.endpoints",
              "descr": "The live edge endpoint column (source,target node slots).",
              "formats": [
                {
                  "descr": "The live edge endpoint column (source,target node slots).",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Uint32Array",
                  "returns": "the store's own column, indexed by edge slot — node *slots*, not ids, so it pairs directly with `positions()` without a lookup",
                  "examples": [
                    "cy.layout({ impl: { run(ctx) {\n  console.log(ctx.endpoints()[0]); // 0\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "returns": "the store's own column, indexed by edge slot — node *slots*, not ids, so it pairs directly with `positions()` without a lookup",
              "src": "src/layout/contract.mts:298",
              "recipes": []
            },
            {
              "name": "ctx.degreeOf",
              "descr": "O(1) degree off the CSR adjacency.",
              "formats": [
                {
                  "descr": "O(1) degree off the CSR adjacency.",
                  "args": [
                    {
                      "name": "slot",
                      "type": "number",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "a node slot, as handed out by `nodeSlots()`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "its whole-graph degree, loops counted twice",
                  "examples": [
                    "// Inside a custom layout, ctx is supplied by the library.\ncy.layout({ impl: { run(ctx) {\n  const slots = ctx.nodeSlots();\n  console.log(ctx.degreeOf(slots[0])); // 1\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "returns": "its whole-graph degree, loops counted twice",
              "src": "src/layout/contract.mts:315",
              "recipes": []
            },
            {
              "name": "ctx.nodeDimensions",
              "descr": "The layout boxes of the scope's nodes: slot-parallel node-local extents read off the size, border and label columns — the one reading every built-in spaces by. Labels are included when the run's `nodeDimensionsIncludeLabels` is `true` (default false), making the box asymmetric when a label hangs below the body; take `max( -y1, y2)` for a symmetric half. Headless label dimensions are estimates (16.4), exact once a renderer has laid the glyphs.",
              "formats": [
                {
                  "descr": "The layout boxes of the scope's nodes: slot-parallel node-local extents read off the size, border and label columns — the one reading every built-in spaces by. Labels are included when the run's `nodeDimensionsIncludeLabels` is `true` (default false), making the box asymmetric when a label hangs below the body; take `max( -y1, y2)` for a symmetric half. Headless label dimensions are estimates (16.4), exact once a renderer has laid the glyphs.",
                  "args": [
                    {
                      "name": "slots",
                      "type": "ArrayLike<number>",
                      "optional": true,
                      "rest": false,
                      "default": "this.nodeSlots()",
                      "fields": [],
                      "descr": "the node slots to measure (default `nodeSlots()`)"
                    },
                    {
                      "name": "options",
                      "type": "DimsOptions",
                      "optional": true,
                      "rest": false,
                      "default": "{}",
                      "fields": [
                        {
                          "name": "includeLabels",
                          "type": "boolean",
                          "optional": true,
                          "descr": "union the label box into each node's box (default true here; the\nlayouts pass their `nodeDimensionsIncludeLabels`, default false)"
                        },
                        {
                          "name": "padding",
                          "type": "number",
                          "optional": true,
                          "descr": "extra room around every node, split half per side (default 0)"
                        }
                      ],
                      "descr": "`includeLabels` (default: the run's option, itself defaulting to false) and `padding` (split half per side)"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "LayoutNodeDims",
                  "returns": "the boxes, parallel to `slots`",
                  "examples": [
                    "cy.layout({ impl: { run(ctx) {\n  console.log(ctx.nodeDimensions().n); // 3\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "returns": "the boxes, parallel to `slots`",
              "src": "src/layout/contract.mts:340",
              "recipes": []
            }
          ]
        },
        {
          "name": "Bounds",
          "banner": "bounds",
          "fns": [
            {
              "name": "ctx.boundingBox",
              "descr": "The scope's current bounding box, labels included.",
              "formats": [
                {
                  "descr": "The scope's current bounding box, labels included.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "ReturnType<Collection['boundingBox']>",
                  "returns": "`{ x1, y1, x2, y2, w, h }` in model coordinates",
                  "examples": [
                    "cy.layout({ impl: { run(ctx) {\n  console.log(ctx.boundingBox().w); // 130\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "returns": "`{ x1, y1, x2, y2, w, h }` in model coordinates",
              "src": "src/layout/contract.mts:364",
              "recipes": []
            },
            {
              "name": "ctx.width",
              "descr": "The viewport width in CSS px — what a layout sizing itself to the screen should use.  Headless instances report the configured headless width, so a layout still works without a DOM.",
              "formats": [
                {
                  "descr": "The viewport width in CSS px — what a layout sizing itself to the screen should use.  Headless instances report the configured headless width, so a layout still works without a DOM.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the viewport width",
                  "examples": [
                    "// Inside a custom layout, ctx is supplied by the library.\ncy.layout({ impl: { run(ctx) {\n  console.log(ctx.width()); // 800\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "returns": "the viewport width",
              "src": "src/layout/contract.mts:381",
              "recipes": []
            },
            {
              "name": "ctx.height",
              "descr": "The viewport height in CSS px.",
              "formats": [
                {
                  "descr": "The viewport height in CSS px.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": "the viewport height",
                  "examples": [
                    "// Inside a custom layout, ctx is supplied by the library.\ncy.layout({ impl: { run(ctx) {\n  console.log(ctx.height()); // 600\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "returns": "the viewport height",
              "src": "src/layout/contract.mts:396",
              "recipes": []
            }
          ]
        },
        {
          "name": "Writing positions",
          "banner": "writing positions",
          "fns": [
            {
              "name": "ctx.setPositions",
              "descr": "Write model-space coordinates for the supplied node slots. For each index `i`, `xy[i * 2]` and `xy[i * 2 + 1]` are the x and y values for `slots[i]`. Use this helper to keep rendering and compound bounds up to date.",
              "formats": [
                {
                  "descr": "Write model-space coordinates for the supplied node slots. For each index `i`, `xy[i * 2]` and `xy[i * 2 + 1]` are the x and y values for `slots[i]`. Use this helper to keep rendering and compound bounds up to date.",
                  "args": [
                    {
                      "name": "slots",
                      "type": "number[]",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the node slots to move"
                    },
                    {
                      "name": "xy",
                      "type": "number[] | Float32Array",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the packed positions: `xy[i*2]`, `xy[i*2+1]` land on `slots[i]`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "void",
                  "returns": null,
                  "examples": [
                    "// Inside a custom layout, ctx is supplied by the library.\ncy.layout({ impl: { run(ctx) {\n  const slots = Array.from(ctx.nodeSlots());\n  ctx.setPositions(slots, slots.flatMap((slot, i) => [i * 40, 0]));\n} } }).run();\nconsole.log(cy.getElementById('b').position('x')); // 40"
                  ],
                  "throws": []
                }
              ],
              "src": "src/layout/contract.mts:420",
              "recipes": []
            },
            {
              "name": "ctx.components",
              "descr": "The scope's connected components over `nodeSlots()` (* factored out of `packComponents` for layouts that pack their own arrays): union-find over the scope's own edges — an edge with an endpoint outside the scope connects nothing here — indexed by position in `nodeSlots()`.",
              "formats": [
                {
                  "descr": "The scope's connected components over `nodeSlots()` (* factored out of `packComponents` for layouts that pack their own arrays): union-find over the scope's own edges — an edge with an endpoint outside the scope connects nothing here — indexed by position in `nodeSlots()`.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Components",
                  "returns": "the component assignment, ids in first-seen node order",
                  "examples": [
                    "cy.layout({ impl: { run(ctx) {\n  console.log(ctx.components().count); // 1\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "returns": "the component assignment, ids in first-seen node order",
              "src": "src/layout/contract.mts:437",
              "recipes": []
            },
            {
              "name": "ctx.packComponents",
              "descr": "Separate the scope's disconnected components: a one-call, translation-only post-pass. Per-component bounding boxes at the current positions are shelf-packed largest-first with `spacing` between them, every member translated with its component, and the largest component's centre held fixed — the dominant structure keeps its place and the strays come to it.",
              "formats": [
                {
                  "descr": "Separate the scope's disconnected components: a one-call, translation-only post-pass. Per-component bounding boxes at the current positions are shelf-packed largest-first with `spacing` between them, every member translated with its component, and the largest component's centre held fixed — the dominant structure keeps its place and the strays come to it.\n\nThe boxes are **body** boxes (`nodeDimensions()`, labels included by the run's option), so two singleton components end up `spacing` apart edge to edge rather than centre to centre; `bodies: false` restores the 87.1 point boxes.\n\nComponents are computed over the scope's own edges (an edge with an endpoint outside the scope connects nothing here), and only the `nodeSlots()` nodes move — a locked node neither moves nor holds its component in place, so a scope mixing locked and unlocked members of one component can separate them. The write lands through `setPositions` (one dirty span).",
                  "args": [
                    {
                      "name": "spacing",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "default": "40",
                      "fields": [],
                      "descr": "the gap between packed component boxes (default 40, the force layout's `componentSpacing` default)"
                    },
                    {
                      "name": "options",
                      "type": "{ bodies?: boolean; includeLabels?: boolean; positions?: Float32Array | Float64Array; }",
                      "optional": true,
                      "rest": false,
                      "default": "{}",
                      "fields": [
                        {
                          "name": "bodies",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "includeLabels",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "positions",
                          "type": "Float32Array | Float64Array",
                          "optional": true,
                          "descr": ""
                        }
                      ],
                      "descr": "`bodies` (default true) packs the nodes' boxes rather than their positions; `includeLabels` overrides the run's `nodeDimensionsIncludeLabels` for those boxes; `positions` packs that array (2n, parallel to `nodeSlots()`) in place instead of the store — for a layout that lands through `finish()` and must not write positions before the tween starts"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "void",
                  "returns": null,
                  "examples": [
                    "cy.layout({ impl: { run(ctx) {\n  ctx.packComponents(20);\n  console.log(ctx.components().count); // 1\n} } }).run();"
                  ],
                  "throws": []
                }
              ],
              "src": "src/layout/contract.mts:498",
              "recipes": []
            },
            {
              "name": "ctx.layoutPositions",
              "descr": "The discrete layout finisher over the scope — spacingFactor, transform, animate (with the fit-at-final-positions viewport animation), fit/zoom/pan, and the layoutready/layoutstop events. The wrapper's layoutstart covers the start (no double emit).",
              "formats": [
                {
                  "descr": "The discrete layout finisher over the scope — spacingFactor, transform, animate (with the fit-at-final-positions viewport animation), fit/zoom/pan, and the layoutready/layoutstop events. The wrapper's layoutstart covers the start (no double emit).",
                  "args": [
                    {
                      "name": "fn",
                      "type": "(node: Collection, i: number) => Position",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "called per scoped node with the node and its index, returning the model position to place it at"
                    },
                    {
                      "name": "overrides",
                      "type": "LayoutBaseOptions",
                      "optional": true,
                      "rest": false,
                      "default": "{}",
                      "fields": [
                        {
                          "name": "eles",
                          "type": "unknown",
                          "optional": true,
                          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
                        },
                        {
                          "name": "fit",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "padding",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "boundingBox",
                          "type": "BoundingBoxInput",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "nodeDimensionsIncludeLabels",
                          "type": "boolean",
                          "optional": true,
                          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
                        },
                        {
                          "name": "spacingFactor",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "transform",
                          "type": "(node: unknown, position: Position) => Position",
                          "optional": true,
                          "descr": "transform a computed position (e.g. to flip an axis)"
                        },
                        {
                          "name": "animate",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether to animate node positions into place"
                        },
                        {
                          "name": "animationDuration",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "animationEasing",
                          "type": "string",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "animateFilter",
                          "type": "(node: unknown, i: number) => boolean",
                          "optional": true,
                          "descr": "which nodes animate (others jump); all by default"
                        },
                        {
                          "name": "ready",
                          "type": "() => void",
                          "optional": true,
                          "descr": "callback on layoutready"
                        },
                        {
                          "name": "stop",
                          "type": "() => void",
                          "optional": true,
                          "descr": "callback on layoutstop"
                        },
                        {
                          "name": "zoom",
                          "type": "number",
                          "optional": true,
                          "descr": "zoom to set when fit is false"
                        },
                        {
                          "name": "pan",
                          "type": "Position",
                          "optional": true,
                          "descr": "pan to set when fit is false"
                        }
                      ],
                      "descr": "an impl's own defaults, merged over the run's options Shared options apply consistently to built-in and custom layouts. `ready` and `stop` are never overridden — the wrapper's `stop` is what resolves `promise()`"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "void",
                  "returns": null,
                  "examples": [
                    "// Inside a custom layout, ctx is supplied by the library.\ncy.layout({ impl: { run(ctx) {\n  ctx.layoutPositions((node, i) => ({ x: i * 40, y: 0 }), { fit: false });\n} } }).run();\nconsole.log(cy.getElementById('b').position('x')); // 40"
                  ],
                  "throws": []
                }
              ],
              "src": "src/layout/contract.mts:572",
              "recipes": []
            },
            {
              "name": "ctx.finish",
              "descr": "Land computed positions the way a built-in does: the finisher when the run asks for anything it owns — `animate`, `animateFilter`, `transform`, `spacingFactor` — and otherwise the bulk slot write followed by fit / zoom / pan. One rule for flow, force and any extension that computes into an array.",
              "formats": [
                {
                  "descr": "Land computed positions the way a built-in does: the finisher when the run asks for anything it owns — `animate`, `animateFilter`, `transform`, `spacingFactor` — and otherwise the bulk slot write followed by fit / zoom / pan. One rule for flow, force and any extension that computes into an array.",
                  "args": [
                    {
                      "name": "slots",
                      "type": "number[]",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the node slots the positions land on"
                    },
                    {
                      "name": "xy",
                      "type": "ArrayLike<number>",
                      "optional": false,
                      "rest": false,
                      "fields": [],
                      "descr": "the packed positions: `xy[i*2]`, `xy[i*2+1]` for `slots[i]`"
                    },
                    {
                      "name": "overrides",
                      "type": "LayoutBaseOptions",
                      "optional": true,
                      "rest": false,
                      "default": "{}",
                      "fields": [
                        {
                          "name": "eles",
                          "type": "unknown",
                          "optional": true,
                          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
                        },
                        {
                          "name": "fit",
                          "type": "boolean",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "padding",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "boundingBox",
                          "type": "BoundingBoxInput",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "nodeDimensionsIncludeLabels",
                          "type": "boolean",
                          "optional": true,
                          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
                        },
                        {
                          "name": "spacingFactor",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "transform",
                          "type": "(node: unknown, position: Position) => Position",
                          "optional": true,
                          "descr": "transform a computed position (e.g. to flip an axis)"
                        },
                        {
                          "name": "animate",
                          "type": "boolean",
                          "optional": true,
                          "descr": "whether to animate node positions into place"
                        },
                        {
                          "name": "animationDuration",
                          "type": "number",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "animationEasing",
                          "type": "string",
                          "optional": true,
                          "descr": ""
                        },
                        {
                          "name": "animateFilter",
                          "type": "(node: unknown, i: number) => boolean",
                          "optional": true,
                          "descr": "which nodes animate (others jump); all by default"
                        },
                        {
                          "name": "ready",
                          "type": "() => void",
                          "optional": true,
                          "descr": "callback on layoutready"
                        },
                        {
                          "name": "stop",
                          "type": "() => void",
                          "optional": true,
                          "descr": "callback on layoutstop"
                        },
                        {
                          "name": "zoom",
                          "type": "number",
                          "optional": true,
                          "descr": "zoom to set when fit is false"
                        },
                        {
                          "name": "pan",
                          "type": "Position",
                          "optional": true,
                          "descr": "pan to set when fit is false"
                        }
                      ],
                      "descr": "the impl's defaults, merged as `layoutPositions` merges them"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "void",
                  "returns": null,
                  "examples": [
                    "// Inside a custom layout, ctx is supplied by the library.\ncy.layout({ impl: { run(ctx) {\n  const slots = Array.from(ctx.nodeSlots());\n  ctx.finish(slots, slots.flatMap((slot, i) => [i * 40, 0]), { fit: false });\n} } }).run();\nconsole.log(cy.getElementById('b').position('x')); // 40"
                  ],
                  "throws": []
                }
              ],
              "src": "src/layout/contract.mts:611",
              "recipes": []
            }
          ]
        }
      ]
    },
    {
      "name": "Layout",
      "prefix": "layout",
      "sections": [
        {
          "name": "Running a layout",
          "banner": "running a layout",
          "fns": [
            {
              "name": "layout.options",
              "descr": "the resolved options this run was created with",
              "formats": [
                {
                  "descr": "the resolved options this run was created with",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "CustomLayoutOptions",
                  "returns": null,
                  "examples": [
                    "console.log(!!layout.options.impl); // true"
                  ],
                  "throws": []
                }
              ],
              "src": "src/layout/contract.mts:669",
              "recipes": []
            },
            {
              "name": "layout.run",
              "descr": "Start the layout. Emits `layoutstart` on the core, calls `impl.run( ctx)` and awaits it if it returns a promise (the shape a GPU-resident layout needs).",
              "formats": [
                {
                  "descr": "Start the layout. Emits `layoutstart` on the core, calls `impl.run( ctx)` and awaits it if it returns a promise (the shape a GPU-resident layout needs).\n\nThe lifecycle fires exactly once per run either way: an impl that finishes through `ctx.layoutPositions()` lets the finisher emit `layoutready`/`layoutstop`, and one that writes positions directly has them emitted here instead.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this layout, for chaining; await `promise()` for completion",
                  "examples": [
                    "layout.run();\nawait layout.promise();\nconsole.log(cy.nodes().length); // 3"
                  ],
                  "throws": []
                }
              ],
              "returns": "this layout, for chaining; await `promise()` for completion",
              "src": "src/layout/contract.mts:722",
              "recipes": []
            },
            {
              "name": "layout.promise",
              "descr": "Resolves at this run's `layoutstop` (immediately when never run); rejects with `CancelledError` when the run was cancelled — by `cancel()` or by `cy.destroy()`.",
              "formats": [
                {
                  "descr": "Resolves at this run's `layoutstop` (immediately when never run); rejects with `CancelledError` when the run was cancelled — by `cancel()` or by `cy.destroy()`.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "Promise<void>",
                  "returns": "the run's promise",
                  "examples": [
                    "layout.run();\nawait layout.promise();\nconsole.log(cy.getElementById('b').position('x')); // 40"
                  ],
                  "throws": []
                }
              ],
              "returns": "the run's promise",
              "src": "src/layout/contract.mts:801",
              "recipes": []
            },
            {
              "name": "layout.stop",
              "descr": "Ask the layout to stop early, by calling the impl's optional `stop()`. An impl without one simply runs to completion. Once the impl has settled and only its finisher tween is in flight, the tween stops where it got to and `layoutstop` fires now, as a built-in's `stop()` does.",
              "formats": [
                {
                  "descr": "Ask the layout to stop early, by calling the impl's optional `stop()`. An impl without one simply runs to completion. Once the impl has settled and only its finisher tween is in flight, the tween stops where it got to and `layoutstop` fires now, as a built-in's `stop()` does.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this layout, for chaining",
                  "examples": [
                    "layout.run();\nlayout.stop();\nawait layout.promise();\nconsole.log(cy.nodes().length); // 3"
                  ],
                  "throws": []
                }
              ],
              "returns": "this layout, for chaining",
              "src": "src/layout/contract.mts:818",
              "recipes": []
            },
            {
              "name": "layout.cancel",
              "descr": "Abandon the run in flight — the alternative to `stop()`, which keeps what stands. The impl is asked to `cancel()` (or `stop()` when it has no `cancel`), and once its `run` settles the scope's nodes go back to where `run()` found them, a tween under way is dropped where it is, the viewport is left alone, `layoutstop` fires with `cancelled: true`, and `promise()` rejects with `CancelledError`. A layout that is not running is unchanged.",
              "formats": [
                {
                  "descr": "Abandon the run in flight — the alternative to `stop()`, which keeps what stands. The impl is asked to `cancel()` (or `stop()` when it has no `cancel`), and once its `run` settles the scope's nodes go back to where `run()` found them, a tween under way is dropped where it is, the viewport is left alone, `layoutstop` fires with `cancelled: true`, and `promise()` rejects with `CancelledError`. A layout that is not running is unchanged.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this layout, for chaining",
                  "examples": [
                    "const handle = cy.layout({ impl: { async run() { await Promise.resolve(); } } });\nhandle.run();\nhandle.cancel();\nlet cancelled = false;\ntry { await handle.promise(); }\ncatch (error) { cancelled = error instanceof cytoscape.CancelledError; }\nconsole.log(cancelled); // true"
                  ],
                  "throws": []
                }
              ],
              "returns": "this layout, for chaining",
              "src": "src/layout/contract.mts:850",
              "recipes": []
            },
            {
              "name": "layout.reheat",
              "descr": "Heat a running layout back up (118.3), by calling the impl's optional `reheat()`.  A force layout's `infinite` run ticks only while its field is moving and reheats itself on a drag, a moved node and an added or removed element; this is for a change it cannot see — an edge length that changed under a data mapping, a style that resized the boxes.  An impl without one ignores it.",
              "formats": [
                {
                  "descr": "Heat a running layout back up (118.3), by calling the impl's optional `reheat()`.  A force layout's `infinite` run ticks only while its field is moving and reheats itself on a drag, a moved node and an added or removed element; this is for a change it cannot see — an edge length that changed under a data mapping, a style that resized the boxes.  An impl without one ignores it.",
                  "args": [
                    {
                      "name": "alpha",
                      "type": "number",
                      "optional": true,
                      "rest": false,
                      "fields": [],
                      "descr": "the temperature to restore; the force layout's default is 0.3, d3's drag convention"
                    }
                  ],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "this",
                  "returns": "this layout, for chaining",
                  "examples": [
                    "const force = cy.layout({ name: 'force', infinite: true, executor: 'cpu' });\nforce.run();\nforce.reheat(0.5);\nforce.stop();\nawait force.promise();\nconsole.log(cy.nodes().length); // 3"
                  ],
                  "throws": []
                }
              ],
              "returns": "this layout, for chaining",
              "src": "src/layout/contract.mts:893",
              "recipes": []
            }
          ]
        }
      ]
    },
    {
      "name": "Event",
      "prefix": "event",
      "sections": [
        {
          "name": "What happened",
          "banner": "what happened",
          "fns": [
            {
              "name": "event.type",
              "descr": "the event type, e.g. `'tap'` — never namespaced",
              "formats": [
                {
                  "descr": "the event type, e.g. `'tap'` — never namespaced",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "string",
                  "returns": null,
                  "examples": [
                    "console.log(event.type); // \"example\""
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:103",
              "recipes": []
            },
            {
              "name": "event.target",
              "descr": "the core for core-level events, the element for element events",
              "formats": [
                {
                  "descr": "the core for core-level events, the element for element events",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "EventTarget<NodeData, EdgeData>",
                  "returns": null,
                  "examples": [
                    "console.log(event.target === cy); // true"
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:110",
              "recipes": [
                {
                  "title": "attach and remove a delegated listener",
                  "url": "/docs/recipes/#recipes/attach-and-remove-a-delegated-listener"
                }
              ]
            },
            {
              "name": "event.cy",
              "descr": "the core the event was raised on",
              "formats": [
                {
                  "descr": "the core the event was raised on",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "Core<NodeData, EdgeData>",
                  "returns": null,
                  "examples": [
                    "console.log(event.cy === cy); // true"
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:117",
              "recipes": []
            },
            {
              "name": "event.position",
              "descr": "model-space position, on pointer-derived events",
              "formats": [
                {
                  "descr": "model-space position, on pointer-derived events",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "Position",
                  "returns": null,
                  "examples": [
                    "console.log(event.position); // undefined"
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:124",
              "recipes": []
            },
            {
              "name": "event.renderedPosition",
              "descr": "rendered-space position; derived from `position` and the viewport",
              "formats": [
                {
                  "descr": "rendered-space position; derived from `position` and the viewport",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "Position",
                  "returns": null,
                  "examples": [
                    "console.log(event.renderedPosition); // undefined"
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:131",
              "recipes": []
            },
            {
              "name": "event.originalEvent",
              "descr": "the DOM event behind a gesture, when there was one",
              "formats": [
                {
                  "descr": "the DOM event behind a gesture, when there was one",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "NativeEvent",
                  "returns": null,
                  "examples": [
                    "console.log(event.originalEvent); // undefined"
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:138",
              "recipes": []
            },
            {
              "name": "event.layout",
              "descr": "the layout instance, on the layout lifecycle events",
              "formats": [
                {
                  "descr": "the layout instance, on the layout lifecycle events",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "unknown",
                  "returns": null,
                  "examples": [
                    "console.log(event.layout); // undefined"
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:145",
              "recipes": []
            },
            {
              "name": "event.cancelled",
              "descr": "on `layoutstop`, whether the run was cancelled; on `loadstop`, whether the load was",
              "formats": [
                {
                  "descr": "on `layoutstop`, whether the run was cancelled; on `loadstop`, whether the load was",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": null,
                  "examples": [
                    "console.log(event.cancelled); // undefined"
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:153",
              "recipes": []
            },
            {
              "name": "event.diff",
              "descr": "on `patch`, what the patch added, removed and updated",
              "formats": [
                {
                  "descr": "on `patch`, what the patch added, removed and updated",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "PatchDiff<NodeData, EdgeData>",
                  "returns": null,
                  "examples": [
                    "console.log(event.diff); // undefined"
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:160",
              "recipes": []
            },
            {
              "name": "event.progress",
              "descr": "on the load lifecycle events, the chunks and elements so far",
              "formats": [
                {
                  "descr": "on the load lifecycle events, the chunks and elements so far",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "LoadProgress",
                  "returns": null,
                  "examples": [
                    "console.log(event.progress); // undefined"
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:166",
              "recipes": []
            },
            {
              "name": "event.timeStamp",
              "descr": "when the event was built, `Date.now()` unless the caller supplied one",
              "formats": [
                {
                  "descr": "when the event was built, `Date.now()` unless the caller supplied one",
                  "args": [],
                  "callable": false,
                  "typeParameters": "",
                  "returnType": "number",
                  "returns": null,
                  "examples": [
                    "console.log(Number.isFinite(event.timeStamp)); // true"
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:173",
              "recipes": []
            },
            {
              "name": "event.isDefaultPrevented",
              "descr": "Whether `preventDefault()` was called on this event. This flag concerns the browser's default behaviour, such as page scrolling. Use the core's interaction controls to disable graph selection, dragging or box selection.",
              "formats": [
                {
                  "descr": "Whether `preventDefault()` was called on this event. This flag concerns the browser's default behaviour, such as page scrolling. Use the core's interaction controls to disable graph selection, dragging or box selection.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": null,
                  "examples": [
                    "console.log(event.isDefaultPrevented()); // false"
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:184",
              "recipes": []
            },
            {
              "name": "event.isPropagationStopped",
              "descr": "Whether `stopPropagation()` has been called — read by the compound bubbling walk, where it halts the phase sequence.",
              "formats": [
                {
                  "descr": "Whether `stopPropagation()` has been called — read by the compound bubbling walk, where it halts the phase sequence.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "boolean",
                  "returns": null,
                  "examples": [
                    "console.log(event.isPropagationStopped()); // false"
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:192",
              "recipes": []
            }
          ]
        },
        {
          "name": "Controlling propagation",
          "banner": "controlling propagation",
          "fns": [
            {
              "name": "event.preventDefault",
              "descr": "Prevent the original browser event's default behaviour when one is attached, for example page scrolling. This does not disable graph selection or dragging; use core controls such as `autounselectify()`, `autoungrabify()` and `boxSelectionEnabled()` for graph gestures.",
              "formats": [
                {
                  "descr": "Prevent the original browser event's default behaviour when one is attached, for example page scrolling. This does not disable graph selection or dragging; use core controls such as `autounselectify()`, `autoungrabify()` and `boxSelectionEnabled()` for graph gestures.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "void",
                  "returns": null,
                  "examples": [
                    "event.preventDefault();\nconsole.log(event.isDefaultPrevented()); // true"
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:256",
              "recipes": []
            },
            {
              "name": "event.stopPropagation",
              "descr": "Stop the event bubbling to further phases: the remaining ancestors and the core do not see it. Returning `false` from a handler does the same. With `originalEvent` attached this also calls the DOM event's `stopPropagation()`, so an outer DOM listener stops seeing it too.",
              "formats": [
                {
                  "descr": "Stop the event bubbling to further phases: the remaining ancestors and the core do not see it. Returning `false` from a handler does the same. With `originalEvent` attached this also calls the DOM event's `stopPropagation()`, so an outer DOM listener stops seeing it too.",
                  "args": [],
                  "callable": true,
                  "typeParameters": "",
                  "returnType": "void",
                  "returns": null,
                  "examples": [
                    "event.stopPropagation();\nconsole.log(event.isPropagationStopped()); // true"
                  ],
                  "throws": []
                }
              ],
              "src": "src/event.mts:271",
              "recipes": []
            }
          ]
        }
      ]
    }
  ],
  "types": [
    {
      "name": "Position",
      "descr": "",
      "fields": [
        {
          "name": "x",
          "type": "number",
          "optional": false,
          "descr": ""
        },
        {
          "name": "y",
          "type": "number",
          "optional": false,
          "descr": ""
        }
      ],
      "source": "src/animation/handle.mts"
    },
    {
      "name": "ElementData",
      "descr": "",
      "fields": [
        {
          "name": "id",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "source",
          "type": "string",
          "optional": true,
          "descr": "edges only; required for edges"
        },
        {
          "name": "target",
          "type": "string",
          "optional": true,
          "descr": "edges only; required for edges"
        },
        {
          "name": "parent",
          "type": "string | number",
          "optional": true,
          "descr": "nodes only: the parent node's id (compound hierarchy; numbers are\ncoerced to string ids)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "ElementFields",
      "descr": "The first-class fields a definition's `data` may carry beside the\napplication's own: the typed counterpart of {@link ElementData}'s named\nmembers, without its index signature.",
      "fields": [
        {
          "name": "id",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "source",
          "type": "string",
          "optional": true,
          "descr": "edges only; required for edges"
        },
        {
          "name": "target",
          "type": "string",
          "optional": true,
          "descr": "edges only; required for edges"
        },
        {
          "name": "parent",
          "type": "string | number",
          "optional": true,
          "descr": "nodes only: the parent node's id"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "DefinitionData",
      "descr": "A definition's `data`: {@link ElementData} untyped (any key), and the\napplication's shape plus the first-class fields typed — so a misspelt key\nis an excess-property error.",
      "fields": [
        {
          "name": "id",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "source",
          "type": "string",
          "optional": true,
          "descr": "edges only; required for edges"
        },
        {
          "name": "target",
          "type": "string",
          "optional": true,
          "descr": "edges only; required for edges"
        },
        {
          "name": "parent",
          "type": "string | number",
          "optional": true,
          "descr": "nodes only: the parent node's id (compound hierarchy; numbers are\ncoerced to string ids)\nnodes only: the parent node's id"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "ElementDefinition",
      "descr": "One element definition. Typed by `Data` — the node or edge shape given to\n`cytoscape<NodeData, EdgeData>( …)` — and untyped by default.",
      "fields": [
        {
          "name": "group",
          "type": "GroupName",
          "optional": true,
          "descr": "inferred from `data.source`/`data.target` when omitted"
        },
        {
          "name": "data",
          "type": "DefinitionData<Data>",
          "optional": true,
          "descr": ""
        },
        {
          "name": "position",
          "type": "Position",
          "optional": true,
          "descr": "nodes only"
        },
        {
          "name": "collapsed",
          "type": "boolean",
          "optional": true,
          "descr": "nodes only: persisted miniature-compound state"
        },
        {
          "name": "appliedCollapseScale",
          "type": "number",
          "optional": true,
          "descr": "nodes only: current applied factor when collapsed; omitted uses the configured collapse-scale"
        },
        {
          "name": "selected",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "selectable",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "grabbable",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "locked",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "pannable",
          "type": "boolean",
          "optional": true,
          "descr": "dragging this element pans the graph instead (default: true for edges, false for nodes)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "ElementsDefinition",
      "descr": "Many elements: a flat array (each def's group inferred), or the `{ nodes,\nedges }` map, whose buckets are typed by the node and edge shapes\nrespectively.",
      "fields": [],
      "source": "src/public-types.mts"
    },
    {
      "name": "PackedIds",
      "descr": "Ids as bytes: one UTF-8 blob + prefix byte offsets (length count + 1).\nZero-length entries are auto-generated.  This is the wire format's id\nrepresentation, and the store ingests it without materializing any JS\nstrings — id strings are decoded lazily, per element touched.",
      "fields": [
        {
          "name": "offsets",
          "type": "Uint32Array",
          "optional": false,
          "descr": ""
        },
        {
          "name": "blob",
          "type": "Uint8Array",
          "optional": false,
          "descr": ""
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "DictColumn",
      "descr": "A dictionary-encoded string data column: `indices[i]` is a 1-based\nindex into `dict` (0 = absent).  Data values repeat heavily, so this\nis both the compact in-memory shape and the wire shape.",
      "fields": [
        {
          "name": "dict",
          "type": "string[]",
          "optional": false,
          "descr": ""
        },
        {
          "name": "indices",
          "type": "Uint32Array",
          "optional": false,
          "descr": ""
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "DataColumn",
      "descr": "One data() column, index-aligned with the payload: a plain array\n(holes/undefined = absent), a Float64Array (NaN = absent), or a\ndictionary-encoded string column.",
      "fields": [],
      "source": "src/public-types.mts"
    },
    {
      "name": "ColumnarNodes",
      "descr": "Columnar node payload; all arrays are index-aligned with `count`.",
      "fields": [
        {
          "name": "count",
          "type": "number",
          "optional": false,
          "descr": ""
        },
        {
          "name": "ids",
          "type": "(string | undefined)[] | PackedIds",
          "optional": true,
          "descr": "unique ids; missing entries (or the whole array) are auto-generated"
        },
        {
          "name": "positions",
          "type": "Float32Array",
          "optional": true,
          "descr": "interleaved x,y pairs, length 2 × count; omitted = all (0, 0)"
        },
        {
          "name": "collapsed",
          "type": "Uint8Array",
          "optional": true,
          "descr": "1 = collapsed parent; omitted = no explicit state. Loads and patches\nadopt this alongside `positions`, without rescaling those coordinates."
        },
        {
          "name": "appliedCollapseScale",
          "type": "Float64Array",
          "optional": true,
          "descr": "Current applied factor per node. Expanded rows use 1; 0 means resolve\nthe configured `collapse-scale` for a definition-form state."
        },
        {
          "name": "selected",
          "type": "Uint8Array",
          "optional": true,
          "descr": "1 = selected; omitted = all unselected"
        },
        {
          "name": "selectable",
          "type": "Uint8Array",
          "optional": true,
          "descr": "0 = unselectable; omitted = all selectable"
        },
        {
          "name": "parent",
          "type": "Uint32Array",
          "optional": true,
          "descr": "compound parent per node as an index into the payload's nodes; 0xffffffff\n({@link NO_PARENT}) = orphan. Omitted = all orphans."
        },
        {
          "name": "data",
          "type": "Record<string, DataColumn>",
          "optional": true,
          "descr": "data() sidecar columns by key"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "ColumnarEdges",
      "descr": "Columnar edge payload; endpoints are indices into the payload's nodes\n(and, past them, its {@link ColumnarElements.refs}).",
      "fields": [
        {
          "name": "count",
          "type": "number",
          "optional": false,
          "descr": ""
        },
        {
          "name": "ids",
          "type": "(string | undefined)[] | PackedIds",
          "optional": true,
          "descr": ""
        },
        {
          "name": "sources",
          "type": "Uint32Array",
          "optional": false,
          "descr": "source node index per edge (into the payload's nodes, then its\nrefs), length count"
        },
        {
          "name": "targets",
          "type": "Uint32Array",
          "optional": false,
          "descr": "target node index per edge (into the payload's nodes, then its\nrefs), length count"
        },
        {
          "name": "selected",
          "type": "Uint8Array",
          "optional": true,
          "descr": ""
        },
        {
          "name": "selectable",
          "type": "Uint8Array",
          "optional": true,
          "descr": ""
        },
        {
          "name": "data",
          "type": "Record<string, DataColumn>",
          "optional": true,
          "descr": "data() sidecar columns by key"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "ColumnarElements",
      "descr": "Columnar bulk-load form of `elements`: typed-array columns ingest directly\ninto the store with no per-element objects, and edges resolve endpoints by\nindex with no id lookups. Optional miniature-state columns preserve a\nnode's collapsed flag and applied factor with its current positions; ingest\ndoes not rescale those coordinates. A payload is self-contained — every\nedge endpoint indexes a node in the same payload — unless it carries\n`refs`, the ids of nodes already in the graph that it indexes past its own\n(a chunk of a progressive `cy.load()`). Convert definition-form JSON with\n`cytoscape.toColumnarElements(json)`.",
      "fields": [
        {
          "name": "columnar",
          "type": "true",
          "optional": false,
          "descr": "discriminant so the loader can tell the forms apart"
        },
        {
          "name": "nodes",
          "type": "ColumnarNodes",
          "optional": true,
          "descr": ""
        },
        {
          "name": "edges",
          "type": "ColumnarEdges",
          "optional": true,
          "descr": ""
        },
        {
          "name": "refs",
          "type": "string[] | PackedIds",
          "optional": true,
          "descr": "**Node references** (experimental with the wire format until 4.x): the\nids of nodes this payload does not carry but indexes — an edge endpoint\nor a node parent `nodes.count + i` names `refs[i]`. Each must name a node\nalready in the graph when the payload loads (an earlier chunk of a\n`cy.load()`, or anything `cy.add()` put there); one that does not throws\nbefore anything is added. Each id resolves once however many edges index\nit, which is what makes a chunk's cut edges as cheap as its own. The\nfactory's `options.elements` loads into an empty graph, so a payload with\nrefs cannot load there; `cy.patch()` refuses one. Build it from\ndefinitions with `toColumnarElements( defs, { refs: true })`."
        },
        {
          "name": "data",
          "type": "Record<string, unknown>",
          "optional": true,
          "descr": "Graph-level `data()` — the whole-graph object, not a per-element column.\n`cy.serialize()` writes it and `deserializeElements` reads it back, but\nthe two load paths treat it differently on purpose: `options.elements`\napplies it at construction, while `cy.add( buffer)` **ignores** it, since\nadding elements to a populated graph must not overwrite that graph's own\n`data()`."
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "ElementsInput",
      "descr": "Any accepted `elements` input: the definition form (JSON objects), a\nsingle definition, the columnar bulk-load form, or a binary buffer from\n`cytoscape.serializeElements` (one little-endian ArrayBuffer +\nheader — fetch it as binary and pass it straight in; no JSON parse).",
      "fields": [],
      "source": "src/public-types.mts"
    },
    {
      "name": "Mapper",
      "descr": "A data-driven style mapping: a plain serializable object appearing as a\nprop value in the sheet.  `{ data: key }` alone is a passthrough (the\ndatum is the value; 'id' reads the first-class id — label only);\nadding `range` (and usually `domain`) scales the datum.\n\nScales: 'linear' (default) | 'log' | 'sqrt' | 'pow' | 'symlog'\n(continuous), 'diverging' (three-point [min, mid, max] domain),\n'ordinal' (categories → outputs), 'threshold' (cut points → bins),\n'quantize' (uniform bins).  `domain` omitted or 'auto' tracks the live\ndata extent. Numeric continuous domains may also use 'auto' at either\nouter endpoint, with finite numeric stops between them; diverging scales\nrequire an explicit midpoint. An ordinal category named 'auto' remains a\ncategory. Color ranges take color stops or a named scheme\n('viridis', 'plasma', 'magma', 'inferno', ColorBrewer ramps,\n'category10', 'dark2') and interpolate in OKLab unless\n`interpolate: 'srgb'`.  Missing or unmappable data resolves to\n`fallback`, else the channel default.",
      "fields": [
        {
          "name": "data",
          "type": "DataKey<Data>",
          "optional": false,
          "descr": "data() sidecar key to read — typed, one of the group's fields"
        },
        {
          "name": "scale",
          "type": "| 'linear' | 'log' | 'sqrt' | 'pow' | 'symlog' | 'diverging' | 'ordinal' | 'threshold' | 'quantize'",
          "optional": true,
          "descr": ""
        },
        {
          "name": "domain",
          "type": "(string | number)[] | 'auto'",
          "optional": true,
          "descr": "Ascending numeric stops (categories for 'ordinal'); omitted or 'auto'\ntracks the live data extent. Continuous and quantize scales may use\n'auto' at the first and/or last stop, with finite explicit values in\nbetween. Diverging scales require an explicit middle stop."
        },
        {
          "name": "range",
          "type": "(string | number)[] | string",
          "optional": true,
          "descr": "output stops (numbers, colors, or keywords), or a named color scheme"
        },
        {
          "name": "clamp",
          "type": "boolean",
          "optional": true,
          "descr": "clamp input to the domain (default true)"
        },
        {
          "name": "exponent",
          "type": "number",
          "optional": true,
          "descr": "pow only (default 2)"
        },
        {
          "name": "base",
          "type": "number",
          "optional": true,
          "descr": "log only (default 10)"
        },
        {
          "name": "constant",
          "type": "number",
          "optional": true,
          "descr": "symlog linear-region constant (default 1)"
        },
        {
          "name": "interpolate",
          "type": "'oklab' | 'srgb'",
          "optional": true,
          "descr": "color interpolation space (default 'oklab')"
        },
        {
          "name": "bins",
          "type": "number",
          "optional": true,
          "descr": "bin count when a quantize range is a scheme name"
        },
        {
          "name": "fallback",
          "type": "string | number",
          "optional": true,
          "descr": "output for missing/unmappable data (default: the channel default)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "Condition",
      "descr": "A condition over one data key: exactly one comparison operator.  String\nand boolean data support `eq`/`ne`/`in` (strict equality); numeric data\nsupports all.  Missing data fails every comparison (so an unset key\nnever matches).",
      "fields": [
        {
          "name": "data",
          "type": "DataKey<Data>",
          "optional": true,
          "descr": "the data key to compare ('id' reads the first-class id); omitted for the\nstructural forms below. Typed, one of the group's fields"
        },
        {
          "name": "eq",
          "type": "string | number | boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "ne",
          "type": "string | number | boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "lt",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "lte",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "gt",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "gte",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "in",
          "type": "(string | number | boolean)[]",
          "optional": true,
          "descr": ""
        },
        {
          "name": "parent",
          "type": "boolean",
          "optional": true,
          "descr": "structural (nodes only): the element has >= 1 child. A structural\ncondition stands alone — AND it with data conditions via the `when` array\nform."
        },
        {
          "name": "childless",
          "type": "boolean",
          "optional": true,
          "descr": "structural (nodes only): the element has no children — exactly `{ parent:\nfalse }`"
        },
        {
          "name": "child",
          "type": "boolean",
          "optional": true,
          "descr": "structural (nodes only): the element has a parent"
        },
        {
          "name": "orphan",
          "type": "boolean",
          "optional": true,
          "descr": "structural (nodes only): the element has no parent — exactly `{ child:\nfalse }`"
        },
        {
          "name": "collapsed",
          "type": "boolean",
          "optional": true,
          "descr": "state (nodes only): the compound is in collapsed miniature state"
        },
        {
          "name": "selected",
          "type": "boolean",
          "optional": true,
          "descr": "state: the element is selected. This is what the **default stylesheet**\nuses to give selection a colour — nodes' `background-color`, edges'\n`line-color` and the four arrow colours are conditional mappers rather\nthan constants — so declaring any of those props in your own sheet\nreplaces the rule and the selection colour with it."
        },
        {
          "name": "selectable",
          "type": "boolean",
          "optional": true,
          "descr": "state: the element is selectable"
        },
        {
          "name": "locked",
          "type": "boolean",
          "optional": true,
          "descr": "state: the element is locked"
        },
        {
          "name": "grabbed",
          "type": "boolean",
          "optional": true,
          "descr": "state: the user is dragging the element"
        },
        {
          "name": "grabbable",
          "type": "boolean",
          "optional": true,
          "descr": "state: the element can be dragged"
        },
        {
          "name": "active",
          "type": "boolean",
          "optional": true,
          "descr": "state: the element is under an active press. The default stylesheet draws\nthis from its `overlay-*` props, so restyling or removing\nthe affordance is a sheet edit."
        },
        {
          "name": "hovered",
          "type": "boolean",
          "optional": true,
          "descr": "state: the pointer is over the element. Use it in a conditional mapper for\nhover styles."
        },
        {
          "name": "emphasized",
          "type": "boolean",
          "optional": true,
          "descr": "state: the element is in the current emphasis — the set the last\n`cy.emphasize( eles)` named.  The rest of the graph is *dimmed*\nby the renderer (the core `dim-opacity`), not by a state: there is no\n`dimmed` key, so styling the emphasized set costs O(set) per change and\nthe dim costs nothing per element."
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "CaseClause",
      "descr": "One case clause: `when` (a condition, or an array AND-ed together) → `then`.",
      "fields": [
        {
          "name": "when",
          "type": "Condition<Data> | Condition<Data>[]",
          "optional": false,
          "descr": ""
        },
        {
          "name": "then",
          "type": "string | number",
          "optional": false,
          "descr": ""
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "CaseMapper",
      "descr": "A conditional mapper: the first clause whose `when` holds supplies the\nvalue, else `else` (or the channel default). Clauses are tried in order.\nCPU-evaluated (multi-key, data-driven) — the declarative replacement for\n`(ele) => cond ? a: b` style functions, and the natural form for typed\nedges (`type == 'activation' →...`).",
      "fields": [
        {
          "name": "case",
          "type": "CaseClause<Data>[]",
          "optional": false,
          "descr": ""
        },
        {
          "name": "else",
          "type": "string | number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "fallback",
          "type": "string | number",
          "optional": true,
          "descr": "value for missing/unmappable data (defaults to `else` then the channel default)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "MapperSpec",
      "descr": "Any data-driven style value: a scale mapper or a conditional.",
      "fields": [
        {
          "name": "fallback",
          "type": "string | number",
          "optional": true,
          "descr": "output for missing/unmappable data (default: the channel default)\nvalue for missing/unmappable data (defaults to `else` then the channel default)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "ChartScaleSpec",
      "descr": "",
      "fields": [
        {
          "name": "scale",
          "type": "| 'linear' | 'log' | 'sqrt' | 'pow' | 'symlog' | 'diverging' | 'ordinal' | 'threshold' | 'quantize'",
          "optional": true,
          "descr": ""
        },
        {
          "name": "domain",
          "type": "(string | number)[] | 'auto'",
          "optional": true,
          "descr": "Ascending numeric stops (categories for 'ordinal'); omitted or 'auto'\ntracks the live data extent. Continuous and quantize scales may use\n'auto' at the first and/or last stop, with finite explicit values in\nbetween. Diverging scales require an explicit middle stop."
        },
        {
          "name": "range",
          "type": "(string | number)[] | string",
          "optional": true,
          "descr": "output stops (numbers, colors, or keywords), or a named color scheme"
        },
        {
          "name": "clamp",
          "type": "boolean",
          "optional": true,
          "descr": "clamp input to the domain (default true)"
        },
        {
          "name": "exponent",
          "type": "number",
          "optional": true,
          "descr": "pow only (default 2)"
        },
        {
          "name": "base",
          "type": "number",
          "optional": true,
          "descr": "log only (default 10)"
        },
        {
          "name": "constant",
          "type": "number",
          "optional": true,
          "descr": "symlog linear-region constant (default 1)"
        },
        {
          "name": "interpolate",
          "type": "'oklab' | 'srgb'",
          "optional": true,
          "descr": "color interpolation space (default 'oklab')"
        },
        {
          "name": "bins",
          "type": "number",
          "optional": true,
          "descr": "bin count when a quantize range is a scheme name"
        },
        {
          "name": "fallback",
          "type": "string | number",
          "optional": true,
          "descr": "output for missing/unmappable data (default: the channel default)"
        }
      ],
      "source": "src/style/chart-scale.mts"
    },
    {
      "name": "StylePropValue",
      "descr": "A style prop value: a constant, mapper, or chart scale object.",
      "fields": [],
      "source": "src/public-types.mts"
    },
    {
      "name": "StyleProps",
      "descr": "Style props for one element or group; names are kebab-case or\ncamelCase.  Values are constants, scale mappers ({@link Mapper}), conditionals ({@link CaseMapper}), or chart scale objects ({@link ChartScaleSpec}); `label` also takes the\n`data(key)` mapper string ('id' reads the first-class id).\nNode props: background-color, width, height, shape, opacity,\nborder-color, border-width, label, font-size, font-family (constant\nonly, effectively global — one font per glyph atlas), color.  Edge\nprops: line-color, width, opacity, source/target-arrow-shape and\n-color.",
      "fields": [],
      "source": "src/public-types.mts"
    },
    {
      "name": "LegendGroup",
      "descr": "A group named by an authored stylesheet definition.",
      "fields": [
        {
          "name": "length",
          "type": "number",
          "optional": false,
          "descr": "Returns the length of a String object."
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "LegendException",
      "descr": "A bounded summary of style bypasses affecting one shared legend entry.",
      "fields": [
        {
          "name": "properties",
          "type": "string[]",
          "optional": false,
          "descr": "Properties overridden on the affected elements."
        },
        {
          "name": "elementCount",
          "type": "number",
          "optional": false,
          "descr": "Number of distinct live elements carrying one or more listed overrides."
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "LegendEntry",
      "descr": "One shared mapper or chart description returned by {@link Core.legend }.",
      "fields": [
        {
          "name": "id",
          "type": "string",
          "optional": false,
          "descr": "Stable stylesheet-definition/property pair, e.g. `nodes:width`."
        },
        {
          "name": "group",
          "type": "LegendGroup",
          "optional": false,
          "descr": "The definition that authored this property."
        },
        {
          "name": "property",
          "type": "string",
          "optional": false,
          "descr": ""
        },
        {
          "name": "kind",
          "type": "'mapping' | 'chart'",
          "optional": false,
          "descr": ""
        },
        {
          "name": "source",
          "type": "Record<string, unknown>",
          "optional": true,
          "descr": "Authored mapper object, retained as JSON data."
        },
        {
          "name": "scale",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "domain",
          "type": "'auto' | (string | number)[]",
          "optional": true,
          "descr": ""
        },
        {
          "name": "resolvedDomain",
          "type": "number[] | null",
          "optional": true,
          "descr": "Resolved stops for the primary effective group, or null if unresolved."
        },
        {
          "name": "resolvedDomains",
          "type": "Partial< Record<typeof GROUP_NODES | 'parents' | typeof GROUP_EDGES, number[] | null> >",
          "optional": true,
          "descr": "Separate resolved stops when one definition styles nodes and parents."
        },
        {
          "name": "range",
          "type": "string | (string | number)[]",
          "optional": true,
          "descr": ""
        },
        {
          "name": "interpolate",
          "type": "'oklab' | 'srgb'",
          "optional": true,
          "descr": ""
        },
        {
          "name": "clamp",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "fallback",
          "type": "string | number | null",
          "optional": true,
          "descr": ""
        },
        {
          "name": "missing",
          "type": "{ usesChannelDefault: boolean; fallback: string | number | null }",
          "optional": true,
          "descr": ""
        },
        {
          "name": "status",
          "type": "| 'resolved' | 'unresolved' | 'passthrough' | 'conditional' | 'exception-only'",
          "optional": true,
          "descr": ""
        },
        {
          "name": "appliesTo",
          "type": "Array<typeof GROUP_NODES | 'parents' | typeof GROUP_EDGES>",
          "optional": true,
          "descr": "Effective groups styled by a nodes definition."
        },
        {
          "name": "chart",
          "type": "Record<string, unknown>",
          "optional": true,
          "descr": "Chart configuration, excluding per-element chart payloads and ids."
        },
        {
          "name": "exceptions",
          "type": "LegendException[]",
          "optional": true,
          "descr": ""
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "Legend",
      "descr": "JSON-safe, detached legend metadata for one Cytoscape instance.",
      "fields": [
        {
          "name": "entries",
          "type": "LegendEntry[]",
          "optional": false,
          "descr": ""
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "Stylesheet",
      "descr": "The stylesheet — no selectors, no style functions.  Each group key\nis a props object whose values are constants or mapper objects; all\nper-element variation is expressed declaratively through mappers\n({@link Mapper} scales, {@link CaseMapper} conditionals), which\nare analyzable, serializable, and evaluated on the GPU where possible.\nEverything stays fresh automatically: a data write re-derives the\nmapped channels of the affected elements (gated on the mapped keys).",
      "fields": [
        {
          "name": "nodes",
          "type": "StyleProps<NodeData>",
          "optional": true,
          "descr": "node props; typed, a mapper's field is a node field"
        },
        {
          "name": "edges",
          "type": "StyleProps<EdgeData>",
          "optional": true,
          "descr": "edge props; typed, a mapper's field is an edge field"
        },
        {
          "name": "parents",
          "type": "StyleProps<NodeData>",
          "optional": true,
          "descr": "Compound-parent overlay: node props that apply to parent nodes on top of\nthe nodes group and the parent defaults (rectangle, #eee fill, 1px\n#ccc border, padding 10) — constants or mappers — plus the compound props\n`padding`, `padding-relative-to`, `min-width`, `min-height` and\n`compound-sizing-wrt-labels` (constants only; sizing is `'exclude'` by\ndefault, or `'include'` to add visible direct-child label bounds in model\nspace before padding. A parent's own label never sizes itself, and zoom\nLOD does not affect the geometry)."
        },
        {
          "name": "core",
          "type": "StyleProps",
          "optional": true,
          "descr": "Core (viewport-level) theming props (A2), constants only:\n`selection-box-color`/`-opacity`/`-border-color`/`-border-width` (the DOM\nselection box) and `active-bg-color`/`-opacity`/`-size` (the\nbackground-grab indicator circle) — plus `dim-opacity` (the rest of the\ngraph while `cy.emphasize()`\nis set) and `label-declutter` (`'none'`, the default, or `'cull'` — hide\neach node label that would overlap a higher-`label-priority` one)."
        },
        {
          "name": "bypasses",
          "type": "Record<string, StyleProps>",
          "optional": true,
          "descr": "Per-element bypasses: id → prop → constant. A bypass beats everything —\nthe user's group blocks and the default sheet's state conditionals\nincluded — and is an id-keyed *declaration* rather than\nelement state: it survives remove/re-add of its element, may name an id\nthat does not exist yet (inert until it does), and round-trips through\n`cy.json()`. Values are constants only — mappers belong in the group\nblocks — and prop keys take dash-case or camelCase like every prop\nsurface. A full `cy.style( sheet)` replaces the section like any other;\nthe `ele.style( name, value)` / `removeStyle()` methods are sugar over\nit."
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "ExportOptions",
      "descr": "Options for `cy.png()`/`cy.jpg()` image export.  Export is async (the\npixels are rendered on and read back from the GPU) and only available\non rendered instances — headless instances reject.",
      "fields": [
        {
          "name": "output",
          "type": "'base64uri' | 'base64' | 'blob' | 'blob-promise'",
          "optional": true,
          "descr": "result form: a data-URI string (default), the raw base64 payload,\nor a Blob ('blob-promise' is accepted as an alias of 'blob' — every\noutput form resolves through the returned promise)"
        },
        {
          "name": "bg",
          "type": "string",
          "optional": true,
          "descr": "background color under the graph (any CSS color).  Default:\ntransparent for png; white for jpg (JPEG has no alpha)"
        },
        {
          "name": "full",
          "type": "boolean",
          "optional": true,
          "descr": "export the whole graph's bounds instead of the current viewport (default false)"
        },
        {
          "name": "scale",
          "type": "number",
          "optional": true,
          "descr": "output pixels per rendered CSS px (viewport export) or per model\nunit (full export); default 1.  Ignored when maxWidth/maxHeight are\ngiven"
        },
        {
          "name": "maxWidth",
          "type": "number",
          "optional": true,
          "descr": "cap the output width in px (the scale is computed to fit; overrides `scale`)"
        },
        {
          "name": "maxHeight",
          "type": "number",
          "optional": true,
          "descr": "cap the output height in px (the scale is computed to fit; overrides `scale`)"
        },
        {
          "name": "quality",
          "type": "number",
          "optional": true,
          "descr": "jpg only: encode quality in [0, 1] (default: the browser's)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "BoundingBoxInput",
      "descr": "",
      "fields": [
        {
          "name": "x1",
          "type": "number",
          "optional": false,
          "descr": ""
        },
        {
          "name": "y1",
          "type": "number",
          "optional": false,
          "descr": ""
        },
        {
          "name": "x2",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "y2",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "w",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "h",
          "type": "number",
          "optional": true,
          "descr": ""
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "LayoutScoreMapping",
      "descr": "A data-driven score for a layout param (#1514) — the canonical,\nserializable alternative to a function. Bare `{ data }` passes the column\nvalue through (the value *is* the score/length); with `range`, the column's\nextent is normalized through `scale` into `[range[0], range[1]]`, and\n`invert: true` flips it — e.g. `edgeLength: { data: 'score', scale: 'log',\nrange: [40, 200], invert: true }` maps large scores to short edges.\nResolved once at layout start; a missing value takes `default` (else the\noption's own default); an unknown key or a non-number column throws.",
      "fields": [
        {
          "name": "data",
          "type": "string",
          "optional": false,
          "descr": "the numeric data column to read"
        },
        {
          "name": "scale",
          "type": "'linear' | 'log' | 'sqrt'",
          "optional": true,
          "descr": "how the extent is normalized when `range` is given (default 'linear')"
        },
        {
          "name": "range",
          "type": "[number, number]",
          "optional": true,
          "descr": "the output interval the extent maps onto; omitted, values pass through"
        },
        {
          "name": "invert",
          "type": "boolean",
          "optional": true,
          "descr": "flip the mapping so the largest score lands at `range[0]`"
        },
        {
          "name": "default",
          "type": "number",
          "optional": true,
          "descr": "what a missing value resolves to (else the option's own default)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "LayoutSortMapping",
      "descr": "A data-driven sort for a layout param — the canonical, serializable\nalternative to a comparator function: order by one column, missing values\nlast, ties broken ascending on the id (so the order is deterministic by\nconstruction). A number or string column; mixed throws.",
      "fields": [
        {
          "name": "data",
          "type": "string",
          "optional": false,
          "descr": "the data column to order by"
        },
        {
          "name": "order",
          "type": "'ascending' | 'descending'",
          "optional": true,
          "descr": "the direction (default 'ascending'); missing values sort last either way"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "LayoutBaseOptions",
      "descr": "Options shared by the discrete layouts (scope, fit, spacing, animation).",
      "fields": [
        {
          "name": "eles",
          "type": "unknown",
          "optional": true,
          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
        },
        {
          "name": "fit",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "padding",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "boundingBox",
          "type": "BoundingBoxInput",
          "optional": true,
          "descr": ""
        },
        {
          "name": "nodeDimensionsIncludeLabels",
          "type": "boolean",
          "optional": true,
          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
        },
        {
          "name": "spacingFactor",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "transform",
          "type": "(node: unknown, position: Position) => Position",
          "optional": true,
          "descr": "transform a computed position (e.g. to flip an axis)"
        },
        {
          "name": "animate",
          "type": "boolean",
          "optional": true,
          "descr": "whether to animate node positions into place"
        },
        {
          "name": "animationDuration",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animationEasing",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animateFilter",
          "type": "(node: unknown, i: number) => boolean",
          "optional": true,
          "descr": "which nodes animate (others jump); all by default"
        },
        {
          "name": "ready",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutready"
        },
        {
          "name": "stop",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutstop"
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": "zoom to set when fit is false"
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": "pan to set when fit is false"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "LayoutComponentInfo",
      "descr": "What `componentGroup` and `componentOrder` see: one description per\ndisconnected component (121.1; shared by force, the discrete layouts\nunder `packComponents` and the `pack` layout since 123).",
      "fields": [
        {
          "name": "nodes",
          "type": "unknown",
          "optional": false,
          "descr": "the component's nodes"
        },
        {
          "name": "size",
          "type": "number",
          "optional": false,
          "descr": "how many nodes it has"
        },
        {
          "name": "width",
          "type": "number",
          "optional": false,
          "descr": "its packed box's width, bodies included"
        },
        {
          "name": "height",
          "type": "number",
          "optional": false,
          "descr": "its packed box's height, bodies included"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "ComponentPackingOptions",
      "descr": "The component-packing options the discrete layouts take under\n`packComponents: true` (item 58), the same spellings a force run's settle\nre-pack takes.",
      "fields": [
        {
          "name": "packComponents",
          "type": "boolean",
          "optional": true,
          "descr": "lay each disconnected component out on its own — one ring, one\ngrid, one tree per component — and shelf-pack the results largest\nfirst (default false: one drawing about one centre).  Locked\nnodes are left out and the packed field is moved off their boxes."
        },
        {
          "name": "componentSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between packed component boxes (default 40)"
        },
        {
          "name": "componentGroup",
          "type": "( component: LayoutComponentInfo, ) => string | number | null | undefined",
          "optional": true,
          "descr": "group the packed components (121.1): called once per component\nwith its description, and the components sharing a key pack on\ntheir own, the groups standing in a row left to right by key —\nnumbers ascending, then strings, then the unkeyed."
        },
        {
          "name": "componentOrder",
          "type": "(a: LayoutComponentInfo, b: LayoutComponentInfo) => number",
          "optional": true,
          "descr": "the order the pack lays components out in, a comparator over two\ndescriptions ahead of largest-first (121.1)."
        },
        {
          "name": "groupSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between the groups' packed boxes (default three\n`componentSpacing`s)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "GridLayoutOptions",
      "descr": "",
      "fields": [
        {
          "name": "name",
          "type": "'grid'",
          "optional": false,
          "descr": ""
        },
        {
          "name": "avoidOverlap",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "avoidOverlapPadding",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "condense",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "rows",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "cols",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "position",
          "type": "(node: unknown) => { row?: number; col?: number } | undefined",
          "optional": true,
          "descr": "returns a fixed { row, col } for a node handle"
        },
        {
          "name": "sort",
          "type": "LayoutSortMapping | ((a: unknown, b: unknown) => number)",
          "optional": true,
          "descr": "the cell order: a `{ data, order? }` sort mapping (canonical,\nserializable — 85.3) or a comparator over node handles"
        },
        {
          "name": "eles",
          "type": "unknown",
          "optional": true,
          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
        },
        {
          "name": "fit",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "padding",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "boundingBox",
          "type": "BoundingBoxInput",
          "optional": true,
          "descr": ""
        },
        {
          "name": "nodeDimensionsIncludeLabels",
          "type": "boolean",
          "optional": true,
          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
        },
        {
          "name": "spacingFactor",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "transform",
          "type": "(node: unknown, position: Position) => Position",
          "optional": true,
          "descr": "transform a computed position (e.g. to flip an axis)"
        },
        {
          "name": "animate",
          "type": "boolean",
          "optional": true,
          "descr": "whether to animate node positions into place"
        },
        {
          "name": "animationDuration",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animationEasing",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animateFilter",
          "type": "(node: unknown, i: number) => boolean",
          "optional": true,
          "descr": "which nodes animate (others jump); all by default"
        },
        {
          "name": "ready",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutready"
        },
        {
          "name": "stop",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutstop"
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": "zoom to set when fit is false"
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": "pan to set when fit is false"
        },
        {
          "name": "packComponents",
          "type": "boolean",
          "optional": true,
          "descr": "lay each disconnected component out on its own — one ring, one\ngrid, one tree per component — and shelf-pack the results largest\nfirst (default false: one drawing about one centre).  Locked\nnodes are left out and the packed field is moved off their boxes."
        },
        {
          "name": "componentSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between packed component boxes (default 40)"
        },
        {
          "name": "componentGroup",
          "type": "( component: LayoutComponentInfo, ) => string | number | null | undefined",
          "optional": true,
          "descr": "group the packed components (121.1): called once per component\nwith its description, and the components sharing a key pack on\ntheir own, the groups standing in a row left to right by key —\nnumbers ascending, then strings, then the unkeyed."
        },
        {
          "name": "componentOrder",
          "type": "(a: LayoutComponentInfo, b: LayoutComponentInfo) => number",
          "optional": true,
          "descr": "the order the pack lays components out in, a comparator over two\ndescriptions ahead of largest-first (121.1)."
        },
        {
          "name": "groupSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between the groups' packed boxes (default three\n`componentSpacing`s)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "PresetLayoutOptions",
      "descr": "",
      "fields": [
        {
          "name": "name",
          "type": "'preset'",
          "optional": false,
          "descr": ""
        },
        {
          "name": "positions",
          "type": "| Record<string, Position> | ((node: unknown) => Position | null | undefined)",
          "optional": true,
          "descr": "node id → position map, or a function of a node handle; absent nodes keep their position"
        },
        {
          "name": "eles",
          "type": "unknown",
          "optional": true,
          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
        },
        {
          "name": "fit",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "padding",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "boundingBox",
          "type": "BoundingBoxInput",
          "optional": true,
          "descr": ""
        },
        {
          "name": "nodeDimensionsIncludeLabels",
          "type": "boolean",
          "optional": true,
          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
        },
        {
          "name": "spacingFactor",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "transform",
          "type": "(node: unknown, position: Position) => Position",
          "optional": true,
          "descr": "transform a computed position (e.g. to flip an axis)"
        },
        {
          "name": "animate",
          "type": "boolean",
          "optional": true,
          "descr": "whether to animate node positions into place"
        },
        {
          "name": "animationDuration",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animationEasing",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animateFilter",
          "type": "(node: unknown, i: number) => boolean",
          "optional": true,
          "descr": "which nodes animate (others jump); all by default"
        },
        {
          "name": "ready",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutready"
        },
        {
          "name": "stop",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutstop"
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": "zoom to set when fit is false"
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": "pan to set when fit is false"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "CircleLayoutOptions",
      "descr": "",
      "fields": [
        {
          "name": "name",
          "type": "'circle'",
          "optional": false,
          "descr": ""
        },
        {
          "name": "avoidOverlap",
          "type": "boolean",
          "optional": true,
          "descr": "grow the ring until no two nodes overlap (default true; exact per pair)"
        },
        {
          "name": "avoidOverlapPadding",
          "type": "number",
          "optional": true,
          "descr": "extra room around every node under `avoidOverlap` (default 10)"
        },
        {
          "name": "condense",
          "type": "boolean",
          "optional": true,
          "descr": "size the ring by its nodes rather than by the box (125.5, grid's\nspelling): the radius is the smallest at which no two neighbours\nare closer than `avoidOverlapPadding`, so the gap is the option\nand the viewport only centres.  Off (the default), the ring fills\nthe box's shorter side, and `avoidOverlap` only\ngrows it.  An explicit `radius` replaces the box's; `avoidOverlap`\nstill grows either."
        },
        {
          "name": "radius",
          "type": "number",
          "optional": true,
          "descr": "the circle's radius (computed when omitted)"
        },
        {
          "name": "startAngle",
          "type": "number",
          "optional": true,
          "descr": "where nodes start in radians (default 3/2 π)"
        },
        {
          "name": "sweep",
          "type": "number",
          "optional": true,
          "descr": "radians between the first and last node (default: full circle)"
        },
        {
          "name": "clockwise",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "counterclockwise",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "sort",
          "type": "LayoutSortMapping | ((a: unknown, b: unknown) => number)",
          "optional": true,
          "descr": "the order around the circle: a `{ data, order? }` sort mapping\n(canonical, serializable — 85.3) or a comparator over node handles"
        },
        {
          "name": "eles",
          "type": "unknown",
          "optional": true,
          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
        },
        {
          "name": "fit",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "padding",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "boundingBox",
          "type": "BoundingBoxInput",
          "optional": true,
          "descr": ""
        },
        {
          "name": "nodeDimensionsIncludeLabels",
          "type": "boolean",
          "optional": true,
          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
        },
        {
          "name": "spacingFactor",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "transform",
          "type": "(node: unknown, position: Position) => Position",
          "optional": true,
          "descr": "transform a computed position (e.g. to flip an axis)"
        },
        {
          "name": "animate",
          "type": "boolean",
          "optional": true,
          "descr": "whether to animate node positions into place"
        },
        {
          "name": "animationDuration",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animationEasing",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animateFilter",
          "type": "(node: unknown, i: number) => boolean",
          "optional": true,
          "descr": "which nodes animate (others jump); all by default"
        },
        {
          "name": "ready",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutready"
        },
        {
          "name": "stop",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutstop"
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": "zoom to set when fit is false"
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": "pan to set when fit is false"
        },
        {
          "name": "packComponents",
          "type": "boolean",
          "optional": true,
          "descr": "lay each disconnected component out on its own — one ring, one\ngrid, one tree per component — and shelf-pack the results largest\nfirst (default false: one drawing about one centre).  Locked\nnodes are left out and the packed field is moved off their boxes."
        },
        {
          "name": "componentSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between packed component boxes (default 40)"
        },
        {
          "name": "componentGroup",
          "type": "( component: LayoutComponentInfo, ) => string | number | null | undefined",
          "optional": true,
          "descr": "group the packed components (121.1): called once per component\nwith its description, and the components sharing a key pack on\ntheir own, the groups standing in a row left to right by key —\nnumbers ascending, then strings, then the unkeyed."
        },
        {
          "name": "componentOrder",
          "type": "(a: LayoutComponentInfo, b: LayoutComponentInfo) => number",
          "optional": true,
          "descr": "the order the pack lays components out in, a comparator over two\ndescriptions ahead of largest-first (121.1)."
        },
        {
          "name": "groupSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between the groups' packed boxes (default three\n`componentSpacing`s)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "ConcentricLayoutOptions",
      "descr": "",
      "fields": [
        {
          "name": "name",
          "type": "'concentric'",
          "optional": false,
          "descr": ""
        },
        {
          "name": "startAngle",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "sweep",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "clockwise",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "counterclockwise",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "equidistant",
          "type": "boolean",
          "optional": true,
          "descr": "whether levels are an equal radial distance apart"
        },
        {
          "name": "minNodeSpacing",
          "type": "number",
          "optional": true,
          "descr": "min spacing between node outsides (radius adjustment)"
        },
        {
          "name": "avoidOverlap",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "height",
          "type": "number",
          "optional": true,
          "descr": "height/width of the layout area (override the container)"
        },
        {
          "name": "width",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "concentric",
          "type": "LayoutScoreMapping | ((node: unknown) => number)",
          "optional": true,
          "descr": "the score deciding ring membership — higher sits closer to the\ncenter (default: degree).  A `{ data, … }` score mapping\n(canonical, serializable — 85.3) or a function of the node handle"
        },
        {
          "name": "levelWidth",
          "type": "(nodes: unknown) => number",
          "optional": true,
          "descr": "the variation of concentric values per level (default: maxDegree / 4)"
        },
        {
          "name": "eles",
          "type": "unknown",
          "optional": true,
          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
        },
        {
          "name": "fit",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "padding",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "boundingBox",
          "type": "BoundingBoxInput",
          "optional": true,
          "descr": ""
        },
        {
          "name": "nodeDimensionsIncludeLabels",
          "type": "boolean",
          "optional": true,
          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
        },
        {
          "name": "spacingFactor",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "transform",
          "type": "(node: unknown, position: Position) => Position",
          "optional": true,
          "descr": "transform a computed position (e.g. to flip an axis)"
        },
        {
          "name": "animate",
          "type": "boolean",
          "optional": true,
          "descr": "whether to animate node positions into place"
        },
        {
          "name": "animationDuration",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animationEasing",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animateFilter",
          "type": "(node: unknown, i: number) => boolean",
          "optional": true,
          "descr": "which nodes animate (others jump); all by default"
        },
        {
          "name": "ready",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutready"
        },
        {
          "name": "stop",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutstop"
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": "zoom to set when fit is false"
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": "pan to set when fit is false"
        },
        {
          "name": "packComponents",
          "type": "boolean",
          "optional": true,
          "descr": "lay each disconnected component out on its own — one ring, one\ngrid, one tree per component — and shelf-pack the results largest\nfirst (default false: one drawing about one centre).  Locked\nnodes are left out and the packed field is moved off their boxes."
        },
        {
          "name": "componentSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between packed component boxes (default 40)"
        },
        {
          "name": "componentGroup",
          "type": "( component: LayoutComponentInfo, ) => string | number | null | undefined",
          "optional": true,
          "descr": "group the packed components (121.1): called once per component\nwith its description, and the components sharing a key pack on\ntheir own, the groups standing in a row left to right by key —\nnumbers ascending, then strings, then the unkeyed."
        },
        {
          "name": "componentOrder",
          "type": "(a: LayoutComponentInfo, b: LayoutComponentInfo) => number",
          "optional": true,
          "descr": "the order the pack lays components out in, a comparator over two\ndescriptions ahead of largest-first (121.1)."
        },
        {
          "name": "groupSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between the groups' packed boxes (default three\n`componentSpacing`s)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "BreadthFirstLayoutOptions",
      "descr": "Depth rows.  Without a `boundingBox` the rows and ranks are\nspread over the viewport in *pixels*, as grid, circle, concentric and\nradial spread theirs (125.4).  A compound parent is never a root or a placed\nnode;\nparents derive from their children.",
      "fields": [
        {
          "name": "name",
          "type": "'breadthfirst'",
          "optional": false,
          "descr": ""
        },
        {
          "name": "directed",
          "type": "boolean",
          "optional": true,
          "descr": "whether the tree is directed downwards (default false)"
        },
        {
          "name": "direction",
          "type": "'downward' | 'upward' | 'rightward' | 'leftward'",
          "optional": true,
          "descr": "drawing direction of the tree (default 'downward')"
        },
        {
          "name": "circle",
          "type": "boolean",
          "optional": true,
          "descr": "put depths in concentric circles instead of rows"
        },
        {
          "name": "grid",
          "type": "boolean",
          "optional": true,
          "descr": "place the DAG on an even grid (circle: false only)"
        },
        {
          "name": "avoidOverlap",
          "type": "boolean",
          "optional": true,
          "descr": "space ranks and the nodes within them so no two overlap (default true; per\nrank and per axis)"
        },
        {
          "name": "avoidOverlapPadding",
          "type": "number",
          "optional": true,
          "descr": "extra room around every node under `avoidOverlap` (default 0;\n`spacingFactor` supplies extra room)"
        },
        {
          "name": "roots",
          "type": "unknown",
          "optional": true,
          "descr": "the tree roots: a collection, or an array of node ids"
        },
        {
          "name": "depthSort",
          "type": "LayoutSortMapping | ((a: unknown, b: unknown) => number)",
          "optional": true,
          "descr": "the order within a depth: a `{ data, order? }` sort mapping\n(canonical, serializable — 85.3) or a comparator over node handles"
        },
        {
          "name": "maximal",
          "type": "boolean",
          "optional": true,
          "descr": "shift nodes down to their maximal depths (DAGs only)"
        },
        {
          "name": "acyclic",
          "type": "boolean",
          "optional": true,
          "descr": "with maximal: the graph is known acyclic (no cycle bail-out)"
        },
        {
          "name": "eles",
          "type": "unknown",
          "optional": true,
          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
        },
        {
          "name": "fit",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "padding",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "boundingBox",
          "type": "BoundingBoxInput",
          "optional": true,
          "descr": ""
        },
        {
          "name": "nodeDimensionsIncludeLabels",
          "type": "boolean",
          "optional": true,
          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
        },
        {
          "name": "spacingFactor",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "transform",
          "type": "(node: unknown, position: Position) => Position",
          "optional": true,
          "descr": "transform a computed position (e.g. to flip an axis)"
        },
        {
          "name": "animate",
          "type": "boolean",
          "optional": true,
          "descr": "whether to animate node positions into place"
        },
        {
          "name": "animationDuration",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animationEasing",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animateFilter",
          "type": "(node: unknown, i: number) => boolean",
          "optional": true,
          "descr": "which nodes animate (others jump); all by default"
        },
        {
          "name": "ready",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutready"
        },
        {
          "name": "stop",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutstop"
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": "zoom to set when fit is false"
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": "pan to set when fit is false"
        },
        {
          "name": "packComponents",
          "type": "boolean",
          "optional": true,
          "descr": "lay each disconnected component out on its own — one ring, one\ngrid, one tree per component — and shelf-pack the results largest\nfirst (default false: one drawing about one centre).  Locked\nnodes are left out and the packed field is moved off their boxes."
        },
        {
          "name": "componentSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between packed component boxes (default 40)"
        },
        {
          "name": "componentGroup",
          "type": "( component: LayoutComponentInfo, ) => string | number | null | undefined",
          "optional": true,
          "descr": "group the packed components (121.1): called once per component\nwith its description, and the components sharing a key pack on\ntheir own, the groups standing in a row left to right by key —\nnumbers ascending, then strings, then the unkeyed."
        },
        {
          "name": "componentOrder",
          "type": "(a: LayoutComponentInfo, b: LayoutComponentInfo) => number",
          "optional": true,
          "descr": "the order the pack lays components out in, a comparator over two\ndescriptions ahead of largest-first (121.1)."
        },
        {
          "name": "groupSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between the groups' packed boxes (default three\n`componentSpacing`s)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "RandomLayoutOptions",
      "descr": "",
      "fields": [
        {
          "name": "name",
          "type": "'random'",
          "optional": false,
          "descr": ""
        },
        {
          "name": "seed",
          "type": "number",
          "optional": true,
          "descr": "a seed for the scatter (125.8): the same seed places the same\ngraph the same way, run after run and instance after instance —\nthe stability every other built-in has and a scatter otherwise\ncannot.  Omitted (the default), the scatter is `Math.random`'s."
        },
        {
          "name": "eles",
          "type": "unknown",
          "optional": true,
          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
        },
        {
          "name": "fit",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "padding",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "boundingBox",
          "type": "BoundingBoxInput",
          "optional": true,
          "descr": ""
        },
        {
          "name": "nodeDimensionsIncludeLabels",
          "type": "boolean",
          "optional": true,
          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
        },
        {
          "name": "spacingFactor",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "transform",
          "type": "(node: unknown, position: Position) => Position",
          "optional": true,
          "descr": "transform a computed position (e.g. to flip an axis)"
        },
        {
          "name": "animate",
          "type": "boolean",
          "optional": true,
          "descr": "whether to animate node positions into place"
        },
        {
          "name": "animationDuration",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animationEasing",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animateFilter",
          "type": "(node: unknown, i: number) => boolean",
          "optional": true,
          "descr": "which nodes animate (others jump); all by default"
        },
        {
          "name": "ready",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutready"
        },
        {
          "name": "stop",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutstop"
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": "zoom to set when fit is false"
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": "pan to set when fit is false"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "PackLayoutOptions",
      "descr": "The `pack` layout (item 58): a translation-only re-pack of the components\nat their current positions — force's settle re-pack on its own, for a\ndrawing whose structure is done (a sim, a preset, a hand arrangement) and\nonly wants its components grouped, ordered and packed. The largest\ncomponent holds its centre. No shapes or orientation: those need edge\nlengths and belong to `force`.",
      "fields": [
        {
          "name": "name",
          "type": "'pack'",
          "optional": false,
          "descr": ""
        },
        {
          "name": "eles",
          "type": "unknown",
          "optional": true,
          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
        },
        {
          "name": "fit",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "padding",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "boundingBox",
          "type": "BoundingBoxInput",
          "optional": true,
          "descr": ""
        },
        {
          "name": "nodeDimensionsIncludeLabels",
          "type": "boolean",
          "optional": true,
          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
        },
        {
          "name": "spacingFactor",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "transform",
          "type": "(node: unknown, position: Position) => Position",
          "optional": true,
          "descr": "transform a computed position (e.g. to flip an axis)"
        },
        {
          "name": "animate",
          "type": "boolean",
          "optional": true,
          "descr": "whether to animate node positions into place"
        },
        {
          "name": "animationDuration",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animationEasing",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animateFilter",
          "type": "(node: unknown, i: number) => boolean",
          "optional": true,
          "descr": "which nodes animate (others jump); all by default"
        },
        {
          "name": "ready",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutready"
        },
        {
          "name": "stop",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutstop"
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": "zoom to set when fit is false"
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": "pan to set when fit is false"
        },
        {
          "name": "componentSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between packed component boxes (default 40)"
        },
        {
          "name": "componentGroup",
          "type": "( component: LayoutComponentInfo, ) => string | number | null | undefined",
          "optional": true,
          "descr": "group the packed components (121.1): called once per component\nwith its description, and the components sharing a key pack on\ntheir own, the groups standing in a row left to right by key —\nnumbers ascending, then strings, then the unkeyed."
        },
        {
          "name": "componentOrder",
          "type": "(a: LayoutComponentInfo, b: LayoutComponentInfo) => number",
          "optional": true,
          "descr": "the order the pack lays components out in, a comparator over two\ndescriptions ahead of largest-first (121.1)."
        },
        {
          "name": "groupSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between the groups' packed boxes (default three\n`componentSpacing`s)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "RadialLayoutOptions",
      "descr": "The radial tree layout: concentric rings with hierarchy-aware angular\nwedges — each subtree occupies a contiguous sector sized by its weight, so\nsubtrees never interleave.",
      "fields": [
        {
          "name": "name",
          "type": "'radial'",
          "optional": false,
          "descr": ""
        },
        {
          "name": "roots",
          "type": "unknown",
          "optional": true,
          "descr": "the tree roots: a collection or an array of node ids (never a\nselector string); omitted, a component's roots are the nodes with\nno incoming edge (125.3 — radial is a hierarchy's picture), or its\nmaximum-degree nodes when it has none (a cycle) — maximum degree\nalone before 125.3"
        },
        {
          "name": "startAngle",
          "type": "number",
          "optional": true,
          "descr": "where the sweep begins, in radians (default 3π/2 — up)"
        },
        {
          "name": "sweep",
          "type": "number",
          "optional": true,
          "descr": "the total angle the trees share, in radians (default 2π)"
        },
        {
          "name": "clockwise",
          "type": "boolean",
          "optional": true,
          "descr": "wedge order runs clockwise (default true)"
        },
        {
          "name": "levelSpacing",
          "type": "number",
          "optional": true,
          "descr": "the ring gap in model px; derived from the bounding box unset.\nA floor under `avoidOverlap`: a ring grows past it when its nodes\nwould otherwise touch"
        },
        {
          "name": "avoidOverlap",
          "type": "boolean",
          "optional": true,
          "descr": "each ring takes the smallest radius at which neither radial\nneighbours nor angular neighbours overlap (114.6; exact per pair\nsince 115; default true) — bodies, plus labels when\n`nodeDimensionsIncludeLabels` is true; wedge angles are never\nchanged"
        },
        {
          "name": "avoidOverlapPadding",
          "type": "number",
          "optional": true,
          "descr": "the gap kept between neighbouring boxes (default 10)"
        },
        {
          "name": "condense",
          "type": "boolean",
          "optional": true,
          "descr": "size the rings by their nodes rather than by the box (125.3,\ngrid's spelling): every ring takes the smallest radius that\nclears its own nodes and the ring inside it at\n`avoidOverlapPadding`, so the gap is the option and the viewport\nonly centres.  Off (the default), the rings start at an even share\nof the box's shorter side (or `levelSpacing`) and only grow from\nthere.  Implies `avoidOverlap`."
        },
        {
          "name": "weight",
          "type": "'leaves' | 'subtree'",
          "optional": true,
          "descr": "what sizes a subtree's wedge: its leaf count (default) or its\nwhole node count"
        },
        {
          "name": "eles",
          "type": "unknown",
          "optional": true,
          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
        },
        {
          "name": "fit",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "padding",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "boundingBox",
          "type": "BoundingBoxInput",
          "optional": true,
          "descr": ""
        },
        {
          "name": "nodeDimensionsIncludeLabels",
          "type": "boolean",
          "optional": true,
          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
        },
        {
          "name": "spacingFactor",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "transform",
          "type": "(node: unknown, position: Position) => Position",
          "optional": true,
          "descr": "transform a computed position (e.g. to flip an axis)"
        },
        {
          "name": "animate",
          "type": "boolean",
          "optional": true,
          "descr": "whether to animate node positions into place"
        },
        {
          "name": "animationDuration",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animationEasing",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animateFilter",
          "type": "(node: unknown, i: number) => boolean",
          "optional": true,
          "descr": "which nodes animate (others jump); all by default"
        },
        {
          "name": "ready",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutready"
        },
        {
          "name": "stop",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutstop"
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": "zoom to set when fit is false"
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": "pan to set when fit is false"
        },
        {
          "name": "packComponents",
          "type": "boolean",
          "optional": true,
          "descr": "lay each disconnected component out on its own — one ring, one\ngrid, one tree per component — and shelf-pack the results largest\nfirst (default false: one drawing about one centre).  Locked\nnodes are left out and the packed field is moved off their boxes."
        },
        {
          "name": "componentSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between packed component boxes (default 40)"
        },
        {
          "name": "componentGroup",
          "type": "( component: LayoutComponentInfo, ) => string | number | null | undefined",
          "optional": true,
          "descr": "group the packed components (121.1): called once per component\nwith its description, and the components sharing a key pack on\ntheir own, the groups standing in a row left to right by key —\nnumbers ascending, then strings, then the unkeyed."
        },
        {
          "name": "componentOrder",
          "type": "(a: LayoutComponentInfo, b: LayoutComponentInfo) => number",
          "optional": true,
          "descr": "the order the pack lays components out in, a comparator over two\ndescriptions ahead of largest-first (121.1)."
        },
        {
          "name": "groupSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between the groups' packed boxes (default three\n`componentSpacing`s)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "ForceLayoutOptions",
      "descr": "The built-in force layout: spring–electric with uniform-grid cutoff\nrepulsion, seeded and deterministic; runs through the extension contract.",
      "fields": [
        {
          "name": "name",
          "type": "'force'",
          "optional": false,
          "descr": ""
        },
        {
          "name": "edgeLength",
          "type": "number | LayoutScoreMapping | ((edge: unknown) => number)",
          "optional": true,
          "descr": "ideal edge length: a number; a `{ data, scale?, range?, invert?,\ndefault? }` score mapping (canonical, serializable — 85.3, e.g.\n`{ data: 'score', scale: 'log', range: [40, 200], invert: true }`\nfor large scores → short edges); or a plain fn of the edge handle.\nResolved once at start either way"
        },
        {
          "name": "repulsion",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "stiffness",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "gravity",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "decay",
          "type": "number",
          "optional": true,
          "descr": "alpha annealing rate per iteration"
        },
        {
          "name": "iterations",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "threshold",
          "type": "number",
          "optional": true,
          "descr": "convergence: settled when max displacement stays under this"
        },
        {
          "name": "seed",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "randomize",
          "type": "boolean",
          "optional": true,
          "descr": "fresh seeded scatter (default) vs relaxing current positions"
        },
        {
          "name": "animate",
          "type": "boolean",
          "optional": true,
          "descr": "tween the nodes from their current positions to the settled ones\n(114.5 — the discrete layouts' meaning), the viewport fitting\nalongside; `spacingFactor`, `transform`, `animateFilter`,\n`animationDuration`, `animationEasing`, `zoom` and `pan` apply.\nA rendered flat-graph run is async for both values — read\npositions at `layoutstop` / `promise()`."
        },
        {
          "name": "animateLive",
          "type": "boolean",
          "optional": true,
          "descr": "stream the run: positions land per frame while the sim runs (the\npre-114 `animate: true`); takes precedence over `animate`"
        },
        {
          "name": "infinite",
          "type": "boolean",
          "optional": true,
          "descr": "the run has no end of its own (118.3): it streams like\n`animateLive` and then ticks only while the field is moving — at\nrest it costs nothing, and a drag, a `position()` write or an\nadded / removed element (whole-graph scope) heats it back up; the\ngrabbed node is pinned for the gesture and its neighbourhood\nreflows around it.  `layout.stop()` ends it, landing the positions\nas they stand — no separation pass, no re-pack, no fit and no\ntween.  `avoidOverlap` therefore means the per-tick sweep\n(`'sim'`); `iterations` is ignored; `layout.reheat()` is the\nhandle for a change the run cannot see"
        },
        {
          "name": "stepsPerFrame",
          "type": "number",
          "optional": true,
          "descr": "iterations per animation frame (animateLive: true; default 3)"
        },
        {
          "name": "executor",
          "type": "'auto' | 'cpu' | 'gpu' | 'workers'",
          "optional": true,
          "descr": "where the simulation runs (default `'auto'`): `'auto'` takes the GPU\nintegrator where the renderer offers one, else the CPU simulation on a\nworker that loaded this same bundle wherever one can be constructed —\nheadless included, so a Node process keeps its event loop free as a page\nkeeps its UI thread (the run is then asynchronous: positions at\n`layoutstop` / `promise()`) — else in-thread. `'cpu'` is the in-thread\nreference (bit-reproducible; the worker answers the same bits) and the\nsynchronous spelling; `'workers'` asks for the worker and throws at start\nwhere none can be constructed; `'gpu'` throws at start where no\nintegrator is available"
        },
        {
          "name": "boundingBox",
          "type": "BoundingBoxInput",
          "optional": true,
          "descr": "fit the settle into an explicit box (116.2 — flow's rule): scaled\ndown, never up, until every body fits, then centred; uniform, so\nthe sim's structure is kept.  Skipped when a node is pinned or\nconstraints are set (as the component re-pack is)."
        },
        {
          "name": "avoidOverlap",
          "type": "boolean | 'settle' | 'sim' | 'both'",
          "optional": true,
          "descr": "keep node bodies apart — labels included when\n`nodeDimensionsIncludeLabels` is true, locked nodes as obstacles —\nand how (118.2): `true` or `'settle'` (the default) separates\nthem exactly after the settle (114.5; the dense case rebuilt in\n115, the crammed case in 118.1 — the cheapest for a one-shot run);\n`'sim'` runs a separation sweep after every tick instead, on both\nexecutors, so a streamed run holds its piles open as it streams\nand an `infinite` run stays clear at rest, at about a grid pass\nper tick — but a sweep is a local pass, and a field denser than\nits boxes allow (a 25k random graph in padded 12 px bodies) is\nonly opened by the settle's expansion, so such a graph wants\n`'both'`; `false` neither.  Any other value throws at start."
        },
        {
          "name": "avoidOverlapPadding",
          "type": "number",
          "optional": true,
          "descr": "the gap kept between separated bodies (default 10)"
        },
        {
          "name": "componentSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between disconnected components' packed boxes (default 40)"
        },
        {
          "name": "init",
          "type": "'spectral' | 'scatter'",
          "optional": true,
          "descr": "what a fresh placement is (59.4): 'spectral' (the default —\nlandmark-MDS per component, the global untangling) or 'scatter'\n(the plain seeded scatter).  Ignored under `randomize: false`."
        },
        {
          "name": "nestingFactor",
          "type": "number",
          "optional": true,
          "descr": "ideal-length multiplier per compound boundary an edge spans\n(length × levels × nestingFactor; default 1.2)"
        },
        {
          "name": "gravityCompound",
          "type": "number",
          "optional": true,
          "descr": "the compound centroid pull, as a multiple of `gravity` (59.5;\nthe Bilkent line's gravityCompound — default 1.5)"
        },
        {
          "name": "alignment",
          "type": "{ horizontal?: string[][]; vertical?: string[][] }",
          "optional": true,
          "descr": "alignment constraints (85.2, fcose's shape): `horizontal` groups\nshare a y coordinate, `vertical` groups an x — id arrays,\nserializable; groups sharing a node merge.  A locked member pins\nits group.  Constrained runs take the CPU executor."
        },
        {
          "name": "relativePlacement",
          "type": "( | { left: string; right: string; gap?: number } | { top: string; bottom: string; gap?: number } )[]",
          "optional": true,
          "descr": "relative-placement constraints (85.2): keep `left` at least\n`gap` px left of `right` (`top`/`bottom` likewise vertically);\n`gap` defaults to the run's mean ideal edge length."
        },
        {
          "name": "eles",
          "type": "unknown",
          "optional": true,
          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
        },
        {
          "name": "fit",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "padding",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "nodeDimensionsIncludeLabels",
          "type": "boolean",
          "optional": true,
          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
        },
        {
          "name": "spacingFactor",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "transform",
          "type": "(node: unknown, position: Position) => Position",
          "optional": true,
          "descr": "transform a computed position (e.g. to flip an axis)"
        },
        {
          "name": "animationDuration",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animationEasing",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animateFilter",
          "type": "(node: unknown, i: number) => boolean",
          "optional": true,
          "descr": "which nodes animate (others jump); all by default"
        },
        {
          "name": "ready",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutready"
        },
        {
          "name": "stop",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutstop"
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": "zoom to set when fit is false"
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": "pan to set when fit is false"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "FlowLayoutOptions",
      "descr": "The built-in flow layout: the Sugiyama-class layered layout — greedy-FAS\ncycle removal, network-simplex layering, crossing minimization by weighted\nlayer sweep, Brandes–Köpf coordinates. Emits node positions only: pair it\nwith `curve-style: taxi` (or bezier) and the edges route themselves,\nstaying correct when nodes are dragged. Runs through the extension\ncontract, so `cy.layout({ name: 'flow' })` returns a wrapper with\n`promise()`.",
      "fields": [
        {
          "name": "name",
          "type": "'flow'",
          "optional": false,
          "descr": ""
        },
        {
          "name": "direction",
          "type": "'downward' | 'upward' | 'leftward' | 'rightward'",
          "optional": true,
          "descr": "drawing direction of the flow (default 'downward')"
        },
        {
          "name": "nodeSep",
          "type": "number",
          "optional": true,
          "descr": "px gap between adjacent nodes in a rank (default 50): between\ntheir boxes' facing sides, each node's own extent on that side\n(125.2 — a label hung to one side of its body extends that side\nalone), and along the rank's axis for the direction (a rightward\nrank is separated by heights)"
        },
        {
          "name": "rankSep",
          "type": "number",
          "optional": true,
          "descr": "px gap between rank rows (default 60): a row reaches as far\nfrom its centre line as its nodes' extents on each side, and a\ntaxi edge's turn lands inside this band, which the layout keeps\nnode-free"
        },
        {
          "name": "edgeSep",
          "type": "number",
          "optional": true,
          "descr": "px per taxi track a rank gap grows to hold (default 10, round\n124.5): the gap below a rank becomes `max(rankSep, tracks ×\nedgeSep + 20)`, where `tracks` is how many of that rank's fan-outs\noverlap on one line — the lines `taxi-turn: auto` draws; 0 leaves\nevery gap at `rankSep`"
        },
        {
          "name": "layering",
          "type": "'network-simplex' | 'longest-path' | 'auto'",
          "optional": true,
          "descr": "rank assignment: 'network-simplex' (GKNV — fewest long edges,\ndefault), 'longest-path' (O(V+E), the huge-graph fast path), or\n'auto' (simplex up to ~50k nodes, then longest-path)"
        },
        {
          "name": "thoroughness",
          "type": "number",
          "optional": true,
          "descr": "crossing-minimization effort, 1..10 (default 7): scales the\nsweep and transpose budgets"
        },
        {
          "name": "minLength",
          "type": "number | LayoutScoreMapping | ((edge: unknown) => number)",
          "optional": true,
          "descr": "minimum ranks an edge must span (default 1): a number, a\n`{ data, … }` score mapping (85.3), or a fn of the edge handle"
        },
        {
          "name": "edgeWeight",
          "type": "number | LayoutScoreMapping | ((edge: unknown) => number)",
          "optional": true,
          "descr": "edge straightening weight (default 1): heavier edges pull\nstraighter through crossing minimization and coordinates — a\nnumber, a score mapping, or a fn of the edge handle"
        },
        {
          "name": "acyclic",
          "type": "boolean",
          "optional": true,
          "descr": "the graph is known acyclic: skip cycle removal (default false)"
        },
        {
          "name": "cycleRemoval",
          "type": "'greedy' | 'dfs'",
          "optional": true,
          "descr": "which arcs flip on cycles: 'greedy' (Eades–Lin–Smyth bound,\ndefault) or 'dfs' (input order dominates)"
        },
        {
          "name": "rankConstraints",
          "type": "{ min?: string[]; max?: string[]; same?: string[][] }",
          "optional": true,
          "descr": "rank constraints as id lists (never selector strings): `min`\npins to the first rank, `max` to the last, each `same` group to\none shared rank"
        },
        {
          "name": "componentSpacing",
          "type": "number",
          "optional": true,
          "descr": "the gap between packed disconnected components (default 40)"
        },
        {
          "name": "avoidOverlap",
          "type": "boolean",
          "optional": true,
          "descr": "separate nodes by their extents (default true) — bodies, plus\nlabels when `nodeDimensionsIncludeLabels` is true (114.6);\nfalse places points, `nodeSep` / `rankSep` then centre to centre"
        },
        {
          "name": "avoidOverlapPadding",
          "type": "number",
          "optional": true,
          "descr": "extra room around each body (default 0 — `nodeSep` and `rankSep`\nown the spacing)"
        },
        {
          "name": "eles",
          "type": "unknown",
          "optional": true,
          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
        },
        {
          "name": "fit",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "padding",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "boundingBox",
          "type": "BoundingBoxInput",
          "optional": true,
          "descr": ""
        },
        {
          "name": "nodeDimensionsIncludeLabels",
          "type": "boolean",
          "optional": true,
          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
        },
        {
          "name": "spacingFactor",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "transform",
          "type": "(node: unknown, position: Position) => Position",
          "optional": true,
          "descr": "transform a computed position (e.g. to flip an axis)"
        },
        {
          "name": "animate",
          "type": "boolean",
          "optional": true,
          "descr": "whether to animate node positions into place"
        },
        {
          "name": "animationDuration",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animationEasing",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animateFilter",
          "type": "(node: unknown, i: number) => boolean",
          "optional": true,
          "descr": "which nodes animate (others jump); all by default"
        },
        {
          "name": "ready",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutready"
        },
        {
          "name": "stop",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutstop"
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": "zoom to set when fit is false"
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": "pan to set when fit is false"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "CustomLayoutOptions",
      "descr": "The extension contract: a direct impl object/class — no name, no registry —\nplus any custom knobs the impl reads off ctx.options.",
      "fields": [
        {
          "name": "impl",
          "type": "unknown",
          "optional": false,
          "descr": ""
        },
        {
          "name": "name",
          "type": "undefined",
          "optional": true,
          "descr": ""
        },
        {
          "name": "eles",
          "type": "unknown",
          "optional": true,
          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
        },
        {
          "name": "fit",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "padding",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "boundingBox",
          "type": "BoundingBoxInput",
          "optional": true,
          "descr": ""
        },
        {
          "name": "nodeDimensionsIncludeLabels",
          "type": "boolean",
          "optional": true,
          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
        },
        {
          "name": "spacingFactor",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "transform",
          "type": "(node: unknown, position: Position) => Position",
          "optional": true,
          "descr": "transform a computed position (e.g. to flip an axis)"
        },
        {
          "name": "animate",
          "type": "boolean",
          "optional": true,
          "descr": "whether to animate node positions into place"
        },
        {
          "name": "animationDuration",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animationEasing",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animateFilter",
          "type": "(node: unknown, i: number) => boolean",
          "optional": true,
          "descr": "which nodes animate (others jump); all by default"
        },
        {
          "name": "ready",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutready"
        },
        {
          "name": "stop",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutstop"
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": "zoom to set when fit is false"
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": "pan to set when fit is false"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "LayoutOptions",
      "descr": "",
      "fields": [
        {
          "name": "name",
          "type": "'grid'",
          "optional": true,
          "descr": ""
        },
        {
          "name": "eles",
          "type": "unknown",
          "optional": true,
          "descr": "the elements to lay out (set automatically by `eles.layout()`); defaults to the whole graph"
        },
        {
          "name": "fit",
          "type": "boolean",
          "optional": true,
          "descr": ""
        },
        {
          "name": "padding",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "boundingBox",
          "type": "BoundingBoxInput",
          "optional": true,
          "descr": "fit the settle into an explicit box (116.2 — flow's rule): scaled\ndown, never up, until every body fits, then centred; uniform, so\nthe sim's structure is kept.  Skipped when a node is pinned or\nconstraints are set (as the component re-pack is)."
        },
        {
          "name": "nodeDimensionsIncludeLabels",
          "type": "boolean",
          "optional": true,
          "descr": "include labels in the node dimensions a layout spaces by — default\n`false`. Every built-in's overlap avoidance reads the same boxes, so `true`\nkeeps labels apart too. Headless label dimensions are estimates."
        },
        {
          "name": "spacingFactor",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "transform",
          "type": "(node: unknown, position: Position) => Position",
          "optional": true,
          "descr": "transform a computed position (e.g. to flip an axis)"
        },
        {
          "name": "animate",
          "type": "boolean",
          "optional": true,
          "descr": "whether to animate node positions into place\ntween the nodes from their current positions to the settled ones\n(114.5 — the discrete layouts' meaning), the viewport fitting\nalongside; `spacingFactor`, `transform`, `animateFilter`,\n`animationDuration`, `animationEasing`, `zoom` and `pan` apply.\nA rendered flat-graph run is async for both values — read\npositions at `layoutstop` / `promise()`."
        },
        {
          "name": "animationDuration",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animationEasing",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "animateFilter",
          "type": "(node: unknown, i: number) => boolean",
          "optional": true,
          "descr": "which nodes animate (others jump); all by default"
        },
        {
          "name": "ready",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutready"
        },
        {
          "name": "stop",
          "type": "() => void",
          "optional": true,
          "descr": "callback on layoutstop"
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": "zoom to set when fit is false"
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": "pan to set when fit is false"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "WorkerFontFace",
      "descr": "One font face for the worker-hosted renderer's labels. A worker does not\ninherit the page's `@font-face` registrations, so the worker host registers\nthe faces listed in `renderer.fonts` in its own worker, from their bytes —\nthe family, the descriptors and the source the `FontFace` constructor\ntakes, with a url fetched rather than passed through.",
      "fields": [
        {
          "name": "family",
          "type": "string",
          "optional": false,
          "descr": "the family name the sheet's `font-family` names"
        },
        {
          "name": "source",
          "type": "string | ArrayBuffer | ArrayBufferView",
          "optional": false,
          "descr": "the face file's url (resolved against the document), or its bytes\n(woff2, woff, ttf or otf), which are copied to the worker"
        },
        {
          "name": "style",
          "type": "string",
          "optional": true,
          "descr": "CSS font-style the face covers (default 'normal')"
        },
        {
          "name": "weight",
          "type": "string",
          "optional": true,
          "descr": "CSS font-weight the face covers, or a range (default 'normal')"
        },
        {
          "name": "stretch",
          "type": "string",
          "optional": true,
          "descr": "CSS font-stretch the face covers (default 'normal')"
        },
        {
          "name": "unicodeRange",
          "type": "string",
          "optional": true,
          "descr": "the code points the face covers (default all)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "RendererOptions",
      "descr": "Renderer tuning knobs (all LOD values in device px).",
      "fields": [
        {
          "name": "edgeWidthFloor",
          "type": "number",
          "optional": true,
          "descr": "minimum edge width; thinner edges are floored and alpha-compensated (default 1)"
        },
        {
          "name": "nodeLodPx",
          "type": "number",
          "optional": true,
          "descr": "below this node size, nodes draw as plain AA discs without decorations (default 3)"
        },
        {
          "name": "hidePx",
          "type": "number",
          "optional": true,
          "descr": "below this size, elements are floored to it and alpha-compensated (default 1)"
        },
        {
          "name": "edgeDimming",
          "type": "boolean",
          "optional": true,
          "descr": "dim edges as zoom decreases below 1 (default false)"
        },
        {
          "name": "labelFadePx",
          "type": "number",
          "optional": true,
          "descr": "labels fade out as displayed glyph height drops below this\n(default 6).  Displayed px: measured after any adaptive render-scale\nupscale, so labels never pop out just because the resolution dropped\nmid-gesture."
        },
        {
          "name": "labelMinPx",
          "type": "number",
          "optional": true,
          "descr": "labels below this displayed glyph height are not rendered at all —\ntoo small to read anyway (default 0 = off; the fade's own cutoff at\nlabelFadePx/2 still applies)"
        },
        {
          "name": "imageMinPx",
          "type": "number",
          "optional": true,
          "descr": "background images are skipped on nodes below this displayed px size —\nunreadable anyway, and far-zoom sampling is pure cost (default 8; the\nplain-disc LOD owns the pixel below ~3px).."
        },
        {
          "name": "renderScaleMin",
          "type": "number",
          "optional": true,
          "descr": "adaptive resolution band, lower bound (default 0.5).  Under GPU\nload the renderer drops the render scale in quarter steps toward\nthis; frames below the bound's cost budget raise it back.  Scenes\nrender at scale × native resolution and upscale to the canvas with\nCatmull-Rom bicubic filtering (fill cost ~scale²).  Shortly after\ndrawing stops, one frame re-renders at renderScaleMax so still\nimages are always full-resolution.  Picking always runs at native\nresolution.  Set min === max to pin a fixed scale."
        },
        {
          "name": "renderScaleMax",
          "type": "number",
          "optional": true,
          "descr": "adaptive resolution band, upper bound (default 1 = native)"
        },
        {
          "name": "pixelRatio",
          "type": "number | 'auto'",
          "optional": true,
          "descr": "device pixel ratio override; defaults to the window's"
        },
        {
          "name": "worker",
          "type": "boolean",
          "optional": true,
          "descr": "Host the renderer in a worker via OffscreenCanvas: the frame loop, GPU\npipelines and uploads leave the main thread, which keeps the page\nresponsive under render load. The model stays main-side and synchronous;\nper-frame deltas cross as transferable span messages. Requires Worker +\nOffscreenCanvas + WebGPU-in-worker support, and mounting rejects loudly\nwithout them — there is no silent same-thread fallback. Background images\ndecode in the worker (SVG sources raster on the main thread, which has\nthe `<img>` they need), the force layout's integrator runs there, and CPU\ntweens cross as ordinary deltas. Labels use the faces listed in `fonts` —\nthe page's `@font-face` rules do not reach a worker. Verified end to end\nin Chromium; WebKit's worker font and image mechanics are verified, its\nworker-side WebGPU is not."
        },
        {
          "name": "fonts",
          "type": "WorkerFontFace[]",
          "optional": true,
          "descr": "The font faces the worker host registers for label text, each fetched and\nregistered from its bytes in the worker. Labels draw as soon as the\nrenderer is ready, in the fallback face for a family whose face is still\nloading, and re-raster when a face the sheet's `font-family` names lands\n— the same-thread renderer's web-font behaviour. A face that fails to\nload emits one `error` event on the core and its family keeps the\nfallback. Ignored without `worker: true`: the same-thread renderer uses\nthe page's own faces."
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "RendererStats",
      "descr": "Snapshot returned by `cy.renderer().stats()`.",
      "fields": [
        {
          "name": "frames",
          "type": "number",
          "optional": false,
          "descr": ""
        },
        {
          "name": "cpuFrameMs",
          "type": "number",
          "optional": false,
          "descr": "CPU cost of building + submitting the last frame (encoding is fire-and-forget)"
        },
        {
          "name": "gpuFrameMs",
          "type": "number",
          "optional": false,
          "descr": "GPU execution time of the last measured scene pass; 0 when 'timestamp-query' is unavailable"
        },
        {
          "name": "gpuFrameReadings",
          "type": "number",
          "optional": false,
          "descr": "how many GPU timings have resolved. `gpuFrameMs` is latest-wins and\nquantized, so a sampler cannot tell a repeated value from a stale one;\nthis counter can, and a sampler that keys off the value instead records\ntransitions rather than frames"
        },
        {
          "name": "renderScale",
          "type": "number",
          "optional": false,
          "descr": "current adaptive render scale (fraction of native resolution)"
        },
        {
          "name": "uploadedBytes",
          "type": "number",
          "optional": false,
          "descr": ""
        },
        {
          "name": "nodes",
          "type": "number",
          "optional": false,
          "descr": ""
        },
        {
          "name": "edges",
          "type": "number",
          "optional": false,
          "descr": ""
        },
        {
          "name": "glyphs",
          "type": "number",
          "optional": false,
          "descr": ""
        },
        {
          "name": "pickLatencyMs",
          "type": "number",
          "optional": false,
          "descr": ""
        },
        {
          "name": "pickDeferrals",
          "type": "number",
          "optional": false,
          "descr": "frames that found the pick staging ring full and deferred the request\nto a later frame (saturation meter; requests are never dropped)"
        },
        {
          "name": "mapperUploadedBytes",
          "type": "number",
          "optional": false,
          "descr": "data bytes uploaded for GPU mapper evaluation (paint-channel restyles)"
        },
        {
          "name": "mapperDispatches",
          "type": "number",
          "optional": false,
          "descr": "mapper eval dispatches encoded"
        },
        {
          "name": "labelShapeHits",
          "type": "number",
          "optional": false,
          "descr": "shaping-memo hits/misses: shared label texts shape once"
        },
        {
          "name": "labelShapeMisses",
          "type": "number",
          "optional": false,
          "descr": ""
        },
        {
          "name": "glyphAtlasTier",
          "type": "number",
          "optional": false,
          "descr": "the glyph atlas raster tier: 1 = the 32 px base raster, 2 = the 64 px\nraster the zoom meter promotes to when the largest label in use displays\ntaller than ~40 device px. Promotion is one-way for the renderer's\nlifetime."
        },
        {
          "name": "gpu",
          "type": "GpuMemoryStats",
          "optional": false,
          "descr": "the renderer's own GPU allocation ledger — see {@link GpuMemoryStats}"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "GpuMemoryStats",
      "descr": "The renderer's allocation ledger: every buffer and texture its device\ncreates, counted at creation and at `destroy()`. WebGPU exposes no memory\nmeter, so these are the renderer's own figures — requested bytes, not what\nthe driver commits — and a figure that trends upward across a session at a\nfixed graph size is a leak. All zero before `ready`.",
      "fields": [
        {
          "name": "liveBytes",
          "type": "number",
          "optional": false,
          "descr": "bytes allocated and not yet destroyed"
        },
        {
          "name": "peakBytes",
          "type": "number",
          "optional": false,
          "descr": "the most `liveBytes` has been"
        },
        {
          "name": "buffers",
          "type": "number",
          "optional": false,
          "descr": "live buffers"
        },
        {
          "name": "textures",
          "type": "number",
          "optional": false,
          "descr": "live textures"
        },
        {
          "name": "allocations",
          "type": "number",
          "optional": false,
          "descr": "buffers and textures created, cumulative (reallocations included)"
        },
        {
          "name": "allocationFailures",
          "type": "number",
          "optional": false,
          "descr": "allocations the device refused — out of memory or invalid —\ncumulative; each also fired a `gpuerror` event"
        },
        {
          "name": "errors",
          "type": "number",
          "optional": false,
          "descr": "uncaptured device errors, cumulative (a `gpuerror` fires for the\nfirst of each distinct message)"
        },
        {
          "name": "byLabel",
          "type": "Record<string, { bytes: number; count: number }>",
          "optional": false,
          "descr": "live bytes and counts by allocation label (`'cy-gpu:node.position'`,\n`'cy-gpu:glyphs'`, …)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "GpuErrorInfo",
      "descr": "The payload of the core's `gpuerror` event: `cy.on( 'gpuerror', ( evt,\ninfo) => …)`. Fired when the renderer's device refused an allocation,\nreported an error nothing else caught, or when the renderer stopped drawing\na feature because its buffer would not fit the device — the degradation\norder: labels first, then charts and images, then gradients.",
      "fields": [
        {
          "name": "kind",
          "type": "'out-of-memory' | 'validation' | 'internal' | 'unfit'",
          "optional": false,
          "descr": "`'out-of-memory'` / `'validation'` / `'internal'` — the device's own\nerror class; `'unfit'` — a buffer the renderer declined to allocate\nbecause it would exceed the device's limits, or an image pool past its\n2^24-float ref reach, or a chart pool past its u32 word-address reach"
        },
        {
          "name": "message",
          "type": "string",
          "optional": false,
          "descr": "the device's message, or the renderer's for `'unfit'`"
        },
        {
          "name": "label",
          "type": "string",
          "optional": true,
          "descr": "the allocation's label, when an allocation failed or was declined\n(a mirror column reads `'cy-gpu:<column id>'`)"
        },
        {
          "name": "bytes",
          "type": "number",
          "optional": true,
          "descr": "the bytes the allocation asked for"
        },
        {
          "name": "degraded",
          "type": "string",
          "optional": true,
          "descr": "what the renderer stopped drawing in response: `'labels'`,\n`'charts'`, `'images'`, `'curves'`, `'gradients'`, or `'frames'`\n(a core column failed: the scene holds its last frame)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "BoxSelectionMode",
      "descr": "How the box-selection gesture decides what the band caught: `'contain'`\nselects only elements wholly inside it (the default), while\n`'overlap'` selects anything it touches.\n\nThis is a whole-instance interaction setting. Use the `events` style property\nto exclude individual elements from pointer interaction.",
      "fields": [
        {
          "name": "length",
          "type": "number",
          "optional": false,
          "descr": "Returns the length of a String object."
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "WheelBehavior",
      "descr": "What a wheel over the canvas does (the #1905/#3287 family). The trackpad\npinch arrives as a ctrl+wheel, so every mode keeps pinch-zoom:\n\n- `'zoom'` (the default): the wheel zooms about the cursor. -\n`'pan'`: the wheel pans by its delta (gated by `panningEnabled` and\n`userPanningEnabled`, emitting `scrollpan`); a ctrl- or meta-wheel — the\npinch — still zooms. - `'modifier-zoom'`: the plain wheel is **not\nconsumed** — the page scrolls past the graph, the embedded-map idiom — and\na ctrl- or meta-wheel zooms.\n\nWhatever the mode, the library calls `preventDefault()` only on a wheel it\nacts on, so a wheel the settings leave inert scrolls the page.",
      "fields": [
        {
          "name": "length",
          "type": "number",
          "optional": false,
          "descr": "Returns the length of a String object."
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "ViewportCounts",
      "descr": "What `cy.viewportCounts()` resolves with: how many nodes and edges the\nrenderer's cull kept for one drawn frame — the elements actually drawn,\nafter the viewport test, `visibility` and the level of detail (a node below\n`hidePx`, a decimated hairline edge). Compound parents count as nodes;\nlabels are not counted.",
      "fields": [
        {
          "name": "nodes",
          "type": "number",
          "optional": false,
          "descr": "visible nodes, compound parents included"
        },
        {
          "name": "edges",
          "type": "number",
          "optional": false,
          "descr": "visible edges, straight and curved"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "CursorState",
      "descr": "What the pointer is doing and what it is over, as the cursor map reads it.\n`gesture` is the press mode the interaction layer decided at pointerdown —\na press outranks hover, so a drag that crosses another node keeps saying\n`grabbing`.",
      "fields": [
        {
          "name": "gesture",
          "type": "'idle' | 'pan' | 'grab' | 'box'",
          "optional": false,
          "descr": "the active press, or `'idle'` between gestures"
        },
        {
          "name": "hover",
          "type": "'none' | 'element' | 'draggable-node'",
          "optional": false,
          "descr": "what the hover pick found: nothing, an element, or a node the drag\npredicate accepts (grabbable, unlocked, not animating)"
        },
        {
          "name": "pointerType",
          "type": "string",
          "optional": false,
          "descr": "the pointer's `pointerType`; `'touch'` never gets a cursor"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "CursorMap",
      "descr": "The CSS cursor per interaction state. Every value is a CSS cursor keyword,\nor `''` meaning inherit — which hands that state back to whatever the app's\nown container sets, and is the default for `idle` so the canvas is silent\nwhere it has nothing to say.\n\nThe defaults use standard browser affordances.",
      "fields": [
        {
          "name": "idle",
          "type": "string",
          "optional": false,
          "descr": "no gesture, nothing under the pointer (default `''` — inherit)"
        },
        {
          "name": "hoverElement",
          "type": "string",
          "optional": false,
          "descr": "hovering any interactive element (default `'pointer'`)"
        },
        {
          "name": "hoverNode",
          "type": "string",
          "optional": false,
          "descr": "hovering a node the drag predicate accepts (default `'grab'`)"
        },
        {
          "name": "pan",
          "type": "string",
          "optional": false,
          "descr": "an active pan press (default `'grabbing'`)"
        },
        {
          "name": "grab",
          "type": "string",
          "optional": false,
          "descr": "an active node-drag press (default `'grabbing'`)"
        },
        {
          "name": "box",
          "type": "string",
          "optional": false,
          "descr": "an active box-selection press (default `'crosshair'`)"
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "CytoscapeOptions",
      "descr": "",
      "fields": [
        {
          "name": "container",
          "type": "HTMLElement | null",
          "optional": true,
          "descr": "Where to render.  When given, WebGPU is required: the factory throws\nsynchronously if `navigator.gpu` is missing.  When omitted, the instance\nis headless (works in Node, never throws for missing GPU)."
        },
        {
          "name": "elements",
          "type": "ElementsInput<NodeData, EdgeData>",
          "optional": true,
          "descr": "the initial elements — typed by the instance's shapes"
        },
        {
          "name": "style",
          "type": "Stylesheet<NodeData, EdgeData>",
          "optional": true,
          "descr": "the stylesheet — its field references typed likewise"
        },
        {
          "name": "layout",
          "type": "LayoutOptions",
          "optional": true,
          "descr": ""
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": ""
        },
        {
          "name": "minZoom",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "maxZoom",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "autolock",
          "type": "boolean",
          "optional": true,
          "descr": "disable node dragging globally (default false)"
        },
        {
          "name": "autoungrabify",
          "type": "boolean",
          "optional": true,
          "descr": "make all nodes ungrabbable globally (default false)"
        },
        {
          "name": "autounselectify",
          "type": "boolean",
          "optional": true,
          "descr": "disable selection globally (default false)"
        },
        {
          "name": "panningEnabled",
          "type": "boolean",
          "optional": true,
          "descr": "allow panning at all — programmatic and user (default true)"
        },
        {
          "name": "userPanningEnabled",
          "type": "boolean",
          "optional": true,
          "descr": "allow user (pointer) panning (default true)"
        },
        {
          "name": "zoomingEnabled",
          "type": "boolean",
          "optional": true,
          "descr": "allow zooming at all — programmatic and user (default true)"
        },
        {
          "name": "userZoomingEnabled",
          "type": "boolean",
          "optional": true,
          "descr": "allow user (wheel/pinch) zooming (default true)"
        },
        {
          "name": "boxSelectionEnabled",
          "type": "boolean",
          "optional": true,
          "descr": "allow box selection (default true)"
        },
        {
          "name": "boxSelectionIncludesLabels",
          "type": "boolean",
          "optional": true,
          "descr": "box selection considers label boxes too (default false). Its sense follows\n`boxSelectionMode`: it narrows a 'contain' selection and widens an\n'overlap' one."
        },
        {
          "name": "boxSelectionMode",
          "type": "BoxSelectionMode",
          "optional": true,
          "descr": "what the box-selection gesture counts as selected: 'contain' (default)\ntakes only elements wholly inside the band; 'overlap' takes\nanything the band touches."
        },
        {
          "name": "selectionType",
          "type": "'single' | 'additive'",
          "optional": true,
          "descr": "'single' (tap/box replaces the selection) or 'additive' (taps toggle, boxes add); default 'single'"
        },
        {
          "name": "multiClickDebounceTime",
          "type": "number",
          "optional": true,
          "descr": "the dbltap/onetap debounce window in ms (default 250)"
        },
        {
          "name": "wheelSensitivity",
          "type": "number",
          "optional": true,
          "descr": "wheel-zoom rate multiplier (default 1; custom values warn once — a\nsensitivity tuned to one mouse/OS zooms unnaturally on others)."
        },
        {
          "name": "wheelBehavior",
          "type": "WheelBehavior",
          "optional": true,
          "descr": "what a wheel does: 'zoom' (default), 'pan' (ctrl/meta — the pinch —\nstill zooms) or 'modifier-zoom' (only a ctrl/meta wheel zooms; a plain\nwheel scrolls the page)."
        },
        {
          "name": "desktopTapThreshold",
          "type": "number",
          "optional": true,
          "descr": "css px a mouse/pen press may move and still count as a tap (default 4)."
        },
        {
          "name": "touchTapThreshold",
          "type": "number",
          "optional": true,
          "descr": "css px a touch press may move and still count as a tap (default 8)."
        },
        {
          "name": "tapholdDuration",
          "type": "number",
          "optional": true,
          "descr": "unmoved-press duration before 'taphold' fires, in ms (default 500)."
        },
        {
          "name": "pointerCursors",
          "type": "boolean | Partial<CursorMap>",
          "optional": true,
          "descr": "whether the canvas writes CSS cursors for the gesture affordances —\n`grab`/`grabbing` around dragging, `pointer` over an element, `crosshair`\nwhile boxing (default true).\n\n`false` means the interaction layer never touches `style.cursor`, for an\napp that sets its own; an object overrides individual entries (`{ pan:\n'move' }`), where `''` means inherit."
        },
        {
          "name": "headlessWidth",
          "type": "number",
          "optional": true,
          "descr": "rendered dimensions used when headless"
        },
        {
          "name": "headlessHeight",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "pixelRatio",
          "type": "number | 'auto'",
          "optional": true,
          "descr": "device pixel ratio override; defaults to the window's"
        },
        {
          "name": "renderer",
          "type": "RendererOptions",
          "optional": true,
          "descr": ""
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "HeadlessOptions",
      "descr": "The options of the slim builds' factories — `cytoscape/headless` and\n`cytoscape/headless-gpu`: {@link CytoscapeOptions} minus the fields only a\nrenderer or the pointer handler reads. A build with no renderer has nothing\nto honour them with, so the type rejects them (TypeScript's excess-property\ncheck) and, at run time, a `container` throws `this build has no renderer —\nimport 'cytoscape'`.",
      "fields": [
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": ""
        },
        {
          "name": "elements",
          "type": "ElementsInput<NodeData, EdgeData>",
          "optional": true,
          "descr": "the initial elements — typed by the instance's shapes"
        },
        {
          "name": "style",
          "type": "Stylesheet<NodeData, EdgeData>",
          "optional": true,
          "descr": "the stylesheet — its field references typed likewise"
        },
        {
          "name": "layout",
          "type": "LayoutOptions",
          "optional": true,
          "descr": ""
        },
        {
          "name": "minZoom",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "maxZoom",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "autolock",
          "type": "boolean",
          "optional": true,
          "descr": "disable node dragging globally (default false)"
        },
        {
          "name": "autoungrabify",
          "type": "boolean",
          "optional": true,
          "descr": "make all nodes ungrabbable globally (default false)"
        },
        {
          "name": "autounselectify",
          "type": "boolean",
          "optional": true,
          "descr": "disable selection globally (default false)"
        },
        {
          "name": "panningEnabled",
          "type": "boolean",
          "optional": true,
          "descr": "allow panning at all — programmatic and user (default true)"
        },
        {
          "name": "zoomingEnabled",
          "type": "boolean",
          "optional": true,
          "descr": "allow zooming at all — programmatic and user (default true)"
        },
        {
          "name": "selectionType",
          "type": "'single' | 'additive'",
          "optional": true,
          "descr": "'single' (tap/box replaces the selection) or 'additive' (taps toggle, boxes add); default 'single'"
        },
        {
          "name": "headlessWidth",
          "type": "number",
          "optional": true,
          "descr": "rendered dimensions used when headless"
        },
        {
          "name": "headlessHeight",
          "type": "number",
          "optional": true,
          "descr": ""
        }
      ],
      "source": "src/public-types.mts"
    },
    {
      "name": "ToColumnarOptions",
      "descr": "Options for {@link toColumnarElements}.",
      "fields": [
        {
          "name": "refs",
          "type": "boolean",
          "optional": true,
          "descr": "Carry what the payload names but does not hold as **node references**\ninstead of throwing: an edge endpoint or a node parent that is not a node\nin the payload goes into the result's `refs`, indexed past its own nodes,\nto be resolved against the graph the payload loads into. This is how a\nchunk of a progressive `cy.load()` carries its cut edges in the columnar\nand wire forms. Default false: the payload must be self-contained."
        }
      ],
      "source": "src/columnar.mts"
    },
    {
      "name": "AlgoRun",
      "descr": "The promise an async algorithm returns: a `Promise` of the result\nplus `cancel()`.  A caller that never cancels sees an ordinary\npromise.",
      "fields": [],
      "source": "src/algorithms/cancel.mts"
    },
    {
      "name": "LayoutImpl",
      "descr": "",
      "fields": [],
      "source": "src/layout/contract.mts"
    },
    {
      "name": "LayoutContext",
      "descr": "",
      "fields": [],
      "source": "src/layout/contract.mts"
    },
    {
      "name": "CustomLayout",
      "descr": "The wrapper cy.layout({ impl }) returns: the builtins' shape plus\npromise() (resolves at this run's layoutstop).",
      "fields": [],
      "source": "src/layout/contract.mts"
    },
    {
      "name": "PatchMode",
      "descr": "How a patch treats the live elements its payload does not name:\n`'reconcile'` removes them (the payload is the new state), `'merge'`\nkeeps them (the payload is a set of upserts).",
      "fields": [
        {
          "name": "length",
          "type": "number",
          "optional": false,
          "descr": "Returns the length of a String object."
        }
      ],
      "source": "src/store/patch.mts"
    },
    {
      "name": "PatchOptions",
      "descr": "Options for `cy.patch()`.",
      "fields": [
        {
          "name": "mode",
          "type": "PatchMode",
          "optional": true,
          "descr": "`'reconcile'` (the default): the payload is the new state, and a live\nelement it does not name is removed.  `'merge'`: the payload is a set\nof upserts, and a live element it does not name is kept — a\ndefinition-form payload may then name kept nodes as endpoints and\nparents."
        }
      ],
      "source": "src/core/patch.mts"
    },
    {
      "name": "PatchDiff",
      "descr": "What a patch did — returned by `cy.patch()` and carried by its `patch`\nevent as `event.diff`.  An edge the payload rewired (the same id, a new\nsource or target) is in both `removed` and `added`, since it was removed\nand re-added; an element is never in `updated` and either of the others.",
      "fields": [
        {
          "name": "added",
          "type": "Collection<NodeData, EdgeData>",
          "optional": false,
          "descr": "the elements the patch added, nodes before edges, in payload order"
        },
        {
          "name": "removed",
          "type": "Collection<NodeData, EdgeData>",
          "optional": false,
          "descr": "the elements it removed, cascades included (the incident edges and\ndescendants of a removed node); removed elements keep their `id()`\nand `group()`"
        },
        {
          "name": "updated",
          "type": "Collection<NodeData, EdgeData>",
          "optional": false,
          "descr": "the surviving elements it changed — data, position, parent or\nminiature state — nodes before edges, in payload order"
        }
      ],
      "source": "src/core/patch.mts"
    },
    {
      "name": "FollowOptions",
      "descr": "How a following clone synchronizes with its source.",
      "fields": [
        {
          "name": "throttle",
          "type": "number",
          "optional": true,
          "descr": "The least time, in ms, between two syncs (default 50).  A sync also\nwaits at least as long as the previous one took, so following never\nholds more than half of the main thread however large the graph.\n`0` syncs on the first macrotask after a burst of changes."
        }
      ],
      "source": "src/core/clone.mts"
    },
    {
      "name": "CloneOptions",
      "descr": "Options for `cy.clone()`.",
      "fields": [
        {
          "name": "follow",
          "type": "boolean | FollowOptions",
          "optional": true,
          "descr": "Keep the clone current: `true`, or `{ throttle }`.  Each sync is\n`clone.patch( source.serialize() )` — the source's elements, data,\npositions and hierarchy; never its sheet, viewport, selection or\ngraph-level data.  Stops when either instance is destroyed."
        },
        {
          "name": "zoom",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "pan",
          "type": "Position",
          "optional": true,
          "descr": ""
        },
        {
          "name": "container",
          "type": "HTMLElement | null",
          "optional": true,
          "descr": "Where to render.  When given, WebGPU is required: the factory throws\nsynchronously if `navigator.gpu` is missing.  When omitted, the instance\nis headless (works in Node, never throws for missing GPU)."
        },
        {
          "name": "renderer",
          "type": "RendererOptions",
          "optional": true,
          "descr": ""
        },
        {
          "name": "pixelRatio",
          "type": "number | 'auto'",
          "optional": true,
          "descr": "device pixel ratio override; defaults to the window's"
        },
        {
          "name": "pointerCursors",
          "type": "boolean | Partial<CursorMap>",
          "optional": true,
          "descr": "whether the canvas writes CSS cursors for the gesture affordances —\n`grab`/`grabbing` around dragging, `pointer` over an element, `crosshair`\nwhile boxing (default true).\n\n`false` means the interaction layer never touches `style.cursor`, for an\napp that sets its own; an object overrides individual entries (`{ pan:\n'move' }`), where `''` means inherit."
        },
        {
          "name": "wheelSensitivity",
          "type": "number",
          "optional": true,
          "descr": "wheel-zoom rate multiplier (default 1; custom values warn once — a\nsensitivity tuned to one mouse/OS zooms unnaturally on others)."
        },
        {
          "name": "wheelBehavior",
          "type": "WheelBehavior",
          "optional": true,
          "descr": "what a wheel does: 'zoom' (default), 'pan' (ctrl/meta — the pinch —\nstill zooms) or 'modifier-zoom' (only a ctrl/meta wheel zooms; a plain\nwheel scrolls the page)."
        },
        {
          "name": "desktopTapThreshold",
          "type": "number",
          "optional": true,
          "descr": "css px a mouse/pen press may move and still count as a tap (default 4)."
        },
        {
          "name": "touchTapThreshold",
          "type": "number",
          "optional": true,
          "descr": "css px a touch press may move and still count as a tap (default 8)."
        },
        {
          "name": "tapholdDuration",
          "type": "number",
          "optional": true,
          "descr": "unmoved-press duration before 'taphold' fires, in ms (default 500)."
        },
        {
          "name": "multiClickDebounceTime",
          "type": "number",
          "optional": true,
          "descr": "the dbltap/onetap debounce window in ms (default 250)"
        },
        {
          "name": "boxSelectionEnabled",
          "type": "boolean",
          "optional": true,
          "descr": "allow box selection (default true)"
        },
        {
          "name": "boxSelectionIncludesLabels",
          "type": "boolean",
          "optional": true,
          "descr": "box selection considers label boxes too (default false). Its sense follows\n`boxSelectionMode`: it narrows a 'contain' selection and widens an\n'overlap' one."
        },
        {
          "name": "boxSelectionMode",
          "type": "BoxSelectionMode",
          "optional": true,
          "descr": "what the box-selection gesture counts as selected: 'contain' (default)\ntakes only elements wholly inside the band; 'overlap' takes\nanything the band touches."
        },
        {
          "name": "userPanningEnabled",
          "type": "boolean",
          "optional": true,
          "descr": "allow user (pointer) panning (default true)"
        },
        {
          "name": "userZoomingEnabled",
          "type": "boolean",
          "optional": true,
          "descr": "allow user (wheel/pinch) zooming (default true)"
        },
        {
          "name": "style",
          "type": "Stylesheet<NodeData, EdgeData>",
          "optional": true,
          "descr": "the stylesheet — its field references typed likewise"
        },
        {
          "name": "layout",
          "type": "LayoutOptions",
          "optional": true,
          "descr": ""
        },
        {
          "name": "minZoom",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "maxZoom",
          "type": "number",
          "optional": true,
          "descr": ""
        },
        {
          "name": "autolock",
          "type": "boolean",
          "optional": true,
          "descr": "disable node dragging globally (default false)"
        },
        {
          "name": "autoungrabify",
          "type": "boolean",
          "optional": true,
          "descr": "make all nodes ungrabbable globally (default false)"
        },
        {
          "name": "autounselectify",
          "type": "boolean",
          "optional": true,
          "descr": "disable selection globally (default false)"
        },
        {
          "name": "panningEnabled",
          "type": "boolean",
          "optional": true,
          "descr": "allow panning at all — programmatic and user (default true)"
        },
        {
          "name": "zoomingEnabled",
          "type": "boolean",
          "optional": true,
          "descr": "allow zooming at all — programmatic and user (default true)"
        },
        {
          "name": "selectionType",
          "type": "'single' | 'additive'",
          "optional": true,
          "descr": "'single' (tap/box replaces the selection) or 'additive' (taps toggle, boxes add); default 'single'"
        },
        {
          "name": "headlessWidth",
          "type": "number",
          "optional": true,
          "descr": "rendered dimensions used when headless"
        },
        {
          "name": "headlessHeight",
          "type": "number",
          "optional": true,
          "descr": ""
        }
      ],
      "source": "src/core/clone.mts"
    },
    {
      "name": "LoadOptions",
      "descr": "Options for `cy.load()`.",
      "fields": [
        {
          "name": "fit",
          "type": "boolean",
          "optional": true,
          "descr": "Fit the viewport **once**, to the first chunk, and then hold it —\na load never re-fits per chunk, so the screen does not jump as the\ngraph fills in.  Default: true for an initial load (one that starts\non an instance holding no elements), false for a load into a\npopulated graph."
        },
        {
          "name": "padding",
          "type": "number",
          "optional": true,
          "descr": "the rendered-space padding of that fit, in px (default 0, as `cy.fit()`)"
        }
      ],
      "source": "src/core/load.mts"
    },
    {
      "name": "LoadProgress",
      "descr": "How far a load has got: the chunks ingested and the elements they added.",
      "fields": [
        {
          "name": "chunks",
          "type": "number",
          "optional": false,
          "descr": "chunks ingested so far (1 on the first `loadchunk`)"
        },
        {
          "name": "nodes",
          "type": "number",
          "optional": false,
          "descr": "nodes added by this load so far"
        },
        {
          "name": "edges",
          "type": "number",
          "optional": false,
          "descr": "edges added by this load so far"
        }
      ],
      "source": "src/core/load.mts"
    },
    {
      "name": "LoadRun",
      "descr": "The promise `cy.load()` returns: it resolves with the final\n{@link LoadProgress} once the source is exhausted and the last chunk is\ningested. Call `cancel()` to stop an unfinished load.",
      "fields": [],
      "source": "src/core/load.mts"
    },
    {
      "name": "Core",
      "descr": "The Core facade: the familiar synchronous core API over the columnar\nstore (#3486): viewport, events, graph manipulation, compounds, style/mappers/\ntransitions, layouts, animation, algorithms, image export,\nmount/unmount.",
      "fields": [],
      "source": "src/core.mts"
    },
    {
      "name": "EventTarget",
      "descr": "What an event can target: the core for core-level events (viewport\ngestures, `layoutstart`, graph `data`), or a one-element collection for\nelement events. Typed by the instance's data shapes, untyped by default.",
      "fields": [
        {
          "name": "makeLayout",
          "type": "this['layout']",
          "optional": false,
          "descr": ""
        },
        {
          "name": "createLayout",
          "type": "this['layout']",
          "optional": false,
          "descr": ""
        },
        {
          "name": "addListener",
          "type": "this['on']",
          "optional": false,
          "descr": ""
        },
        {
          "name": "once",
          "type": "this['one']",
          "optional": false,
          "descr": ""
        },
        {
          "name": "removeListener",
          "type": "this['off']",
          "optional": false,
          "descr": ""
        },
        {
          "name": "trigger",
          "type": "this['emit']",
          "optional": false,
          "descr": ""
        },
        {
          "name": "pon",
          "type": "this['promiseOn']",
          "optional": false,
          "descr": ""
        },
        {
          "name": "attr",
          "type": "this['data']",
          "optional": false,
          "descr": ""
        },
        {
          "name": "removeAttr",
          "type": "this['removeData']",
          "optional": false,
          "descr": ""
        }
      ],
      "source": "src/event.mts"
    },
    {
      "name": "EventProps",
      "descr": "The fields an emit may carry.",
      "fields": [
        {
          "name": "type",
          "type": "string",
          "optional": true,
          "descr": ""
        },
        {
          "name": "target",
          "type": "EventTarget",
          "optional": true,
          "descr": ""
        },
        {
          "name": "cy",
          "type": "Core",
          "optional": true,
          "descr": ""
        },
        {
          "name": "position",
          "type": "Position",
          "optional": true,
          "descr": "model-space position, for pointer-derived events"
        },
        {
          "name": "renderedPosition",
          "type": "Position",
          "optional": true,
          "descr": "rendered-space position; derived from `position` when omitted"
        },
        {
          "name": "originalEvent",
          "type": "NativeEvent",
          "optional": true,
          "descr": "the DOM event behind a gesture"
        },
        {
          "name": "layout",
          "type": "unknown",
          "optional": true,
          "descr": "the layout instance, on `layoutstart`/`layoutready`/`layoutstop`"
        },
        {
          "name": "cancelled",
          "type": "boolean",
          "optional": true,
          "descr": "on `layoutstop`: true when the run was abandoned by `layout.cancel()` or\n`cy.destroy()` rather than finished or stopped; on `loadstop`, when the\nload was cancelled"
        },
        {
          "name": "diff",
          "type": "PatchDiff",
          "optional": true,
          "descr": "on `patch`: what the patch added, removed and updated"
        },
        {
          "name": "progress",
          "type": "LoadProgress",
          "optional": true,
          "descr": "on `loadstart`/`loadchunk`/`loadready`/`loadstop`: how far the load has\ngot"
        },
        {
          "name": "timeStamp",
          "type": "number",
          "optional": true,
          "descr": ""
        }
      ],
      "source": "src/event.mts"
    },
    {
      "name": "Event",
      "descr": "An event. Handlers receive one of these; `cy.emit()` and `eles.emit()`\naccept either a type string or a props object, and build it.",
      "fields": [],
      "source": "src/event.mts"
    },
    {
      "name": "EventHandler",
      "descr": "An event handler.  `this` is the callback context the emitter's options\nchoose — the core, or the phase element during compound bubbling.",
      "fields": [],
      "source": "src/emitter.mts"
    },
    {
      "name": "Collection",
      "descr": "A collection over the columnar store: an element is a length-1\ncollection, interned per live slot so `eles[0]`, `forEach` args and\n`same()` behave as expected.  Handles hold `{ group, slot, gen }` refs\nvalidated on access; stale refs (removed elements) read as no-ops or\n`undefined`, though cached `id()`/`group()` stay readable.",
      "fields": [],
      "source": "src/collection.mts"
    }
  ],
  "stats": {
    "namespaces": 7,
    "sections": 48,
    "fns": 352,
    "skipped": [
      "AnimationManager.active (src/animation/manager.mts:322)",
      "AnimationManager.isAnimating (src/animation/manager.mts:332)",
      "AnimationManager.anyRunning (src/animation/manager.mts:344)",
      "AnimationManager.isViewportAnimating (src/animation/manager.mts:354)",
      "AnimationManager.stop (src/animation/manager.mts:365)",
      "AnimationManager.interruptCollapsedRefs (src/animation/manager.mts:428)",
      "AnimationManager.interruptAllCollapsed (src/animation/manager.mts:438)",
      "(module).now (src/animation/manager.mts:840)",
      "StyleEngine.hasBypasses (src/style.mts:216)",
      "StyleEngine.setBypass (src/style.mts:250)",
      "StyleEngine.removeBypass (src/style.mts:265)",
      "StyleEngine.setSheet (src/style.mts:397)",
      "StyleEngine.json (src/style.mts:521)",
      "StyleEngine.update (src/style.mts:543)",
      "(module).isPackedIds (src/columnar.mts:32)",
      "(module).isColumnarElements (src/columnar.mts:44)",
      "(module).buildColumnar (src/columnar.mts:158)",
      "(module).refCount (src/columnar.mts:404)",
      "(module).collectDataColumns (src/columnar.mts:424)",
      "(module).applySelectionColumns (src/columnar.mts:470)",
      "(module).isSerializedElements (src/wire.mts:118)"
    ]
  },
  "topics": [
    {
      "id": "introduction",
      "title": "Introduction",
      "url": "/docs/introduction/",
      "parent": null
    },
    {
      "id": "notation",
      "title": "Notation & glossary",
      "url": "/docs/notation/",
      "parent": null
    },
    {
      "id": "notation/elements",
      "title": "Nodes, edges and compound graphs",
      "url": "/docs/notation/#topic-notation-elements",
      "parent": "notation"
    },
    {
      "id": "notation/coordinates",
      "title": "Model and rendered coordinates",
      "url": "/docs/notation/#topic-notation-coordinates",
      "parent": "notation"
    },
    {
      "id": "notation/input-forms",
      "title": "Element input forms: objects, columnar data and wire buffers",
      "url": "/docs/notation/#topic-notation-input-forms",
      "parent": "notation"
    },
    {
      "id": "notation/snapshots",
      "title": "Graph snapshots and session state",
      "url": "/docs/notation/#topic-notation-snapshots",
      "parent": "notation"
    },
    {
      "id": "notation/types-and-schemas",
      "title": "Type boundaries and JSON schemas",
      "url": "/docs/notation/#topic-notation-types-and-schemas",
      "parent": "notation"
    },
    {
      "id": "getting-started",
      "title": "Getting started",
      "url": "/docs/getting-started/",
      "parent": null
    },
    {
      "id": "getting-started/package",
      "title": "Package and runtime entries",
      "url": "/docs/getting-started/#topic-getting-started-package",
      "parent": "getting-started"
    },
    {
      "id": "getting-started/first-graph",
      "title": "First graph and readiness",
      "url": "/docs/getting-started/#topic-getting-started-first-graph",
      "parent": "getting-started"
    },
    {
      "id": "getting-started/layout-size",
      "title": "Layout and container size",
      "url": "/docs/getting-started/#topic-getting-started-layout-size",
      "parent": "getting-started"
    },
    {
      "id": "getting-started/environments",
      "title": "Supported environments",
      "url": "/docs/getting-started/#topic-getting-started-environments",
      "parent": "getting-started"
    },
    {
      "id": "getting-started/errors",
      "title": "Error types",
      "url": "/docs/getting-started/#topic-getting-started-errors",
      "parent": "getting-started"
    },
    {
      "id": "recipes",
      "title": "Task recipes",
      "url": "/docs/recipes/",
      "parent": null
    },
    {
      "id": "core",
      "title": "Core",
      "url": "/docs/core/",
      "parent": null
    },
    {
      "id": "core/lifecycle",
      "title": "Initialisation and lifecycle",
      "url": "/docs/core/lifecycle/",
      "parent": "core"
    },
    {
      "id": "core/graph-manipulation",
      "title": "Graph manipulation",
      "url": "/docs/core/graph-manipulation/",
      "parent": "core"
    },
    {
      "id": "core/graph-manipulation/mutation",
      "title": "Adding, removing and reconciling",
      "url": "/docs/core/graph-manipulation/#topic-core-graph-manipulation-mutation",
      "parent": "core/graph-manipulation"
    },
    {
      "id": "core/graph-manipulation/loading",
      "title": "Progressive loading",
      "url": "/docs/core/graph-manipulation/#topic-core-graph-manipulation-loading",
      "parent": "core/graph-manipulation"
    },
    {
      "id": "core/graph-manipulation/batching",
      "title": "Batching and compaction",
      "url": "/docs/core/graph-manipulation/#topic-core-graph-manipulation-batching",
      "parent": "core/graph-manipulation"
    },
    {
      "id": "core/accessing-elements",
      "title": "Accessing elements",
      "url": "/docs/core/accessing-elements/",
      "parent": "core"
    },
    {
      "id": "core/data",
      "title": "Data and scratch",
      "url": "/docs/core/data/",
      "parent": "core"
    },
    {
      "id": "core/metadata",
      "title": "Metadata and environment",
      "url": "/docs/core/metadata/",
      "parent": "core"
    },
    {
      "id": "core/events",
      "title": "Events",
      "url": "/docs/core/events/",
      "parent": "core"
    },
    {
      "id": "core/viewport",
      "title": "Viewport manipulation",
      "url": "/docs/core/viewport/",
      "parent": "core"
    },
    {
      "id": "core/viewport/bounds",
      "title": "Pan, zoom, fit and bounds",
      "url": "/docs/core/viewport/#topic-core-viewport-bounds",
      "parent": "core/viewport"
    },
    {
      "id": "core/viewport/picking",
      "title": "Picking and visible counts",
      "url": "/docs/core/viewport/#topic-core-viewport-picking",
      "parent": "core/viewport"
    },
    {
      "id": "core/interaction",
      "title": "Interaction controls",
      "url": "/docs/core/interaction/",
      "parent": "core"
    },
    {
      "id": "core/emphasis",
      "title": "Emphasis",
      "url": "/docs/core/emphasis/",
      "parent": "core"
    },
    {
      "id": "core/animation",
      "title": "Animation",
      "url": "/docs/core/animation/",
      "parent": "core"
    },
    {
      "id": "core/layout",
      "title": "Layout",
      "url": "/docs/core/layout/",
      "parent": "core"
    },
    {
      "id": "core/style",
      "title": "Style and legends",
      "url": "/docs/core/style/",
      "parent": "core"
    },
    {
      "id": "core/exports",
      "title": "Export and snapshots",
      "url": "/docs/core/exports/",
      "parent": "core"
    },
    {
      "id": "core/exports/data",
      "title": "Graph data and wire format",
      "url": "/docs/core/exports/#topic-core-exports-data",
      "parent": "core/exports"
    },
    {
      "id": "core/exports/images",
      "title": "Image export",
      "url": "/docs/core/exports/#topic-core-exports-images",
      "parent": "core/exports"
    },
    {
      "id": "core/views",
      "title": "Independent views",
      "url": "/docs/core/views/",
      "parent": "core"
    },
    {
      "id": "collection",
      "title": "Collection",
      "url": "/docs/collection/",
      "parent": null
    },
    {
      "id": "collection/metadata",
      "title": "Metadata and identity",
      "url": "/docs/collection/metadata/",
      "parent": "collection"
    },
    {
      "id": "collection/iteration",
      "title": "Iteration and aggregation",
      "url": "/docs/collection/iteration/",
      "parent": "collection"
    },
    {
      "id": "collection/comparison",
      "title": "Comparison",
      "url": "/docs/collection/comparison/",
      "parent": "collection"
    },
    {
      "id": "collection/building",
      "title": "Building and filtering",
      "url": "/docs/collection/building/",
      "parent": "collection"
    },
    {
      "id": "collection/data",
      "title": "Data and scratch",
      "url": "/docs/collection/data/",
      "parent": "collection"
    },
    {
      "id": "collection/mutation",
      "title": "Graph manipulation",
      "url": "/docs/collection/mutation/",
      "parent": "collection"
    },
    {
      "id": "collection/position",
      "title": "Position and dimensions",
      "url": "/docs/collection/position/",
      "parent": "collection"
    },
    {
      "id": "collection/edge-points",
      "title": "Edge points",
      "url": "/docs/collection/edge-points/",
      "parent": "collection"
    },
    {
      "id": "collection/selection",
      "title": "Selection",
      "url": "/docs/collection/selection/",
      "parent": "collection"
    },
    {
      "id": "collection/interaction",
      "title": "Grab, lock and pannability",
      "url": "/docs/collection/interaction/",
      "parent": "collection"
    },
    {
      "id": "collection/visibility",
      "title": "Visibility and emphasis",
      "url": "/docs/collection/visibility/",
      "parent": "collection"
    },
    {
      "id": "collection/style",
      "title": "Style",
      "url": "/docs/collection/style/",
      "parent": "collection"
    },
    {
      "id": "collection/events",
      "title": "Events",
      "url": "/docs/collection/events/",
      "parent": "collection"
    },
    {
      "id": "collection/animation",
      "title": "Animation",
      "url": "/docs/collection/animation/",
      "parent": "collection"
    },
    {
      "id": "collection/layout",
      "title": "Layout",
      "url": "/docs/collection/layout/",
      "parent": "collection"
    },
    {
      "id": "collection/traversing",
      "title": "Traversing",
      "url": "/docs/collection/traversing/",
      "parent": "collection"
    },
    {
      "id": "collection/traversing/incidence",
      "title": "Incidence and neighbourhood",
      "url": "/docs/collection/traversing/#topic-collection-traversing-incidence",
      "parent": "collection/traversing"
    },
    {
      "id": "collection/traversing/directed",
      "title": "Directed reachability",
      "url": "/docs/collection/traversing/#topic-collection-traversing-directed",
      "parent": "collection/traversing"
    },
    {
      "id": "collection/traversing/edges",
      "title": "Edge relations",
      "url": "/docs/collection/traversing/#topic-collection-traversing-edges",
      "parent": "collection/traversing"
    },
    {
      "id": "collection/traversing/components",
      "title": "Connected components",
      "url": "/docs/collection/traversing/#topic-collection-traversing-components",
      "parent": "collection/traversing"
    },
    {
      "id": "collection/compound",
      "title": "Compound nodes",
      "url": "/docs/collection/compound/",
      "parent": "collection"
    },
    {
      "id": "collection/algorithms",
      "title": "Algorithms",
      "url": "/docs/collection/algorithms/",
      "parent": "collection"
    },
    {
      "id": "collection/algorithms/search",
      "title": "Search and shortest paths",
      "url": "/docs/collection/algorithms/#topic-collection-algorithms-search",
      "parent": "collection/algorithms"
    },
    {
      "id": "collection/algorithms/spanning",
      "title": "Spanning",
      "url": "/docs/collection/algorithms/#topic-collection-algorithms-spanning",
      "parent": "collection/algorithms"
    },
    {
      "id": "collection/algorithms/connectivity",
      "title": "Connectivity and Eulerian paths",
      "url": "/docs/collection/algorithms/#topic-collection-algorithms-connectivity",
      "parent": "collection/algorithms"
    },
    {
      "id": "collection/algorithms/cut",
      "title": "Cut",
      "url": "/docs/collection/algorithms/#topic-collection-algorithms-cut",
      "parent": "collection/algorithms"
    },
    {
      "id": "collection/algorithms/centrality",
      "title": "Centrality",
      "url": "/docs/collection/algorithms/#topic-collection-algorithms-centrality",
      "parent": "collection/algorithms"
    },
    {
      "id": "collection/algorithms/similarity",
      "title": "Similarity, diffusion and resistance",
      "url": "/docs/collection/algorithms/#topic-collection-algorithms-similarity",
      "parent": "collection/algorithms"
    },
    {
      "id": "collection/algorithms/structural",
      "title": "Structural measures",
      "url": "/docs/collection/algorithms/#topic-collection-algorithms-structural",
      "parent": "collection/algorithms"
    },
    {
      "id": "collection/algorithms/clustering",
      "title": "Clustering",
      "url": "/docs/collection/algorithms/#topic-collection-algorithms-clustering",
      "parent": "collection/algorithms"
    },
    {
      "id": "queries",
      "title": "Queries",
      "url": "/docs/queries/",
      "parent": null
    },
    {
      "id": "queries/objects",
      "title": "Query objects and predicates",
      "url": "/docs/queries/#topic-queries-objects",
      "parent": "queries"
    },
    {
      "id": "queries/tests",
      "title": "State, structure and data tests",
      "url": "/docs/queries/#topic-queries-tests",
      "parent": "queries"
    },
    {
      "id": "style",
      "title": "Style",
      "url": "/docs/style/",
      "parent": null
    },
    {
      "id": "style/values",
      "title": "Constants, mappers and conditions",
      "url": "/docs/style/#topic-style-values",
      "parent": "style"
    },
    {
      "id": "style/groups",
      "title": "Groups and compound parents",
      "url": "/docs/style/#topic-style-groups",
      "parent": "style"
    },
    {
      "id": "style/reads",
      "title": "Bypasses and reads",
      "url": "/docs/style/#topic-style-reads",
      "parent": "style"
    },
    {
      "id": "style/properties",
      "title": "Property reference",
      "url": "/docs/style/#topic-style-properties",
      "parent": "style"
    },
    {
      "id": "style/properties/shared",
      "title": "Shared channels",
      "url": "/docs/style/#topic-style-properties-shared",
      "parent": "style/properties"
    },
    {
      "id": "style/properties/nodes",
      "title": "Node geometry and paint",
      "url": "/docs/style/#topic-style-properties-nodes",
      "parent": "style/properties"
    },
    {
      "id": "style/properties/labels",
      "title": "Labels and typography",
      "url": "/docs/style/#topic-style-properties-labels",
      "parent": "style/properties"
    },
    {
      "id": "style/properties/overlays",
      "title": "Ghosts and overlays",
      "url": "/docs/style/#topic-style-properties-overlays",
      "parent": "style/properties"
    },
    {
      "id": "style/properties/images",
      "title": "Background images",
      "url": "/docs/style/#topic-style-properties-images",
      "parent": "style/properties"
    },
    {
      "id": "style/properties/charts",
      "title": "Node charts",
      "url": "/docs/style/#topic-style-properties-charts",
      "parent": "style/properties"
    },
    {
      "id": "style/properties/edges",
      "title": "Edge paint and arrows",
      "url": "/docs/style/#topic-style-properties-edges",
      "parent": "style/properties"
    },
    {
      "id": "style/properties/routes",
      "title": "Edge routes and endpoints",
      "url": "/docs/style/#topic-style-properties-routes",
      "parent": "style/properties"
    },
    {
      "id": "style/properties/edge-labels",
      "title": "Edge labels",
      "url": "/docs/style/#topic-style-properties-edge-labels",
      "parent": "style/properties"
    },
    {
      "id": "style/properties/compound",
      "title": "Compound sizing and miniatures",
      "url": "/docs/style/#topic-style-properties-compound",
      "parent": "style/properties"
    },
    {
      "id": "style/properties/core",
      "title": "Core properties",
      "url": "/docs/style/#topic-style-properties-core",
      "parent": "style/properties"
    },
    {
      "id": "style/properties/transitions",
      "title": "Transitions",
      "url": "/docs/style/#topic-style-properties-transitions",
      "parent": "style/properties"
    },
    {
      "id": "style/limits",
      "title": "Mapper support and rendering limits",
      "url": "/docs/style/#topic-style-limits",
      "parent": "style"
    },
    {
      "id": "events",
      "title": "Events",
      "url": "/docs/events/",
      "parent": null
    },
    {
      "id": "events/ownership",
      "title": "Ownership, delegation and bubbling",
      "url": "/docs/events/#topic-events-ownership",
      "parent": "events"
    },
    {
      "id": "events/vocabulary",
      "title": "Event vocabulary",
      "url": "/docs/events/#topic-events-vocabulary",
      "parent": "events"
    },
    {
      "id": "events/object",
      "title": "Event object",
      "url": "/docs/events/#topic-events-object",
      "parent": "events"
    },
    {
      "id": "events/object/payload",
      "title": "Payload and state",
      "url": "/docs/events/#topic-events-object-payload",
      "parent": "events/object"
    },
    {
      "id": "events/object/propagation",
      "title": "Propagation and browser defaults",
      "url": "/docs/events/#topic-events-object-propagation",
      "parent": "events/object"
    },
    {
      "id": "layouts",
      "title": "Layouts",
      "url": "/docs/layouts/",
      "parent": null
    },
    {
      "id": "layouts/options",
      "title": "Shared options",
      "url": "/docs/layouts/#topic-layouts-options",
      "parent": "layouts"
    },
    {
      "id": "layouts/options/mappings",
      "title": "Score and sort mappings",
      "url": "/docs/layouts/#topic-layouts-options-mappings",
      "parent": "layouts/options"
    },
    {
      "id": "layouts/options/packing",
      "title": "Component packing",
      "url": "/docs/layouts/#topic-layouts-options-packing",
      "parent": "layouts/options"
    },
    {
      "id": "layouts/built-in",
      "title": "Built-in layouts",
      "url": "/docs/layouts/#topic-layouts-built-in",
      "parent": "layouts"
    },
    {
      "id": "layouts/built-in/grid",
      "title": "Grid",
      "url": "/docs/layouts/#topic-layouts-built-in-grid",
      "parent": "layouts/built-in"
    },
    {
      "id": "layouts/built-in/preset",
      "title": "Preset",
      "url": "/docs/layouts/#topic-layouts-built-in-preset",
      "parent": "layouts/built-in"
    },
    {
      "id": "layouts/built-in/circle",
      "title": "Circle",
      "url": "/docs/layouts/#topic-layouts-built-in-circle",
      "parent": "layouts/built-in"
    },
    {
      "id": "layouts/built-in/concentric",
      "title": "Concentric",
      "url": "/docs/layouts/#topic-layouts-built-in-concentric",
      "parent": "layouts/built-in"
    },
    {
      "id": "layouts/built-in/breadthfirst",
      "title": "Breadthfirst",
      "url": "/docs/layouts/#topic-layouts-built-in-breadthfirst",
      "parent": "layouts/built-in"
    },
    {
      "id": "layouts/built-in/random",
      "title": "Random",
      "url": "/docs/layouts/#topic-layouts-built-in-random",
      "parent": "layouts/built-in"
    },
    {
      "id": "layouts/built-in/radial",
      "title": "Radial",
      "url": "/docs/layouts/#topic-layouts-built-in-radial",
      "parent": "layouts/built-in"
    },
    {
      "id": "layouts/built-in/pack",
      "title": "Pack",
      "url": "/docs/layouts/#topic-layouts-built-in-pack",
      "parent": "layouts/built-in"
    },
    {
      "id": "layouts/built-in/force",
      "title": "Force",
      "url": "/docs/layouts/#topic-layouts-built-in-force",
      "parent": "layouts/built-in"
    },
    {
      "id": "layouts/built-in/flow",
      "title": "Flow",
      "url": "/docs/layouts/#topic-layouts-built-in-flow",
      "parent": "layouts/built-in"
    },
    {
      "id": "layouts/handle",
      "title": "Layout handle",
      "url": "/docs/layouts/#topic-layouts-handle",
      "parent": "layouts"
    },
    {
      "id": "layouts/events",
      "title": "Lifecycle events",
      "url": "/docs/layouts/#topic-layouts-events",
      "parent": "layouts"
    },
    {
      "id": "animations",
      "title": "Animations",
      "url": "/docs/animations/",
      "parent": null
    },
    {
      "id": "animations/channels",
      "title": "Channels, concurrency and sequencing",
      "url": "/docs/animations/#topic-animations-channels",
      "parent": "animations"
    },
    {
      "id": "animations/targets",
      "title": "Targets and easing",
      "url": "/docs/animations/#topic-animations-targets",
      "parent": "animations"
    },
    {
      "id": "animations/handle",
      "title": "Animation handle",
      "url": "/docs/animations/#topic-animations-handle",
      "parent": "animations"
    },
    {
      "id": "animations/transitions",
      "title": "Stylesheet transitions",
      "url": "/docs/animations/#topic-animations-transitions",
      "parent": "animations"
    },
    {
      "id": "extensions",
      "title": "Extensions",
      "url": "/docs/extensions/",
      "parent": null
    },
    {
      "id": "extensions/direct-layouts",
      "title": "Direct layout implementations",
      "url": "/docs/extensions/#topic-extensions-direct-layouts",
      "parent": "extensions"
    },
    {
      "id": "extensions/context",
      "title": "Layout context",
      "url": "/docs/extensions/#topic-extensions-context",
      "parent": "extensions"
    },
    {
      "id": "extensions/context/scope",
      "title": "Scope",
      "url": "/docs/extensions/#topic-extensions-context-scope",
      "parent": "extensions/context"
    },
    {
      "id": "extensions/context/columns",
      "title": "Columnar reads",
      "url": "/docs/extensions/#topic-extensions-context-columns",
      "parent": "extensions/context"
    },
    {
      "id": "extensions/context/bounds",
      "title": "Bounds",
      "url": "/docs/extensions/#topic-extensions-context-bounds",
      "parent": "extensions/context"
    },
    {
      "id": "extensions/context/writing",
      "title": "Writing positions and finishing",
      "url": "/docs/extensions/#topic-extensions-context-writing",
      "parent": "extensions/context"
    },
    {
      "id": "extensions/scope",
      "title": "Supported extension scope",
      "url": "/docs/extensions/#topic-extensions-scope",
      "parent": "extensions"
    },
    {
      "id": "performance",
      "title": "Performance",
      "url": "/docs/performance/",
      "parent": null
    },
    {
      "id": "performance/loading",
      "title": "Loading and mutation",
      "url": "/docs/performance/#topic-performance-loading",
      "parent": "performance"
    },
    {
      "id": "performance/queries",
      "title": "Queries and collections",
      "url": "/docs/performance/#topic-performance-queries",
      "parent": "performance"
    },
    {
      "id": "performance/algorithms",
      "title": "Algorithms and layouts",
      "url": "/docs/performance/#topic-performance-algorithms",
      "parent": "performance"
    },
    {
      "id": "performance/rendering",
      "title": "Rendering costs and limits",
      "url": "/docs/performance/#topic-performance-rendering",
      "parent": "performance"
    },
    {
      "id": "performance/scale",
      "title": "Scale limits",
      "url": "/docs/performance/#topic-performance-scale",
      "parent": "performance"
    },
    {
      "id": "performance/diagnostics",
      "title": "Diagnostics",
      "url": "/docs/performance/#topic-performance-diagnostics",
      "parent": "performance"
    },
    {
      "id": "provisional",
      "title": "Feature availability",
      "url": "/docs/provisional/",
      "parent": null
    },
    {
      "id": "provisional/membership",
      "title": "Overlapping membership",
      "url": "/docs/provisional/#topic-provisional-membership",
      "parent": "provisional"
    },
    {
      "id": "provisional/annotations",
      "title": "Annotations and editing",
      "url": "/docs/provisional/#topic-provisional-annotations",
      "parent": "provisional"
    },
    {
      "id": "provisional/rendering",
      "title": "Rendering and styles",
      "url": "/docs/provisional/#topic-provisional-rendering",
      "parent": "provisional"
    },
    {
      "id": "provisional/export",
      "title": "Layout assessment and export",
      "url": "/docs/provisional/#topic-provisional-export",
      "parent": "provisional"
    },
    {
      "id": "provisional/runtime",
      "title": "Runtime scope",
      "url": "/docs/provisional/#topic-provisional-runtime",
      "parent": "provisional"
    },
    {
      "id": "migration",
      "title": "Migration",
      "url": "/docs/migration/",
      "parent": null
    },
    {
      "id": "migration/style",
      "title": "Styling changes",
      "url": "/docs/migration/#topic-migration-style",
      "parent": "migration"
    },
    {
      "id": "migration/layouts",
      "title": "Layout changes",
      "url": "/docs/migration/#topic-migration-layouts",
      "parent": "migration"
    },
    {
      "id": "migration/animations",
      "title": "Animation changes",
      "url": "/docs/migration/#topic-migration-animations",
      "parent": "migration"
    },
    {
      "id": "migration/queries",
      "title": "Query changes",
      "url": "/docs/migration/#topic-migration-queries",
      "parent": "migration"
    }
  ],
  "pages": [
    {
      "name": "cytoscape",
      "url": "/docs/api/cytoscape/",
      "topicPath": [
        "Core",
        "Initialisation and lifecycle"
      ]
    },
    {
      "name": "cytoscape.toColumnarElements",
      "url": "/docs/api/cytoscape.toColumnarElements/",
      "topicPath": [
        "Core",
        "Export and snapshots",
        "Graph data and wire format"
      ]
    },
    {
      "name": "cytoscape.serializeElements",
      "url": "/docs/api/cytoscape.serializeElements/",
      "topicPath": [
        "Core",
        "Export and snapshots",
        "Graph data and wire format"
      ]
    },
    {
      "name": "cytoscape.deserializeElements",
      "url": "/docs/api/cytoscape.deserializeElements/",
      "topicPath": [
        "Core",
        "Export and snapshots",
        "Graph data and wire format"
      ]
    },
    {
      "name": "cytoscape.CancelledError",
      "url": "/docs/api/cytoscape.CancelledError/",
      "topicPath": [
        "Getting started",
        "Error types"
      ]
    },
    {
      "name": "cytoscape.GpuUnfitError",
      "url": "/docs/api/cytoscape.GpuUnfitError/",
      "topicPath": [
        "Getting started",
        "Error types"
      ]
    },
    {
      "name": "cy.ready",
      "url": "/docs/api/cy.ready/",
      "topicPath": [
        "Core",
        "Initialisation and lifecycle"
      ]
    },
    {
      "name": "cy.style",
      "url": "/docs/api/cy.style/",
      "topicPath": [
        "Core",
        "Style and legends"
      ]
    },
    {
      "name": "cy.legend",
      "url": "/docs/api/cy.legend/",
      "topicPath": [
        "Core",
        "Style and legends"
      ]
    },
    {
      "name": "cy.compact",
      "url": "/docs/api/cy.compact/",
      "topicPath": [
        "Core",
        "Graph manipulation",
        "Batching and compaction"
      ]
    },
    {
      "name": "cy.startBatch",
      "url": "/docs/api/cy.startBatch/",
      "topicPath": [
        "Core",
        "Graph manipulation",
        "Batching and compaction"
      ]
    },
    {
      "name": "cy.endBatch",
      "url": "/docs/api/cy.endBatch/",
      "topicPath": [
        "Core",
        "Graph manipulation",
        "Batching and compaction"
      ]
    },
    {
      "name": "cy.batch",
      "url": "/docs/api/cy.batch/",
      "topicPath": [
        "Core",
        "Graph manipulation",
        "Batching and compaction"
      ]
    },
    {
      "name": "cy.layout",
      "url": "/docs/api/cy.layout/",
      "topicPath": [
        "Core",
        "Layout"
      ]
    },
    {
      "name": "cy.add",
      "url": "/docs/api/cy.add/",
      "topicPath": [
        "Core",
        "Graph manipulation",
        "Adding, removing and reconciling"
      ]
    },
    {
      "name": "cy.remove",
      "url": "/docs/api/cy.remove/",
      "topicPath": [
        "Core",
        "Graph manipulation",
        "Adding, removing and reconciling"
      ]
    },
    {
      "name": "cy.patch",
      "url": "/docs/api/cy.patch/",
      "topicPath": [
        "Core",
        "Graph manipulation",
        "Adding, removing and reconciling"
      ]
    },
    {
      "name": "cy.load",
      "url": "/docs/api/cy.load/",
      "topicPath": [
        "Core",
        "Graph manipulation",
        "Progressive loading"
      ]
    },
    {
      "name": "cy.collection",
      "url": "/docs/api/cy.collection/",
      "topicPath": [
        "Core",
        "Accessing elements"
      ]
    },
    {
      "name": "cy.getElementById",
      "url": "/docs/api/cy.getElementById/",
      "topicPath": [
        "Core",
        "Accessing elements"
      ]
    },
    {
      "name": "cy.elements",
      "url": "/docs/api/cy.elements/",
      "topicPath": [
        "Core",
        "Accessing elements"
      ]
    },
    {
      "name": "cy.nodes",
      "url": "/docs/api/cy.nodes/",
      "topicPath": [
        "Core",
        "Accessing elements"
      ]
    },
    {
      "name": "cy.edges",
      "url": "/docs/api/cy.edges/",
      "topicPath": [
        "Core",
        "Accessing elements"
      ]
    },
    {
      "name": "cy.filter",
      "url": "/docs/api/cy.filter/",
      "topicPath": [
        "Core",
        "Accessing elements"
      ]
    },
    {
      "name": "cy.elementsInBox",
      "url": "/docs/api/cy.elementsInBox/",
      "topicPath": [
        "Core",
        "Accessing elements"
      ]
    },
    {
      "name": "cy.emphasize",
      "url": "/docs/api/cy.emphasize/",
      "topicPath": [
        "Core",
        "Emphasis"
      ]
    },
    {
      "name": "cy.unemphasize",
      "url": "/docs/api/cy.unemphasize/",
      "topicPath": [
        "Core",
        "Emphasis"
      ]
    },
    {
      "name": "cy.on",
      "url": "/docs/api/cy.on/",
      "topicPath": [
        "Core",
        "Events"
      ]
    },
    {
      "name": "cy.one",
      "url": "/docs/api/cy.one/",
      "topicPath": [
        "Core",
        "Events"
      ]
    },
    {
      "name": "cy.off",
      "url": "/docs/api/cy.off/",
      "topicPath": [
        "Core",
        "Events"
      ]
    },
    {
      "name": "cy.removeAllListeners",
      "url": "/docs/api/cy.removeAllListeners/",
      "topicPath": [
        "Core",
        "Events"
      ]
    },
    {
      "name": "cy.emit",
      "url": "/docs/api/cy.emit/",
      "topicPath": [
        "Core",
        "Events"
      ]
    },
    {
      "name": "cy.promiseOn",
      "url": "/docs/api/cy.promiseOn/",
      "topicPath": [
        "Core",
        "Events"
      ]
    },
    {
      "name": "cy.zoom",
      "url": "/docs/api/cy.zoom/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.pan",
      "url": "/docs/api/cy.pan/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.panBy",
      "url": "/docs/api/cy.panBy/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.fit",
      "url": "/docs/api/cy.fit/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.center",
      "url": "/docs/api/cy.center/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.animate",
      "url": "/docs/api/cy.animate/",
      "topicPath": [
        "Core",
        "Animation"
      ]
    },
    {
      "name": "cy.animation",
      "url": "/docs/api/cy.animation/",
      "topicPath": [
        "Core",
        "Animation"
      ]
    },
    {
      "name": "cy.animated",
      "url": "/docs/api/cy.animated/",
      "topicPath": [
        "Core",
        "Animation"
      ]
    },
    {
      "name": "cy.stop",
      "url": "/docs/api/cy.stop/",
      "topicPath": [
        "Core",
        "Animation"
      ]
    },
    {
      "name": "cy.extent",
      "url": "/docs/api/cy.extent/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.renderedExtent",
      "url": "/docs/api/cy.renderedExtent/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.size",
      "url": "/docs/api/cy.size/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.minZoom",
      "url": "/docs/api/cy.minZoom/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.maxZoom",
      "url": "/docs/api/cy.maxZoom/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.zoomRange",
      "url": "/docs/api/cy.zoomRange/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.viewport",
      "url": "/docs/api/cy.viewport/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.reset",
      "url": "/docs/api/cy.reset/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.pick",
      "url": "/docs/api/cy.pick/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Picking and visible counts"
      ]
    },
    {
      "name": "cy.nodeAt",
      "url": "/docs/api/cy.nodeAt/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Picking and visible counts"
      ]
    },
    {
      "name": "cy.viewportCounts",
      "url": "/docs/api/cy.viewportCounts/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Picking and visible counts"
      ]
    },
    {
      "name": "cy.stats",
      "url": "/docs/api/cy.stats/",
      "topicPath": [
        "Performance",
        "Diagnostics"
      ]
    },
    {
      "name": "cy.resize",
      "url": "/docs/api/cy.resize/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.png",
      "url": "/docs/api/cy.png/",
      "topicPath": [
        "Core",
        "Export and snapshots",
        "Image export"
      ]
    },
    {
      "name": "cy.jpg",
      "url": "/docs/api/cy.jpg/",
      "topicPath": [
        "Core",
        "Export and snapshots",
        "Image export"
      ]
    },
    {
      "name": "cy.data",
      "url": "/docs/api/cy.data/",
      "topicPath": [
        "Core",
        "Data and scratch"
      ]
    },
    {
      "name": "cy.removeData",
      "url": "/docs/api/cy.removeData/",
      "topicPath": [
        "Core",
        "Data and scratch"
      ]
    },
    {
      "name": "cy.scratch",
      "url": "/docs/api/cy.scratch/",
      "topicPath": [
        "Core",
        "Data and scratch"
      ]
    },
    {
      "name": "cy.removeScratch",
      "url": "/docs/api/cy.removeScratch/",
      "topicPath": [
        "Core",
        "Data and scratch"
      ]
    },
    {
      "name": "cy.autolock",
      "url": "/docs/api/cy.autolock/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.autoungrabify",
      "url": "/docs/api/cy.autoungrabify/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.autounselectify",
      "url": "/docs/api/cy.autounselectify/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.panningEnabled",
      "url": "/docs/api/cy.panningEnabled/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.userPanningEnabled",
      "url": "/docs/api/cy.userPanningEnabled/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.zoomingEnabled",
      "url": "/docs/api/cy.zoomingEnabled/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.userZoomingEnabled",
      "url": "/docs/api/cy.userZoomingEnabled/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.boxSelectionIncludesLabels",
      "url": "/docs/api/cy.boxSelectionIncludesLabels/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.boxSelectionMode",
      "url": "/docs/api/cy.boxSelectionMode/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.boxSelectionEnabled",
      "url": "/docs/api/cy.boxSelectionEnabled/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.pointerCursors",
      "url": "/docs/api/cy.pointerCursors/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.selectionType",
      "url": "/docs/api/cy.selectionType/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.multiClickDebounceTime",
      "url": "/docs/api/cy.multiClickDebounceTime/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.wheelSensitivity",
      "url": "/docs/api/cy.wheelSensitivity/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.wheelBehavior",
      "url": "/docs/api/cy.wheelBehavior/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.desktopTapThreshold",
      "url": "/docs/api/cy.desktopTapThreshold/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.touchTapThreshold",
      "url": "/docs/api/cy.touchTapThreshold/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.tapholdDuration",
      "url": "/docs/api/cy.tapholdDuration/",
      "topicPath": [
        "Core",
        "Interaction controls"
      ]
    },
    {
      "name": "cy.isReady",
      "url": "/docs/api/cy.isReady/",
      "topicPath": [
        "Core",
        "Initialisation and lifecycle"
      ]
    },
    {
      "name": "cy.headless",
      "url": "/docs/api/cy.headless/",
      "topicPath": [
        "Core",
        "Metadata and environment"
      ]
    },
    {
      "name": "cy.styleEnabled",
      "url": "/docs/api/cy.styleEnabled/",
      "topicPath": [
        "Core",
        "Metadata and environment"
      ]
    },
    {
      "name": "cy.hasCompoundNodes",
      "url": "/docs/api/cy.hasCompoundNodes/",
      "topicPath": [
        "Core",
        "Metadata and environment"
      ]
    },
    {
      "name": "cy.hasElementWithId",
      "url": "/docs/api/cy.hasElementWithId/",
      "topicPath": [
        "Core",
        "Metadata and environment"
      ]
    },
    {
      "name": "cy.window",
      "url": "/docs/api/cy.window/",
      "topicPath": [
        "Core",
        "Metadata and environment"
      ]
    },
    {
      "name": "cy.options",
      "url": "/docs/api/cy.options/",
      "topicPath": [
        "Core",
        "Metadata and environment"
      ]
    },
    {
      "name": "cy.serialize",
      "url": "/docs/api/cy.serialize/",
      "topicPath": [
        "Core",
        "Export and snapshots",
        "Graph data and wire format"
      ]
    },
    {
      "name": "cy.json",
      "url": "/docs/api/cy.json/",
      "topicPath": [
        "Core",
        "Export and snapshots",
        "Graph data and wire format"
      ]
    },
    {
      "name": "cy.clone",
      "url": "/docs/api/cy.clone/",
      "topicPath": [
        "Core",
        "Independent views"
      ]
    },
    {
      "name": "cy.unmount",
      "url": "/docs/api/cy.unmount/",
      "topicPath": [
        "Core",
        "Initialisation and lifecycle"
      ]
    },
    {
      "name": "cy.mount",
      "url": "/docs/api/cy.mount/",
      "topicPath": [
        "Core",
        "Initialisation and lifecycle"
      ]
    },
    {
      "name": "cy.container",
      "url": "/docs/api/cy.container/",
      "topicPath": [
        "Core",
        "Initialisation and lifecycle"
      ]
    },
    {
      "name": "cy.width",
      "url": "/docs/api/cy.width/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.height",
      "url": "/docs/api/cy.height/",
      "topicPath": [
        "Core",
        "Viewport manipulation",
        "Pan, zoom, fit and bounds"
      ]
    },
    {
      "name": "cy.destroy",
      "url": "/docs/api/cy.destroy/",
      "topicPath": [
        "Core",
        "Initialisation and lifecycle"
      ]
    },
    {
      "name": "cy.destroyed",
      "url": "/docs/api/cy.destroyed/",
      "topicPath": [
        "Core",
        "Initialisation and lifecycle"
      ]
    },
    {
      "name": "eles.length",
      "url": "/docs/api/eles.length/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.cy",
      "url": "/docs/api/eles.cy/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.collection",
      "url": "/docs/api/eles.collection/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.hasElementWithId",
      "url": "/docs/api/eles.hasElementWithId/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.indexOf",
      "url": "/docs/api/eles.indexOf/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.indexOfId",
      "url": "/docs/api/eles.indexOfId/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.size",
      "url": "/docs/api/eles.size/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.empty",
      "url": "/docs/api/eles.empty/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.nonempty",
      "url": "/docs/api/eles.nonempty/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.forEach",
      "url": "/docs/api/eles.forEach/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.toArray",
      "url": "/docs/api/eles.toArray/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.slice",
      "url": "/docs/api/eles.slice/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.sort",
      "url": "/docs/api/eles.sort/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.eq",
      "url": "/docs/api/eles.eq/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.first",
      "url": "/docs/api/eles.first/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.last",
      "url": "/docs/api/eles.last/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.map",
      "url": "/docs/api/eles.map/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.some",
      "url": "/docs/api/eles.some/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.every",
      "url": "/docs/api/eles.every/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.id",
      "url": "/docs/api/eles.id/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.group",
      "url": "/docs/api/eles.group/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.json",
      "url": "/docs/api/eles.json/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.jsons",
      "url": "/docs/api/eles.jsons/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.isNode",
      "url": "/docs/api/eles.isNode/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.isEdge",
      "url": "/docs/api/eles.isEdge/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.isLoop",
      "url": "/docs/api/eles.isLoop/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.isSimple",
      "url": "/docs/api/eles.isSimple/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.removed",
      "url": "/docs/api/eles.removed/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.inside",
      "url": "/docs/api/eles.inside/",
      "topicPath": [
        "Collection",
        "Metadata and identity"
      ]
    },
    {
      "name": "eles.same",
      "url": "/docs/api/eles.same/",
      "topicPath": [
        "Collection",
        "Comparison"
      ]
    },
    {
      "name": "eles.anySame",
      "url": "/docs/api/eles.anySame/",
      "topicPath": [
        "Collection",
        "Comparison"
      ]
    },
    {
      "name": "eles.contains",
      "url": "/docs/api/eles.contains/",
      "topicPath": [
        "Collection",
        "Comparison"
      ]
    },
    {
      "name": "eles.allAreNeighbors",
      "url": "/docs/api/eles.allAreNeighbors/",
      "topicPath": [
        "Collection",
        "Comparison"
      ]
    },
    {
      "name": "eles.allAre",
      "url": "/docs/api/eles.allAre/",
      "topicPath": [
        "Collection",
        "Comparison"
      ]
    },
    {
      "name": "eles.is",
      "url": "/docs/api/eles.is/",
      "topicPath": [
        "Collection",
        "Comparison"
      ]
    },
    {
      "name": "eles.union",
      "url": "/docs/api/eles.union/",
      "topicPath": [
        "Collection",
        "Building and filtering"
      ]
    },
    {
      "name": "eles.difference",
      "url": "/docs/api/eles.difference/",
      "topicPath": [
        "Collection",
        "Building and filtering"
      ]
    },
    {
      "name": "eles.intersection",
      "url": "/docs/api/eles.intersection/",
      "topicPath": [
        "Collection",
        "Building and filtering"
      ]
    },
    {
      "name": "eles.symmetricDifference",
      "url": "/docs/api/eles.symmetricDifference/",
      "topicPath": [
        "Collection",
        "Building and filtering"
      ]
    },
    {
      "name": "eles.filter",
      "url": "/docs/api/eles.filter/",
      "topicPath": [
        "Collection",
        "Building and filtering"
      ]
    },
    {
      "name": "eles.nodes",
      "url": "/docs/api/eles.nodes/",
      "topicPath": [
        "Collection",
        "Building and filtering"
      ]
    },
    {
      "name": "eles.edges",
      "url": "/docs/api/eles.edges/",
      "topicPath": [
        "Collection",
        "Building and filtering"
      ]
    },
    {
      "name": "eles.getElementById",
      "url": "/docs/api/eles.getElementById/",
      "topicPath": [
        "Collection",
        "Building and filtering"
      ]
    },
    {
      "name": "eles.absoluteComplement",
      "url": "/docs/api/eles.absoluteComplement/",
      "topicPath": [
        "Collection",
        "Building and filtering"
      ]
    },
    {
      "name": "eles.diff",
      "url": "/docs/api/eles.diff/",
      "topicPath": [
        "Collection",
        "Building and filtering"
      ]
    },
    {
      "name": "eles.reduce",
      "url": "/docs/api/eles.reduce/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.max",
      "url": "/docs/api/eles.max/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.min",
      "url": "/docs/api/eles.min/",
      "topicPath": [
        "Collection",
        "Iteration and aggregation"
      ]
    },
    {
      "name": "eles.position",
      "url": "/docs/api/eles.position/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.positions",
      "url": "/docs/api/eles.positions/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.animate",
      "url": "/docs/api/eles.animate/",
      "topicPath": [
        "Collection",
        "Animation"
      ]
    },
    {
      "name": "eles.animation",
      "url": "/docs/api/eles.animation/",
      "topicPath": [
        "Collection",
        "Animation"
      ]
    },
    {
      "name": "eles.delay",
      "url": "/docs/api/eles.delay/",
      "topicPath": [
        "Collection",
        "Animation"
      ]
    },
    {
      "name": "eles.delayAnimation",
      "url": "/docs/api/eles.delayAnimation/",
      "topicPath": [
        "Collection",
        "Animation"
      ]
    },
    {
      "name": "eles.animated",
      "url": "/docs/api/eles.animated/",
      "topicPath": [
        "Collection",
        "Animation"
      ]
    },
    {
      "name": "eles.stop",
      "url": "/docs/api/eles.stop/",
      "topicPath": [
        "Collection",
        "Animation"
      ]
    },
    {
      "name": "eles.shift",
      "url": "/docs/api/eles.shift/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.relativePosition",
      "url": "/docs/api/eles.relativePosition/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.renderedPosition",
      "url": "/docs/api/eles.renderedPosition/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.width",
      "url": "/docs/api/eles.width/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.height",
      "url": "/docs/api/eles.height/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.data",
      "url": "/docs/api/eles.data/",
      "topicPath": [
        "Collection",
        "Data and scratch"
      ]
    },
    {
      "name": "eles.removeData",
      "url": "/docs/api/eles.removeData/",
      "topicPath": [
        "Collection",
        "Data and scratch"
      ]
    },
    {
      "name": "eles.scratch",
      "url": "/docs/api/eles.scratch/",
      "topicPath": [
        "Collection",
        "Data and scratch"
      ]
    },
    {
      "name": "eles.removeScratch",
      "url": "/docs/api/eles.removeScratch/",
      "topicPath": [
        "Collection",
        "Data and scratch"
      ]
    },
    {
      "name": "eles.style",
      "url": "/docs/api/eles.style/",
      "topicPath": [
        "Collection",
        "Style"
      ]
    },
    {
      "name": "eles.removeStyle",
      "url": "/docs/api/eles.removeStyle/",
      "topicPath": [
        "Collection",
        "Style"
      ]
    },
    {
      "name": "eles.renderedStyle",
      "url": "/docs/api/eles.renderedStyle/",
      "topicPath": [
        "Collection",
        "Style"
      ]
    },
    {
      "name": "eles.numericStyle",
      "url": "/docs/api/eles.numericStyle/",
      "topicPath": [
        "Collection",
        "Style"
      ]
    },
    {
      "name": "eles.effectiveOpacity",
      "url": "/docs/api/eles.effectiveOpacity/",
      "topicPath": [
        "Collection",
        "Style"
      ]
    },
    {
      "name": "eles.transparent",
      "url": "/docs/api/eles.transparent/",
      "topicPath": [
        "Collection",
        "Style"
      ]
    },
    {
      "name": "eles.takesUpSpace",
      "url": "/docs/api/eles.takesUpSpace/",
      "topicPath": [
        "Collection",
        "Style"
      ]
    },
    {
      "name": "eles.interactive",
      "url": "/docs/api/eles.interactive/",
      "topicPath": [
        "Collection",
        "Style"
      ]
    },
    {
      "name": "eles.label",
      "url": "/docs/api/eles.label/",
      "topicPath": [
        "Collection",
        "Style"
      ]
    },
    {
      "name": "eles.padding",
      "url": "/docs/api/eles.padding/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.paddedWidth",
      "url": "/docs/api/eles.paddedWidth/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.paddedHeight",
      "url": "/docs/api/eles.paddedHeight/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.outerWidth",
      "url": "/docs/api/eles.outerWidth/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.outerHeight",
      "url": "/docs/api/eles.outerHeight/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.boundingBox",
      "url": "/docs/api/eles.boundingBox/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.labelBoundingBox",
      "url": "/docs/api/eles.labelBoundingBox/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.renderedBoundingBox",
      "url": "/docs/api/eles.renderedBoundingBox/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.renderedWidth",
      "url": "/docs/api/eles.renderedWidth/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.renderedHeight",
      "url": "/docs/api/eles.renderedHeight/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.renderedOuterWidth",
      "url": "/docs/api/eles.renderedOuterWidth/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.renderedOuterHeight",
      "url": "/docs/api/eles.renderedOuterHeight/",
      "topicPath": [
        "Collection",
        "Position and dimensions"
      ]
    },
    {
      "name": "eles.midpoint",
      "url": "/docs/api/eles.midpoint/",
      "topicPath": [
        "Collection",
        "Edge points"
      ]
    },
    {
      "name": "eles.renderedMidpoint",
      "url": "/docs/api/eles.renderedMidpoint/",
      "topicPath": [
        "Collection",
        "Edge points"
      ]
    },
    {
      "name": "eles.sourceEndpoint",
      "url": "/docs/api/eles.sourceEndpoint/",
      "topicPath": [
        "Collection",
        "Edge points"
      ]
    },
    {
      "name": "eles.targetEndpoint",
      "url": "/docs/api/eles.targetEndpoint/",
      "topicPath": [
        "Collection",
        "Edge points"
      ]
    },
    {
      "name": "eles.renderedSourceEndpoint",
      "url": "/docs/api/eles.renderedSourceEndpoint/",
      "topicPath": [
        "Collection",
        "Edge points"
      ]
    },
    {
      "name": "eles.renderedTargetEndpoint",
      "url": "/docs/api/eles.renderedTargetEndpoint/",
      "topicPath": [
        "Collection",
        "Edge points"
      ]
    },
    {
      "name": "eles.controlPoints",
      "url": "/docs/api/eles.controlPoints/",
      "topicPath": [
        "Collection",
        "Edge points"
      ]
    },
    {
      "name": "eles.renderedControlPoints",
      "url": "/docs/api/eles.renderedControlPoints/",
      "topicPath": [
        "Collection",
        "Edge points"
      ]
    },
    {
      "name": "eles.segmentPoints",
      "url": "/docs/api/eles.segmentPoints/",
      "topicPath": [
        "Collection",
        "Edge points"
      ]
    },
    {
      "name": "eles.renderedSegmentPoints",
      "url": "/docs/api/eles.renderedSegmentPoints/",
      "topicPath": [
        "Collection",
        "Edge points"
      ]
    },
    {
      "name": "eles.selected",
      "url": "/docs/api/eles.selected/",
      "topicPath": [
        "Collection",
        "Selection"
      ]
    },
    {
      "name": "eles.selectable",
      "url": "/docs/api/eles.selectable/",
      "topicPath": [
        "Collection",
        "Selection"
      ]
    },
    {
      "name": "eles.select",
      "url": "/docs/api/eles.select/",
      "topicPath": [
        "Collection",
        "Selection"
      ]
    },
    {
      "name": "eles.unselect",
      "url": "/docs/api/eles.unselect/",
      "topicPath": [
        "Collection",
        "Selection"
      ]
    },
    {
      "name": "eles.selectify",
      "url": "/docs/api/eles.selectify/",
      "topicPath": [
        "Collection",
        "Selection"
      ]
    },
    {
      "name": "eles.unselectify",
      "url": "/docs/api/eles.unselectify/",
      "topicPath": [
        "Collection",
        "Selection"
      ]
    },
    {
      "name": "eles.grabbable",
      "url": "/docs/api/eles.grabbable/",
      "topicPath": [
        "Collection",
        "Grab, lock and pannability"
      ]
    },
    {
      "name": "eles.grabbed",
      "url": "/docs/api/eles.grabbed/",
      "topicPath": [
        "Collection",
        "Grab, lock and pannability"
      ]
    },
    {
      "name": "eles.grabify",
      "url": "/docs/api/eles.grabify/",
      "topicPath": [
        "Collection",
        "Grab, lock and pannability"
      ]
    },
    {
      "name": "eles.ungrabify",
      "url": "/docs/api/eles.ungrabify/",
      "topicPath": [
        "Collection",
        "Grab, lock and pannability"
      ]
    },
    {
      "name": "eles.visible",
      "url": "/docs/api/eles.visible/",
      "topicPath": [
        "Collection",
        "Visibility and emphasis"
      ]
    },
    {
      "name": "eles.hidden",
      "url": "/docs/api/eles.hidden/",
      "topicPath": [
        "Collection",
        "Visibility and emphasis"
      ]
    },
    {
      "name": "eles.show",
      "url": "/docs/api/eles.show/",
      "topicPath": [
        "Collection",
        "Visibility and emphasis"
      ]
    },
    {
      "name": "eles.hide",
      "url": "/docs/api/eles.hide/",
      "topicPath": [
        "Collection",
        "Visibility and emphasis"
      ]
    },
    {
      "name": "eles.locked",
      "url": "/docs/api/eles.locked/",
      "topicPath": [
        "Collection",
        "Grab, lock and pannability"
      ]
    },
    {
      "name": "eles.lock",
      "url": "/docs/api/eles.lock/",
      "topicPath": [
        "Collection",
        "Grab, lock and pannability"
      ]
    },
    {
      "name": "eles.unlock",
      "url": "/docs/api/eles.unlock/",
      "topicPath": [
        "Collection",
        "Grab, lock and pannability"
      ]
    },
    {
      "name": "eles.active",
      "url": "/docs/api/eles.active/",
      "topicPath": [
        "Collection",
        "Grab, lock and pannability"
      ]
    },
    {
      "name": "eles.pannable",
      "url": "/docs/api/eles.pannable/",
      "topicPath": [
        "Collection",
        "Grab, lock and pannability"
      ]
    },
    {
      "name": "eles.panify",
      "url": "/docs/api/eles.panify/",
      "topicPath": [
        "Collection",
        "Grab, lock and pannability"
      ]
    },
    {
      "name": "eles.unpanify",
      "url": "/docs/api/eles.unpanify/",
      "topicPath": [
        "Collection",
        "Grab, lock and pannability"
      ]
    },
    {
      "name": "eles.emphasized",
      "url": "/docs/api/eles.emphasized/",
      "topicPath": [
        "Collection",
        "Visibility and emphasis"
      ]
    },
    {
      "name": "eles.remove",
      "url": "/docs/api/eles.remove/",
      "topicPath": [
        "Collection",
        "Graph manipulation"
      ]
    },
    {
      "name": "eles.move",
      "url": "/docs/api/eles.move/",
      "topicPath": [
        "Collection",
        "Graph manipulation"
      ]
    },
    {
      "name": "eles.source",
      "url": "/docs/api/eles.source/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Incidence and neighbourhood"
      ]
    },
    {
      "name": "eles.target",
      "url": "/docs/api/eles.target/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Incidence and neighbourhood"
      ]
    },
    {
      "name": "eles.sources",
      "url": "/docs/api/eles.sources/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Incidence and neighbourhood"
      ]
    },
    {
      "name": "eles.targets",
      "url": "/docs/api/eles.targets/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Incidence and neighbourhood"
      ]
    },
    {
      "name": "eles.connectedEdges",
      "url": "/docs/api/eles.connectedEdges/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Incidence and neighbourhood"
      ]
    },
    {
      "name": "eles.connectedNodes",
      "url": "/docs/api/eles.connectedNodes/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Incidence and neighbourhood"
      ]
    },
    {
      "name": "eles.outgoers",
      "url": "/docs/api/eles.outgoers/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Incidence and neighbourhood"
      ]
    },
    {
      "name": "eles.incomers",
      "url": "/docs/api/eles.incomers/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Incidence and neighbourhood"
      ]
    },
    {
      "name": "eles.neighborhood",
      "url": "/docs/api/eles.neighborhood/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Incidence and neighbourhood"
      ]
    },
    {
      "name": "eles.closedNeighborhood",
      "url": "/docs/api/eles.closedNeighborhood/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Incidence and neighbourhood"
      ]
    },
    {
      "name": "eles.parent",
      "url": "/docs/api/eles.parent/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.parents",
      "url": "/docs/api/eles.parents/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.children",
      "url": "/docs/api/eles.children/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.descendants",
      "url": "/docs/api/eles.descendants/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.collapse",
      "url": "/docs/api/eles.collapse/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.expand",
      "url": "/docs/api/eles.expand/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.siblings",
      "url": "/docs/api/eles.siblings/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.orphans",
      "url": "/docs/api/eles.orphans/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.nonorphans",
      "url": "/docs/api/eles.nonorphans/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.commonAncestors",
      "url": "/docs/api/eles.commonAncestors/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.isParent",
      "url": "/docs/api/eles.isParent/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.isChildless",
      "url": "/docs/api/eles.isChildless/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.isChild",
      "url": "/docs/api/eles.isChild/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.collapsed",
      "url": "/docs/api/eles.collapsed/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.insideCollapsed",
      "url": "/docs/api/eles.insideCollapsed/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.isOrphan",
      "url": "/docs/api/eles.isOrphan/",
      "topicPath": [
        "Collection",
        "Compound nodes"
      ]
    },
    {
      "name": "eles.roots",
      "url": "/docs/api/eles.roots/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Directed reachability"
      ]
    },
    {
      "name": "eles.leaves",
      "url": "/docs/api/eles.leaves/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Directed reachability"
      ]
    },
    {
      "name": "eles.successors",
      "url": "/docs/api/eles.successors/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Directed reachability"
      ]
    },
    {
      "name": "eles.predecessors",
      "url": "/docs/api/eles.predecessors/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Directed reachability"
      ]
    },
    {
      "name": "eles.edgesWith",
      "url": "/docs/api/eles.edgesWith/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Edge relations"
      ]
    },
    {
      "name": "eles.edgesTo",
      "url": "/docs/api/eles.edgesTo/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Edge relations"
      ]
    },
    {
      "name": "eles.parallelEdges",
      "url": "/docs/api/eles.parallelEdges/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Edge relations"
      ]
    },
    {
      "name": "eles.codirectedEdges",
      "url": "/docs/api/eles.codirectedEdges/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Edge relations"
      ]
    },
    {
      "name": "eles.components",
      "url": "/docs/api/eles.components/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Connected components"
      ]
    },
    {
      "name": "eles.component",
      "url": "/docs/api/eles.component/",
      "topicPath": [
        "Collection",
        "Traversing",
        "Connected components"
      ]
    },
    {
      "name": "eles.layoutDimensions",
      "url": "/docs/api/eles.layoutDimensions/",
      "topicPath": [
        "Collection",
        "Layout"
      ]
    },
    {
      "name": "eles.layoutPositions",
      "url": "/docs/api/eles.layoutPositions/",
      "topicPath": [
        "Collection",
        "Layout"
      ]
    },
    {
      "name": "eles.layout",
      "url": "/docs/api/eles.layout/",
      "topicPath": [
        "Collection",
        "Layout"
      ]
    },
    {
      "name": "eles.breadthFirstSearch",
      "url": "/docs/api/eles.breadthFirstSearch/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Search and shortest paths"
      ]
    },
    {
      "name": "eles.depthFirstSearch",
      "url": "/docs/api/eles.depthFirstSearch/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Search and shortest paths"
      ]
    },
    {
      "name": "eles.dijkstra",
      "url": "/docs/api/eles.dijkstra/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Search and shortest paths"
      ]
    },
    {
      "name": "eles.aStar",
      "url": "/docs/api/eles.aStar/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Search and shortest paths"
      ]
    },
    {
      "name": "eles.bellmanFord",
      "url": "/docs/api/eles.bellmanFord/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Search and shortest paths"
      ]
    },
    {
      "name": "eles.floydWarshall",
      "url": "/docs/api/eles.floydWarshall/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Search and shortest paths"
      ]
    },
    {
      "name": "eles.kruskal",
      "url": "/docs/api/eles.kruskal/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Spanning"
      ]
    },
    {
      "name": "eles.tarjanStronglyConnected",
      "url": "/docs/api/eles.tarjanStronglyConnected/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Connectivity and Eulerian paths"
      ]
    },
    {
      "name": "eles.hopcroftTarjanBiconnected",
      "url": "/docs/api/eles.hopcroftTarjanBiconnected/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Connectivity and Eulerian paths"
      ]
    },
    {
      "name": "eles.hierholzer",
      "url": "/docs/api/eles.hierholzer/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Connectivity and Eulerian paths"
      ]
    },
    {
      "name": "eles.kargerStein",
      "url": "/docs/api/eles.kargerStein/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Cut"
      ]
    },
    {
      "name": "eles.pageRank",
      "url": "/docs/api/eles.pageRank/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Centrality"
      ]
    },
    {
      "name": "eles.degreeCentrality",
      "url": "/docs/api/eles.degreeCentrality/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Centrality"
      ]
    },
    {
      "name": "eles.degreeCentralityNormalized",
      "url": "/docs/api/eles.degreeCentralityNormalized/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Centrality"
      ]
    },
    {
      "name": "eles.closenessCentrality",
      "url": "/docs/api/eles.closenessCentrality/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Centrality"
      ]
    },
    {
      "name": "eles.closenessCentralityNormalized",
      "url": "/docs/api/eles.closenessCentralityNormalized/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Centrality"
      ]
    },
    {
      "name": "eles.betweennessCentrality",
      "url": "/docs/api/eles.betweennessCentrality/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Centrality"
      ]
    },
    {
      "name": "eles.katzCentrality",
      "url": "/docs/api/eles.katzCentrality/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Centrality"
      ]
    },
    {
      "name": "eles.triangleCount",
      "url": "/docs/api/eles.triangleCount/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Structural measures"
      ]
    },
    {
      "name": "eles.neighborhoodSimilarity",
      "url": "/docs/api/eles.neighborhoodSimilarity/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Similarity, diffusion and resistance"
      ]
    },
    {
      "name": "eles.simRank",
      "url": "/docs/api/eles.simRank/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Similarity, diffusion and resistance"
      ]
    },
    {
      "name": "eles.randomWalkWithRestart",
      "url": "/docs/api/eles.randomWalkWithRestart/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Similarity, diffusion and resistance"
      ]
    },
    {
      "name": "eles.randomWalkWithRestartProximity",
      "url": "/docs/api/eles.randomWalkWithRestartProximity/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Similarity, diffusion and resistance"
      ]
    },
    {
      "name": "eles.heatDiffusion",
      "url": "/docs/api/eles.heatDiffusion/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Similarity, diffusion and resistance"
      ]
    },
    {
      "name": "eles.heatKernel",
      "url": "/docs/api/eles.heatKernel/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Similarity, diffusion and resistance"
      ]
    },
    {
      "name": "eles.effectiveResistance",
      "url": "/docs/api/eles.effectiveResistance/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Similarity, diffusion and resistance"
      ]
    },
    {
      "name": "eles.motifCensus",
      "url": "/docs/api/eles.motifCensus/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Structural measures"
      ]
    },
    {
      "name": "eles.kMeans",
      "url": "/docs/api/eles.kMeans/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Clustering"
      ]
    },
    {
      "name": "eles.kMedoids",
      "url": "/docs/api/eles.kMedoids/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Clustering"
      ]
    },
    {
      "name": "eles.fuzzyCMeans",
      "url": "/docs/api/eles.fuzzyCMeans/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Clustering"
      ]
    },
    {
      "name": "eles.hierarchicalClustering",
      "url": "/docs/api/eles.hierarchicalClustering/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Clustering"
      ]
    },
    {
      "name": "eles.markovClustering",
      "url": "/docs/api/eles.markovClustering/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Clustering"
      ]
    },
    {
      "name": "eles.affinityPropagation",
      "url": "/docs/api/eles.affinityPropagation/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Clustering"
      ]
    },
    {
      "name": "eles.degree",
      "url": "/docs/api/eles.degree/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Structural measures"
      ]
    },
    {
      "name": "eles.outdegree",
      "url": "/docs/api/eles.outdegree/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Structural measures"
      ]
    },
    {
      "name": "eles.indegree",
      "url": "/docs/api/eles.indegree/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Structural measures"
      ]
    },
    {
      "name": "eles.minDegree",
      "url": "/docs/api/eles.minDegree/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Structural measures"
      ]
    },
    {
      "name": "eles.maxDegree",
      "url": "/docs/api/eles.maxDegree/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Structural measures"
      ]
    },
    {
      "name": "eles.minIndegree",
      "url": "/docs/api/eles.minIndegree/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Structural measures"
      ]
    },
    {
      "name": "eles.maxIndegree",
      "url": "/docs/api/eles.maxIndegree/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Structural measures"
      ]
    },
    {
      "name": "eles.minOutdegree",
      "url": "/docs/api/eles.minOutdegree/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Structural measures"
      ]
    },
    {
      "name": "eles.maxOutdegree",
      "url": "/docs/api/eles.maxOutdegree/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Structural measures"
      ]
    },
    {
      "name": "eles.totalDegree",
      "url": "/docs/api/eles.totalDegree/",
      "topicPath": [
        "Collection",
        "Algorithms",
        "Structural measures"
      ]
    },
    {
      "name": "eles.on",
      "url": "/docs/api/eles.on/",
      "topicPath": [
        "Collection",
        "Events"
      ]
    },
    {
      "name": "eles.one",
      "url": "/docs/api/eles.one/",
      "topicPath": [
        "Collection",
        "Events"
      ]
    },
    {
      "name": "eles.off",
      "url": "/docs/api/eles.off/",
      "topicPath": [
        "Collection",
        "Events"
      ]
    },
    {
      "name": "eles.emit",
      "url": "/docs/api/eles.emit/",
      "topicPath": [
        "Collection",
        "Events"
      ]
    },
    {
      "name": "eles.promiseOn",
      "url": "/docs/api/eles.promiseOn/",
      "topicPath": [
        "Collection",
        "Events"
      ]
    },
    {
      "name": "ani.play",
      "url": "/docs/api/ani.play/",
      "topicPath": [
        "Animations",
        "Animation handle"
      ]
    },
    {
      "name": "ani.stop",
      "url": "/docs/api/ani.stop/",
      "topicPath": [
        "Animations",
        "Animation handle"
      ]
    },
    {
      "name": "ani.promise",
      "url": "/docs/api/ani.promise/",
      "topicPath": [
        "Animations",
        "Animation handle"
      ]
    },
    {
      "name": "ani.playing",
      "url": "/docs/api/ani.playing/",
      "topicPath": [
        "Animations",
        "Animation handle"
      ]
    },
    {
      "name": "ani.pause",
      "url": "/docs/api/ani.pause/",
      "topicPath": [
        "Animations",
        "Animation handle"
      ]
    },
    {
      "name": "ani.resume",
      "url": "/docs/api/ani.resume/",
      "topicPath": [
        "Animations",
        "Animation handle"
      ]
    },
    {
      "name": "ani.reverse",
      "url": "/docs/api/ani.reverse/",
      "topicPath": [
        "Animations",
        "Animation handle"
      ]
    },
    {
      "name": "ani.progress",
      "url": "/docs/api/ani.progress/",
      "topicPath": [
        "Animations",
        "Animation handle"
      ]
    },
    {
      "name": "ani.paused",
      "url": "/docs/api/ani.paused/",
      "topicPath": [
        "Animations",
        "Animation handle"
      ]
    },
    {
      "name": "ctx.cy",
      "url": "/docs/api/ctx.cy/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Scope"
      ]
    },
    {
      "name": "ctx.options",
      "url": "/docs/api/ctx.options/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Scope"
      ]
    },
    {
      "name": "ctx.eles",
      "url": "/docs/api/ctx.eles/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Scope"
      ]
    },
    {
      "name": "ctx.nodes",
      "url": "/docs/api/ctx.nodes/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Scope"
      ]
    },
    {
      "name": "ctx.refreshScope",
      "url": "/docs/api/ctx.refreshScope/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Scope"
      ]
    },
    {
      "name": "ctx.nodeSlots",
      "url": "/docs/api/ctx.nodeSlots/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Columnar reads"
      ]
    },
    {
      "name": "ctx.edgeSlots",
      "url": "/docs/api/ctx.edgeSlots/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Columnar reads"
      ]
    },
    {
      "name": "ctx.positions",
      "url": "/docs/api/ctx.positions/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Columnar reads"
      ]
    },
    {
      "name": "ctx.endpoints",
      "url": "/docs/api/ctx.endpoints/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Columnar reads"
      ]
    },
    {
      "name": "ctx.degreeOf",
      "url": "/docs/api/ctx.degreeOf/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Columnar reads"
      ]
    },
    {
      "name": "ctx.nodeDimensions",
      "url": "/docs/api/ctx.nodeDimensions/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Columnar reads"
      ]
    },
    {
      "name": "ctx.boundingBox",
      "url": "/docs/api/ctx.boundingBox/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Bounds"
      ]
    },
    {
      "name": "ctx.width",
      "url": "/docs/api/ctx.width/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Bounds"
      ]
    },
    {
      "name": "ctx.height",
      "url": "/docs/api/ctx.height/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Bounds"
      ]
    },
    {
      "name": "ctx.setPositions",
      "url": "/docs/api/ctx.setPositions/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Writing positions and finishing"
      ]
    },
    {
      "name": "ctx.components",
      "url": "/docs/api/ctx.components/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Writing positions and finishing"
      ]
    },
    {
      "name": "ctx.packComponents",
      "url": "/docs/api/ctx.packComponents/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Writing positions and finishing"
      ]
    },
    {
      "name": "ctx.layoutPositions",
      "url": "/docs/api/ctx.layoutPositions/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Writing positions and finishing"
      ]
    },
    {
      "name": "ctx.finish",
      "url": "/docs/api/ctx.finish/",
      "topicPath": [
        "Extensions",
        "Layout context",
        "Writing positions and finishing"
      ]
    },
    {
      "name": "layout.options",
      "url": "/docs/api/layout.options/",
      "topicPath": [
        "Layouts",
        "Layout handle"
      ]
    },
    {
      "name": "layout.run",
      "url": "/docs/api/layout.run/",
      "topicPath": [
        "Layouts",
        "Layout handle"
      ]
    },
    {
      "name": "layout.promise",
      "url": "/docs/api/layout.promise/",
      "topicPath": [
        "Layouts",
        "Layout handle"
      ]
    },
    {
      "name": "layout.stop",
      "url": "/docs/api/layout.stop/",
      "topicPath": [
        "Layouts",
        "Layout handle"
      ]
    },
    {
      "name": "layout.cancel",
      "url": "/docs/api/layout.cancel/",
      "topicPath": [
        "Layouts",
        "Layout handle"
      ]
    },
    {
      "name": "layout.reheat",
      "url": "/docs/api/layout.reheat/",
      "topicPath": [
        "Layouts",
        "Layout handle"
      ]
    },
    {
      "name": "event.type",
      "url": "/docs/api/event.type/",
      "topicPath": [
        "Events",
        "Event object",
        "Payload and state"
      ]
    },
    {
      "name": "event.target",
      "url": "/docs/api/event.target/",
      "topicPath": [
        "Events",
        "Event object",
        "Payload and state"
      ]
    },
    {
      "name": "event.cy",
      "url": "/docs/api/event.cy/",
      "topicPath": [
        "Events",
        "Event object",
        "Payload and state"
      ]
    },
    {
      "name": "event.position",
      "url": "/docs/api/event.position/",
      "topicPath": [
        "Events",
        "Event object",
        "Payload and state"
      ]
    },
    {
      "name": "event.renderedPosition",
      "url": "/docs/api/event.renderedPosition/",
      "topicPath": [
        "Events",
        "Event object",
        "Payload and state"
      ]
    },
    {
      "name": "event.originalEvent",
      "url": "/docs/api/event.originalEvent/",
      "topicPath": [
        "Events",
        "Event object",
        "Payload and state"
      ]
    },
    {
      "name": "event.layout",
      "url": "/docs/api/event.layout/",
      "topicPath": [
        "Events",
        "Event object",
        "Payload and state"
      ]
    },
    {
      "name": "event.cancelled",
      "url": "/docs/api/event.cancelled/",
      "topicPath": [
        "Events",
        "Event object",
        "Payload and state"
      ]
    },
    {
      "name": "event.diff",
      "url": "/docs/api/event.diff/",
      "topicPath": [
        "Events",
        "Event object",
        "Payload and state"
      ]
    },
    {
      "name": "event.progress",
      "url": "/docs/api/event.progress/",
      "topicPath": [
        "Events",
        "Event object",
        "Payload and state"
      ]
    },
    {
      "name": "event.timeStamp",
      "url": "/docs/api/event.timeStamp/",
      "topicPath": [
        "Events",
        "Event object",
        "Payload and state"
      ]
    },
    {
      "name": "event.isDefaultPrevented",
      "url": "/docs/api/event.isDefaultPrevented/",
      "topicPath": [
        "Events",
        "Event object",
        "Payload and state"
      ]
    },
    {
      "name": "event.isPropagationStopped",
      "url": "/docs/api/event.isPropagationStopped/",
      "topicPath": [
        "Events",
        "Event object",
        "Payload and state"
      ]
    },
    {
      "name": "event.preventDefault",
      "url": "/docs/api/event.preventDefault/",
      "topicPath": [
        "Events",
        "Event object",
        "Propagation and browser defaults"
      ]
    },
    {
      "name": "event.stopPropagation",
      "url": "/docs/api/event.stopPropagation/",
      "topicPath": [
        "Events",
        "Event object",
        "Propagation and browser defaults"
      ]
    }
  ]
}
