cytoscape.js v4 HEAD · a579fafe · built 2026-10-30 19:56Z

V4 feature status

Public APIs, style properties, layouts and capabilities, including v3 gaps and replacements. V4 is unreleased. Implemented means available in this prototype, not release-ready.

Download CSVFeature-direction review

961 rows: 512 API members, 310 style properties, 139 capabilities. A member row is one function or one style property; a capability row is a whole feature. The total counts rows, not work.

Priority areas appear first: performance, developer experience, Cytoscape Web v2, application workflows and core capabilities; the feature-direction review gives the reasoning. Proposed rows are suggestions, not roadmap commitments.

API rows use eles. for collections, single elements, nodes and edges. Aliases have separate rows; overloads share a row. Comments describe v4 behaviour, not a promise of complete v3 compatibility. The CSV download is the complete inventory, including comments and source references; the build stamp identifies this snapshot.

Statuses — all 961 rows
StatusRowsMeaning
Implemented679Available in the current v4 prototype; not a release-readiness claim.
Replaced178Use the v4 alternative named in Comments.
Not implemented0Absent from the public v4 surface; no implementation commitment recorded.
Excluded37Deliberately outside v4 scope, according to a recorded decision.
Partial26Available with the limitations described in Comments.
Planned18Explicitly scheduled or scoped in the development record; not implemented.
Proposed14Suggested by the feature-direction review; not an approved scope or commitment.
Undecided9An open design or scope decision remains.

Showing all 961 rows

Current v4 support; see comments for limitations and alternatives.
CategoryFeatureStatusCommentsReference
PerformanceCore operations versus v3ImplementedArchived 2026-09-02 run: 269 matched p50 pairs, 10.70x geometric-mean speedup; slowest ratio 1.02x. Same-machine benchmark evidence, not a universal application speedup.Source
PerformanceRendering versus v3ImplementedArchived 2026-09-02 run: 104 matched p50 pairs, 31.21x geometric mean. Includes different rendering operations, not a single FPS claim; wall time and GPU device time are distinct.Source
PerformanceGPU algorithms versus v4 CPUPartialArchived 2026-09-02 run: 57 matched warm p50 pairs, 7.73x geometric mean, with individual GPU regressions. This baseline is v4 CPU, not v3; first-call cost is reported separately.Source
PerformanceGPU algorithm bottleneck removalImplementedRound 72 (2026-09-18): a sparse CSR SpMV behind pageRank and Katz (an explicit 'gpu' run 2–19× cheaper; 'auto' keeps both on the CPU, whose whole run is under one GPU readback), affinity propagation's availability update coalesced (−42%), unweighted closeness a BFS per source on both executors (18–47× on the CPU, the GPU from n=1024), and every 'auto' constant re-measured — the triangle family's gate is a mean degree of 64, the round-70 families have no crossover and lost their gates. GPU availability alone still does not imply a speedup: the sweep publishes which cells the CPU owns.Record
PerformanceCPU algorithms without blocking interactionImplementedRound 74: executor 'workers' runs the per-source-parallel families (both betweenness forms, unweighted closeness, heatKernel, RWR proximity) on a pool of plain workers off the main thread, and 'auto' takes the pool wherever the GPU does not run. Round 129.1 adds the offload lane: the ten families the pool cannot partition (pageRank, Katz, Floyd–Warshall and weighted closeness, triangles, neighborhood similarity, the motif census, SimRank, effective resistance, MCL, affinity propagation) run their reference on ONE worker under 'workers' and under 'auto' from a per-family size, bit-identical to 'cpu' because the reference is the worker's kernel; round 134 (ledger item 70) adds kMeans, kMedoids, fuzzyCMeans and hierarchicalClustering for a named metric (their references now one kernel over materialized attribute vectors), leaving only a custom distance function or a per-pair linkage in-thread, since it is called inside the loop. Measured on the 8-core benchmark machine: 2.4–18× over the CPU reference across the 18-cell sweep, per-worker snapshot clone 0.2 ms, per-family crossovers stamped (128–512 nodes). Same-machine evidence, not a universal speedup. Rounds 129.2 and 129.3 close the same gap for layouts: the worker-hosted renderer runs the force integrator in its worker (12.8 s frozen → 1.4 s ticking on the 465k-edge fixture), and the force layout's CPU simulation runs on a worker wherever the integrator cannot and a worker can be constructed — headless too since round 131 revisited 129.3 (an executor option; bit-identical trajectories).Source
PerformanceFirst frame during progressive loadingImplementedcy.load( asyncIterable ) (round 103): cy.ready is the first chunk drawn. ndex-x-large (19.6k nodes / 465k edges) on an RX 580: first frame 1.8–2.4x sooner than the monolithic load with the payload in hand (the whole graph ~23% later: ingest churn plus the partial frames); over a 100 Mbit/s link the first frame is 4.8–18x sooner and the whole graph 38% sooner. Headless, a 10-chunk load costs 1.2–1.3x a monolithic ingest (it was 3x with cut edges as definitions). Same-machine evidence.Source
PerformanceLoading and snapshot copy budgetImplementedEvery copy priced (round 110): wire decode is zero-copy, the ingest column copy is 0.4% of init (adoption declined), per-frame and worker-batch uploads sit at the memcpy floor, export readback converts on the device. Zero-copy is not an end-to-end guarantee: the WebGPU upload and the mapped-range slice are the floor.Record
PerformanceWhole-sheet restyle as a diffImplementedcy.style( sheet ) re-writes only the channels whose declaration changed, per group def (round 133, ledger item 67), with the end state of the whole-sheet pass column for column: ndex-x-large, one node colour constant changed, 250 ms and 59.6 MB of dirty columns became 1.5 ms and 0.08 MB (an identical sheet 0.06 ms; one edge line-color 36 ms). A prop without a narrow writer (geometry, labels, width) still takes its group through the full pass, and every bypassed slot takes the full write (the bypass-clearing rule is kept).Source
PerformanceWorker-hosted renderingImplementedrenderer: { worker: true } hosts the renderer in a worker over a transferred OffscreenCanvas; the model, sync node picks and the animation clock stay main-side, and worker-vs-main exports diff exact-zero. Round 129.2 moved the force integrator into the worker (the worker host's force run on ndex-x-large went from 12.8 s with the main thread held to 1.4 s with it ticking). Round 141 closed the rest of item 51: background images decode in the worker (the registry mirrored by id; SVG rasters on the main thread, which has the <img> it needs; a 1,000-raster style apply went from a 124–142 ms main-thread long task to 5 ms), and label fonts come from an app-provided renderer.fonts list registered from bytes in the worker (a worker does not inherit the page's @font-face). Limitations: verified end to end in Chromium only — Playwright's Linux WebKit has no WebGPU, so WebKit verifies the worker mechanics (fonts from bytes, raster decode) but not the host; CPU tweens cross as ordinary deltas rather than a GPU sink (priced at under 0.06 ms a post); opt-in, and the SharedArrayBuffer tier is designed, not built. Measure main-thread responsiveness separately from draw throughput.Source
PerformanceApplication interaction latency budgetsProposedMeasure p95 input-to-visible-update during load, selection, filtering, dragging and layout on pinned Cytoscape Web, EnrichmentMap and GeneMANIA fixtures; agree budgets from results.Record
PerformanceChart-heavy and blob-heavy scene budgetsProposedMeasure frame time, first paint and memory across slice count, chart kind, hull membership and overlap before increasing visual complexity; retain a plain-node control.Record
PerformanceLarge-graph memory ceiling and graceful degradationImplementedRound 138: every device requests its adapter's own limits, and cy.add(), cy.load() and cy.patch() throw GpuUnfitError before the store changes when a table would outgrow them (cy.ready rejects for a graph mounted past them). Measured on an RX 580: 16,776,960 elements per group render (4x the old 4,194,304) and one more is refused; the limiter is now one dispatch's reach, not a buffer. Refused allocations and uncaptured device errors fire gpuerror; labels degrade first, then charts and images, then gradients (their columns are lazy: 164 and 132 bytes a node and edge slot, from 196 and 164). Real exhaustion (a GPUOutOfMemoryError) is detected but unmeasured: radv spills to system memory. Round 145: image record pools past the 2^24 floats a node's record ref addresses (~350k four-image nodes) degrade the image feature while readback stays exact. Round 80.1 changes chart refs to offset+1 u32 word addresses with the count in the record header; chart pools remain bounded by the device's bindable buffer size. The custom-polygon ref's same limit (~1M 8-point polygon nodes) is logged, not guarded.Record
PerformanceLong-session renderer stabilityImplementedRound 138: a browser soak over the renderer's own allocation ledger (cy.stats().gpu) — add/remove/restyle/zoom churn at a fixed size and five device-loss recoveries, its first spec a deliberately leaked buffer that must show to the byte (playwright-tests/soak.spec.js). 10,000 cycles on an RX 580: the ledger flat from cycle 500; the soak found and fixed an unbounded label shaping memo. Hours-long runs and real-application traces are not covered.Source
PerformancePerformance regression budgets by workloadProposedDefine per-workload thresholds using stable same-machine runs, including cold start, memory and tail latency; a favourable overall mean must not hide an app-critical regression.Record
Developer experienceBuiltin layouts for major audited use casesImplementedOrganic force, layered flow, radial/tree, circular/concentric, grid, preset and random are built in. Round 122 audited Cytoscape Web and EnrichmentMap; this is bounded coverage, not every graph-drawing problem.Record
Developer experienceComponent packing without an external pluginImplementedDiscrete layouts can pack components; pack preserves existing component drawings. Covers disconnected enrichment networks and removes the need for an app-owned packer.Record
Developer experienceOne force layout for constraints and packingImplementedForce combines constraints, per-edge lengths and grouped/ordered packing; the audited EnrichmentMap workflow no longer needs several layout/packing stages. Migration is not v3 option compatibility.Record
Developer experienceLayout quality audit & iterationPartialRound 125 carried the audit out: one sub-round per layout plus packing and the page, each with its fixtures, baselines, pictures and fixes on the record (label measurement before the first frame, forces tidy shapes under separation, flows per-side extents and free-singleton placement, breadthfirsts pixel sizing, the stacking shelf, presets half positions, randoms seed, condense on circle and radial). The first sitting pass signed off preset and random and shipped radial's true-root default; the rest is deferred to page sittings that wait on the page exposing each layout's options (125.11). Stays Partial until those sittings are recorded.Record
Developer experienceChoose a layout by taskProposedProvide a short task-to-layout guide and examples for similarity networks, hierarchies, score rings and saved positions, with cost and quality tradeoffs; avoid a new opaque auto-layout API initially.Record
Developer experienceMeasure consumer simplificationProposedPort representative app tasks and compare setup steps, dependencies, custom glue, error diagnosis and migration effort against v3; fewer API names alone do not prove easier development.Record
Developer experienceTyped application dataImplementedRound 140 (PLAN.md item 45): cytoscape<NodeData, EdgeData>() types data(), group-aware collections and handles, events, add/patch/load/clone payloads, queries and mapper field references; with no generic every type is exactly the untyped one (never inferred from options). Limitations: columnar/wire payloads, the 'data(name)' label string, condition values and algorithm/layout callbacks stay untyped; a mixed collection reads only shared fields.Source
Developer experienceMigration automationExcludedA v3-to-v4 codemod is declined (eleventh design sitting, 2026-09-28); MIGRATING.md, whose property table is machine-checked, is the migration aid.Record
Developer experienceFramework lifecycle integrationPlannedAfter alpha, after the id-keyed patch() reconcile (eleventh design sitting, 2026-09-28): React first, with Vue, Solid, Svelte and other popular libraries considered; mount/unmount, resize and batched updates (PLAN.md item 46).Record
Developer experienceId-stable incremental app updatesImplementedcy.patch( payload, { mode } ) (round 107): reconciles a fresh payload by id in one batch and returns { added, removed, updated }, so an app stops hand-writing the add/remove/data() diff. Survivors keep selection, scratch, listeners, animations and any position the payload does not carry. Cheaper than destroy-and-recreate above ~70% id overlap (1.7-2.4x at 90%, 100k elements); below it recreating is cheaper (2.3x at 10%). The framework wrappers built on it follow after alpha (PLAN.md item 46).Source
Developer experienceLinked-view state contractProposedDefine how selection and viewport synchronization compose with viewer cloning. Round 106 landed cy.clone() with each clone owning its selection, hover and viewport (linking is app wiring over the two instances' events); an opt-in sync flag waits for an app that proves the need, and must not require shared mutable renderer state.Record
Cytoscape Web v2Pie, stripe and donut node summariesImplementedPie/donut and stripe charts keep their fraction semantics, cycle named palettes and support up to 255 ordered dataset slots.Source
Cytoscape Web v2Heat-strip node chartsImplementedEqual-width linear bands colour finite values through an explicit shared chart-scale; missing slots remain aligned and use chart-missing-color.Source
Cytoscape Web v2Radial-heat node chartsImplementedEqual-angle sectors colour finite values through an explicit shared chart-scale; this is not a two-dimensional heat grid.Source
Cytoscape Web v2Signed bar node chartsImplementedSigned values draw clipped vertical or horizontal bars against a required shared or explicit geometry domain; colour scaling is independent.Source
Cytoscape Web v2Declarative chart colour scalesImplementedHeat charts require an explicit chart-scale domain and range; auto endpoints resolve across the supplying definition, including hidden and bypassed nodes. Bars can use a separate colour domain. No per-node autoscaling; explicit bypasses remain available.Source
Cytoscape Web v2Partial automatic scale domainsImplementedRound 147: scalar continuous and quantize scales accept auto outer endpoints around explicit finite anchors (including an anchored diverging midpoint). Bounds follow add/remove/data/parent changes and coalesce in batches; invalid extents use fallback/channel default and warn once. Round 80 applies the shared resolver to chart scales and bar bounds.Source
Cytoscape Web v2Application-owned chart and mapping legendsImplementedcy.legend() returns detached chart and mapping metadata with shared colour and bar geometry domains, missing-value counts and bounded bypass exceptions; legendchange follows committed changes. Apps own labels, units, axes and rendering; SVG legend generation remains future work.Source
Application workflowsMiniature compound collapseImplementedRound 148 keeps original children and edges live while parent collapse scales current descendant positions and effective sizes. Optional animation, scoped parent-only layout units, JSON/wire persistence and clone/follow adoption are implemented. No generated aggregate edges or automatic zoom expansion.Record
Cytoscape Web v2More than 16 chart slicesImplementedAll chart kinds preserve the first 255 ordered slots, warn once and truncate overflow. Address-only references, 8-byte value/colour pairs and cumulative-stop binary search keep storage and lookup bounded; line/scatter remain deferred beyond 4.0.Source
Cytoscape Web v2Desktop/web portable visual-style subsetProposedDefine a versioned subset for mappings, node/edge geometry, charts and labels with fixture-based visual checks and explicit unsupported-property diagnostics; avoid promising pixel parity for every desktop style.Record
Cytoscape Web v2CX2 translation in coreExcludedRecorded boundary keeps CX2 import/export in an extension. Portable rendering semantics and adapter conformance can improve without embedding the entire exchange format in core.Record
Cytoscape Web v2Portable-style adapter conformanceProposedUse small desktop/web style fixtures to test adapter translation, degradation reports and export fidelity; keep provenance and unsupported semantics visible instead of silently dropping them.Record
Cytoscape Web v2Picked and exportable annotationsPlannedWorld-space annotations target reusable in-graph explanatory graphics, with picking and export integration; avoid separate app canvas overlays.Record
Cytoscape Web v2Scalable attribute-table filteringPlannedRound 84 benchmark-only pass measured visible 60x8 windows, 32-window scrolling/jump traces, dirty updates, snapshots and retained memory at 10k, 100k and 1m rows, with three independent processes per size. Current reads took 0.27-0.84 ms per trace; snapshot rebuilds cost 5-83 ms at 100k-1m and retained about 53 MiB at 1m. These fixtures do not justify a public column-view API. Whole-table sort/facet/filter context is recorded; implementation and broader API decisions remain open.Record
Application workflowsEnrichmentMap convex cluster regionsImplementedRound 82 (2026-10-05): convex-hull and round-convex-hull compound shapes enclose direct child outlines, with ordinary parent interaction and optional label-inclusive sizing. See the round record for padding, limits and controls.Record
Application workflowsEnrichmentMap organic blob regionsImplementedRound 82 (2026-10-05): a connected concave compound contour encloses actual member outlines and shares its polygon record across rendering, picking and edge endpoints. It may cover nonmembers; holes, disconnected islands, obstacle avoidance and a public tightness knob are out of scope. SVG remains future work.Record
Application workflowsOverlapping cluster membershipProposedOut of scope for 4.0: hulls are compound shapes with tree membership. Any future overlapping-membership feature needs its own selection, geometry and export contract.Record
Application workflowsCompound collapse with aggregate edgesUndecidedAggregate edges are deferred display-derived objects, not the model or a collapse dependency. Interview records aggregateEdges()/originalEdges(), styling and events; persistence and developer-specified direction remain open. The alpha collapse plan instead miniaturizes original children and edges.Record
Application workflowsGeneMANIA large parallel-edge bundlesImplementedRound 105: bundle width costs v4 nothing measurable — ingest, derivation, device frame and pick are flat from width 2 to 32 at 32,768 edges (benchmark/bundles.mjs, v3 beside: v3's ingest grows 1.6 s → 2.3 s); the curve style is what costs (bezier ~9× haystack on the device), so haystack is the recommended spelling at scale. Picking inside a wide bundle now resolves the nearest member, as v3 does (it answered a neighbour near the bundle ends); a 30-wide fan matches v3 at 0 px at zoom 1 and in close-up; golden bundles-wide. Per-type colour is one ordinal mapper over a dictionary-encoded string column. The two GeneMANIA fixtures (the site's human example query, and TP53) are committed and hosted with the GeneMANIA authors' approval (2026-10-05); node debug/genemania.mjs regenerates them. No LOD aggregation for bundles (not warranted by the numbers).Record
Application workflowsEvidence-channel explorationProposedProvide a GeneMANIA-style example combining channel filtering, selection and aggregate-edge summaries; validate identity/provenance preservation before considering more core API.Record
Application workflowsPriority-aware label declutteringImplementedRound 104: core label-declutter: 'cull' (off by default) hides each node label that would overlap a higher label-priority one, and label-priority orders the zoom fade — the top-ranked genes labelled first and kept longest. Measured on ndex-x-large: 19,607 labels at fit, 99.4% overlapping, cull to 1,545 with none overlapping, 1.6–2.0 ms a frame through a pan. Edge labels do not join the pass.Source
Application workflowsTransient neighbourhood emphasisImplementedcy.emphasize( node.closedNeighborhood() ) on mouseover and cy.unemphasize() on mouseout (round 102). Measured on ndex-x-large (484k elements): 0.015 ms per hover change at a degree-11 node and 0.42 ms at the 733-degree hub (the neighbourhood query included), against 2.9 s for the per-element opacity bypass apps wrote before and 1.1 s for a dim that is a style state; the renderer's second tier added 0.64 ms of GPU time per frame (RX 580). The emphasized set is sheet-styleable; the dim is a composite, not a style.Source
Application workflowsBiological fixture acceptance suiteProposedVersion representative enrichment clusters, signed scores, multichannel gene edges and compound hierarchies; assess visual meaning, interaction and performance together, not just synthetic graph counts.Record
Core capabilitiesSemantic zoomProposedChange the information shown with zoom: summaries at overview scale, individual nodes and edges at intermediate scales, and labels, charts and evidence details up close. Define declarative detail thresholds and measure transition cost and interaction latency.Record
Core capabilitiesSemantic zoom for compoundsPlannedAlpha scope is manual miniature compounds (148): zoom reveals original child detail without automatic expansion. Automatic viewport snapping to a parent is a future consideration. No alpha threshold controller, hidden-child proxies or generated aggregate edges.Record
Core capabilitiesExtension-to-core selection criteriaProposedPromote widely reusable graph/rendering primitives when shared implementation removes app glue and passes cost budgets. Keep domain formats and application UI in adapters/examples unless evidence justifies core scope.Record
Core capabilitiesLasso and reusable spatial queriesPlannedIn scope after alpha (eleventh design sitting, 2026-09-28): a lasso selection mode and public spatial queries (nearest, k-nearest, in-polygon) beside the sync node pick; additive (PLAN.md item 39).Record
Core capabilitiesUndoable graph editsUndecidedRound 139: the transaction events shipped — batchstart/batchend on the core around the outermost batch (and every cy.patch()), batchend last, after the flush — so an app records its own undo stack: a snapshot per transaction with cy.serialize() (27 ms, 3.07 MB at 100k elements) restored with cy.patch() (18-31 ms). No core undo stack; whether core ships one (snapshot or inverse-operation log) is the maintainer's call on those numbers (PLAN.md item 41, benchmark/undo-cost.mjs).Record
Core capabilitiesKeyboard and assistive-technology navigationExcludedAn application responsibility (eleventh design sitting, 2026-09-28): the library draws a figure, which like a PNG is not itself accessible. Apps build keyboard navigation, assistive descriptions and reduced motion on the public selection, event and animation API (PLAN.md item 37).Record
Core capabilitiesInternational labelsPlannedCJK designed before alpha and built during alpha (eleventh design sitting, 2026-09-28): atlas growth and eviction, break-anywhere with kinsoku, and a font fallback chain. RTL/bidi, which needs a shaping dependency, is decided when scheduled after 4.0 (PLAN.md item 38).Record
Core capabilitiesPortable saved-session contractProposedBuild a versioned app-level round-trip fixture for graph, styles, positions and documented transient omissions on top of existing binary APIs; do not conflate serialization support with cross-version session compatibility.Record
AlgorithmsGPU algorithm performance follow-upsImplementedRound 72 (2026-09-18): sparse SpMV for pageRank/Katz, the coalesced affinity-propagation availability update, the unweighted closeness BFS on both executors, and laplacian: 'normalized' for the heat family all landed with their measurements; device-side bench rows were declined with the reason on the record.Record
AlgorithmsWorker-pool CPU executorImplementedRound 74: executor 'workers' — a pool of plain workers (Node worker_threads, browser Workers; at most eight, one less than the cores) runs the per-source-parallel families as contiguous source ranges over a cloned snapshot, results transferred back; the worker entry ships as source text inside every bundle. Bit-stable across runs and pool sizes; bit-identical to 'cpu' for closeness, heat and RWR, f64-tight for betweenness. 'auto' takes the pool where the GPU does not run, and first for the sparse closeness BFS. Families without a lane reject an explicit 'workers'.Source
AlgorithmsOffload lane: one worker for the unpartitionable familiesImplementedRound 129.1: the references of pageRank, Katz, Floyd–Warshall (and weighted closeness), triangles, neighborhood similarity, the motif census, SimRank, effective resistance, MCL and affinity propagation are self-contained kernels (src/algorithms/algo-kernels.mts) that the pool carries as source text and runs on one worker; the in-thread 'cpu' path calls the same function, so the two agree bit for bit. Under 'auto' the lane sits last before the in-thread reference and opens at a per-family size (64–2048 nodes); an explicit 'workers' runs it. The pool spawns lazily: one worker for offloads, the size for a partitioned run. Round 134 (ledger item 70) adds the feature-space clusterers for a named metric: kMeans, kMedoids and fuzzyCMeans share kClusteringKernel and hierarchicalClustering (named linkage) runs hierarchicalKernel (src/algorithms/algo-kernels-cluster.mts), over attribute vectors evaluated once on the calling thread; the reference's change of path is bit-neutral (digests identical at 1k / 5k) and 3–10× faster in-thread. A custom distance function or per-pair linkage keeps the closure path in-thread, and an explicit 'workers' rejects it with that reason.Source
AnimationAnimation queueReplacedSequence using animation promises; there is no queue.Record
AnimationChannel animation and transitionsImplementedDisjoint channels compose, conflicts replace; promise sequencing, pause/resume/reverse and style transitions.Record
APIani.applyExcludedApplying without playback and scrubbing were excluded from the v4 animation handle. Use play(), pause(), resume() and reverse().Record
APIani.applyingExcludedApplying without playback and scrubbing were excluded from the v4 animation handle. Use play(), pause(), resume() and reverse().Record
APIani.completeReplacedUse ani.promise() to observe completion. The v3 spelling is not public in v4.Record
APIani.completedUndecidedv4 ani.promise() resolves on completion or stop; it is not a boolean completion-state getter. Decide whether the omission is intentional or needs an explicit equivalent.Source
APIani.pauseImplementedRound 24.3: freeze in place; the paused span leaves the timeline.Source
APIani.pausedImplementedWhether the animation is paused (round 24.3).Source
APIani.playImplementedEnqueue and start.Source
APIani.playingImplementedWhether the animation is running and not paused.Source
APIani.progressPartialRead elapsed fraction; the v3 setter/scrubbing form is excluded.Source
APIani.promiseImplementedThe completion promise.Source
APIani.resumeImplementedResume a paused animation with the clock shifted (round 24.3).Source
APIani.reverseImplementedSwap the tween's ends with elapsed remapped (round 24.3).Source
APIani.runReplacedUse ani.play(). The v3 spelling is not public in v4.Record
APIani.runningReplacedUse ani.playing(). The v3 spelling is not public in v4.Record
APIani.stopImplementedStop in place, or at the targets with jumpToEnd.Source
APIctx.boundingBoxImplementedThe scope's current bounding box, labels included.Source
APIctx.componentsImplementedThe scope's connected components over nodeSlots() (round 114.4, 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().Source
APIctx.cyImplementedthe core being laid outSource
APIctx.degreeOfImplementedO(1) degree off the CSR adjacency.Source
APIctx.edgeSlotsImplementedThe scope's edge slots.Source
APIctx.elesImplementedThe layout scope (handles tier); the whole graph unless this run came from eles.layout().Source
APIctx.endpointsImplementedThe live edge endpoint column (source,target node slots).Source
APIctx.finishImplementedLand computed positions the way a built-in does (round 114.2): 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.Source
APIctx.heightImplementedThe viewport height in CSS px.Source
APIctx.layoutPositionsImplementedThe discrete finisher: v3's layoutPositions plumbing 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).Source
APIctx.nodeDimensionsImplementedThe layout boxes of the scope's nodes (round 114.1): 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 (115: v3's default again), 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.Source
APIctx.nodesImplementedThe scope's node handles (lazy — see eles).Source
APIctx.nodeSlotsImplementedThe slots to lay out: the scope's nodes, pre-filtered to unlocked leaves (locked nodes hold their place; parents derive from their placed children — round 14.11). Scope order.Source
APIctx.optionsImplementedthe resolved layout options (custom knobs included)Source
APIctx.packComponentsImplementedSeparate the scope's disconnected components (round 87.1): v3's separateComponents as 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.Source
APIctx.positionsImplementedThe live position column (x,y interleaved by slot) — read it, write through setPositions.Source
APIctx.refreshScopeImplementedDrop 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.Source
APIctx.setPositionsImplementedThe bulk write: xy[i2], xy[i2+1] land on slots[i] — one dirty span, no handles (the round-5 slot path; under compounds it takes the per-slot sequential path so auto-bounds stay exact).Source
APIctx.widthImplementedThe 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.Source
APIcy.$ImplementedAlias of cy.filter. Filter the whole graph. Identical to elements( query ), kept for symmetry with eles.filter().Source
APIcy.$idImplementedAlias of cy.getElementById. Look up one element by id through the O(1) id index.Source
APIcy.addImplementedAdd elements to the graph and return them as a collection. Definition, columnar or wire form, or (round 75.3) any iterable of definitions; a collection throws, since removed elements are not restorable.Source
APIcy.addListenerImplementedAlias of cy.on. Listen for events on the core.Source
APIcy.animateImplementedAnimate 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.Source
APIcy.animatedImplementedTrue while the viewport is animating.Source
APIcy.animationImplementedLike animate, but returns a handle with play/stop/promise — the viewport counterpart of eles.animation.Source
APIcy.attrImplementedAlias of cy.data. Graph-level data — read all, read one key, or write. This is a plain object, not a columnar sidecar (which is ele.data()). It is carried by the wire format since round 39.2: serialize() writes it and options.elements applies it, while cy.add( buffer ) deliberately ignores it. Writing emits data.Source
APIcy.autolockImplementedGet 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 (round 144).Source
APIcy.autolockNodesImplementedAlias of cy.autolock. Get or set whether every node is locked (immovable) regardless of its own locked flag — the graph-wide override.Source
APIcy.autoungrabifyImplementedGet 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.Source
APIcy.autoungrabifyNodesImplementedAlias of cy.autoungrabify. 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.Source
APIcy.autounselectifyImplementedGet or set whether every element is unselectable regardless of its own selectable flag. Programmatic select() still applies.Source
APIcy.batchImplementedRun fn inside a startBatch()/endBatch() pair. The batch closes even if fn throws, so this is the form to prefer.Source
APIcy.batchDataReplacedUse cy.batch() around element data() writes.Record
APIcy.bindReplacedUse cy.on(); legacy listener aliases were removed.Record
APIcy.boxSelectionEnabledImplementedGet or set whether the box-selection gesture is available.Source
APIcy.boxSelectionIncludesLabelsImplementedWhether box selection considers label boxes as well as node bodies (round 16.5; v3's box-select-labels, reshaped as a core option — 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.Source
APIcy.boxSelectionModeImplementedWhat the box-selection gesture counts as caught: 'contain' (default, v3's) 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. Round 39.1.Source
APIcy.byIdImplementedAlias of cy.getElementById. Look up one element by id through the O(1) id index.Source
APIcy.centerImplementedPan so the given elements are centred, leaving the zoom alone. Bounds include labels, as in fit().Source
APIcy.centreImplementedAlias of cy.center. Pan so the given elements are centred, leaving the zoom alone. Bounds include labels, as in fit().Source
APIcy.clearQueueExcludedThe animation queue was removed. Disjoint channels run concurrently; use promises to sequence animations.Record
APIcy.cloneImplementedA new, independent instance holding a copy of this graph (round 106): elements through the wire plus each element's locked/grabbable/pannable, graph data, the sheet with its bypasses, the viewport and the interaction settings, with options over any of it (container, style, zoom, layout). follow: true | { throttle } keeps it current by a throttled patch of the source's serialize(), driven by a dirty-stream consumer; the clone owns its selection, hover, sheet and viewport. Not carried: scratch, listeners, animations. No v3 counterpart (v3's eles.clone copied element definitions).Source
APIcy.collectionPartialReturns an empty collection. The v3 collection(elements) constructor form is excluded; use queries or union() to build a collection.Source
APIcy.compactImplementedSlot-moving compaction, explicit form (round 19.5): move live elements down to a dense slot prefix so highWater, column capacity and pass-iteration widths shrink to the current graph instead of its peak. A monotone remap keeps draw order — compaction is a visual no-op — and held refs/handles/listeners repair through forwarding (19.3). The automatic dead-slot-ratio trigger covers the common shrink/churn profiles; this call is for deterministic timing (e.g. right after a bulk filter, before an animation). Throws mid-batch; defers with a warning while a GPU force layout runs.Source
APIcy.containerImplementedThe DOM element this instance renders into, or null when headless or unmounted.Source
APIcy.createLayoutImplementedAlias of cy.layout. Make a layout over the whole graph. The layout does not run until you call .run() on it.Source
APIcy.dataImplementedGraph-level data — read all, read one key, or write. This is a plain object, not a columnar sidecar (which is ele.data()). It is carried by the wire format since round 39.2: serialize() writes it and options.elements applies it, while cy.add( buffer ) deliberately ignores it. Writing emits data.Source
APIcy.delayUndecidedNo v4 viewport cy.delay() member. Application timers and promise sequencing are workarounds, not an equivalent. Decide whether the viewport no-op timeline method was intentionally removed; retained collection delay does not settle this.Source
APIcy.delayAnimationUndecidedNo v4 viewport delay-handle member. Delayed viewport targets are not the dedicated v3 no-op handle. Decide whether its omission is intentional or needs a v4 equivalent.Source
APIcy.desktopTapThresholdImplementedCss px a mouse/pen press may move and still count as a tap (v3 parity; default 4).Source
APIcy.destroyImplementedTear 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.Source
APIcy.destroyedImplementedWhether destroy() has run.Source
APIcy.edgesImplementedThe graph's edges, optionally filtered. Same query forms as elements(), restricted to the edge group — and, with no query, the same memo (34.2).Source
APIcy.elementsImplementedAll elements, optionally filtered — nodes (in insertion order) then edges.Source
APIcy.elementsInBoxImplementedLive, 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 (v3's default 'contain' semantics, with straight-edge endpoints taken at the node centers).Source
APIcy.emitImplementedEmit an event on the core.Source
APIcy.emphasizeImplementedEmphasize exactly these elements and dim everything else (round 102) — the hover highlight as view state. The set is a flag bit (styleable as { when: { emphasized: true } }, queryable as { emphasized: true }), restyled in O(set); the rest is dimmed by the renderer's two-tier composite at the core dim-opacity, the set raised above it. Replaces the previous emphasis, writing only what enters or leaves. Not serialized, not shared by clone(); png()/jpg() draw it. No v3 counterpart (v3 apps used classes and an opacity rule over the whole graph).Source
APIcy.endBatchImplementedClose a batch. At the outermost close the deferred work flushes as one bulk pass — filtered to elements still live, so adding and removing within the same batch costs nothing — and the automatic slot-compaction trigger gets its boundary check. A sheet change during the batch applies once, as a diff against the sheet the columns were derived under (round 133); it writes the batch's additions in full, and the deferred data refreshes run after it unless the diff fell back to the whole-sheet pass, which subsumes them.Source
APIcy.extentImplementedThe model-space rectangle currently visible, as { x1, y1, x2, y2, w, h } — the inverse of the pan/zoom transform applied to the viewport box.Source
APIcy.filterImplementedFilter the whole graph. Identical to elements( query ), kept for symmetry with eles.filter().Source
APIcy.fitImplementedPan and zoom so the given elements fill the viewport.Source
APIcy.forceRenderExcludedRemoved in the public API review; rendering follows dirty state.Record
APIcy.gcImplementedAlias of cy.compact. Slot-moving compaction, explicit form (round 19.5): move live elements down to a dense slot prefix so highWater, column capacity and pass-iteration widths shrink to the current graph instead of its peak. A monotone remap keeps draw order — compaction is a visual no-op — and held refs/handles/listeners repair through forwarding (19.3). The automatic dead-slot-ratio trigger covers the common shrink/churn profiles; this call is for deterministic timing (e.g. right after a bulk filter, before an animation). Throws mid-batch; defers with a warning while a GPU force layout runs.Source
APIcy.getElementByIdImplementedLook up one element by id through the O(1) id index.Source
APIcy.hasCompoundNodesImplementedWhether 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.Source
APIcy.hasElementWithIdImplementedWhether an element with this id exists, via the O(1) id index — cheaper than getElementById( id ).nonempty() because no handle is materialized.Source
APIcy.headlessImplementedWhether 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.Source
APIcy.heightImplementedThe rendered height in CSS px. Headless instances report the configured headlessHeight (default 600).Source
APIcy.invalidateDimensionsReplacedUse cy.resize(). The v3 spelling is not public in v4.Record
APIcy.invalidateSizeImplementedAlias of cy.resize. Rarely needed since round 75.1: a ResizeObserver re-measures and emits resize on every container change.Source
APIcy.isReadyImplementedWhether the render pipeline is usable yet. Always true on a headless instance; on a rendered one this flips when cy.ready resolves — under an initial cy.load(), once its first chunk is drawn.Source
APIcy.jpegImplementedAlias of cy.jpg. Export as JPEG: as png, plus quality (0..1) and a white default bg (JPEG has no alpha channel).Source
APIcy.jpgImplementedExport as JPEG: as png, plus quality (0..1) and a white default bg (JPEG has no alpha channel).Source
APIcy.jsonPartialExport the current graph and stylesheet, including bypasses. The v3 import/setter form is excluded; use constructor elements or cy.add() for loading.Source
APIcy.legendImplementedReturn detached JSON metadata for mapped style properties and charts, including authored and resolved scale domains and bounded bypass exceptions. The legendchange event fires only when this instance's committed snapshot changes, after batch style resolution and before batchend.Source
APIcy.layoutImplementedMake a layout over the whole graph. The layout does not run until you call .run() on it.Source
APIcy.loadImplementedProgressive ingest (round 103): load the graph chunk by chunk from an async iterable (or an iterable) of definition, columnar or wire payloads; a later chunk names earlier nodes by id, or through node references (refs) in the columnar and wire forms. Every chunk takes the bulk path, the renderer gets a turn between chunks, and an initial load holds cy.ready until its first chunk is drawn, fits once to it and holds the viewport. Events loadstart/loadchunk/loadready/loadstop carry event.progress; the returned promise is completion, with cancel(). Layouts are refused while a load runs. No v3 counterpart.Source
APIcy.listenReplacedUse cy.on(); legacy listener aliases were removed.Record
APIcy.makeLayoutImplementedAlias of cy.layout. Make a layout over the whole graph. The layout does not run until you call .run() on it.Source
APIcy.maxZoomImplementedGet the maximum zoom, or set it. Setting re-clamps the current zoom.Source
APIcy.minZoomImplementedGet the minimum zoom, or set it. Setting re-clamps the current zoom.Source
APIcy.mountImplemented(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.Source
APIcy.multiClickDebounceTimeImplementedThe dbltap/onetap debounce window in ms (v3 parity; default 250).Source
APIcy.mutableElementsReplacedUse cy.elements().Record
APIcy.nodeAtImplementedThe node at a rendered (CSS px) position, synchronously, or null (round 75.4, #1209): the CPU pick the pointer's pan-vs-grab uses. Nodes only and exact — edges answer through cy.pick; computes headless from the viewport at dpr 1.Source
APIcy.nodesImplementedThe graph's nodes, optionally filtered. Same query forms as elements(), restricted to the node group — and, with no query, the same memo (34.2).Source
APIcy.noNotificationsExcludedNotification suppression is absent; use cy.batch() for batched model changes.Record
APIcy.notifyExcludedRendering is driven by dirty state; explicit renderer notifications are not public.Record
APIcy.offImplementedStop 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.Source
APIcy.offRenderReplacedUse cy.off('render', handler).Record
APIcy.onImplementedListen for events on the core.Source
APIcy.onceImplementedAlias of cy.one. Like on(), but the handler runs at most once and then removes itself.Source
APIcy.oneImplementedLike on(), but the handler runs at most once and then removes itself.Source
APIcy.onRenderReplacedUse cy.on('render', handler).Record
APIcy.optionsImplementedThe options the instance was constructed with.Source
APIcy.panImplementedGet the pan offset, or set it. Setting is a no-op while panningEnabled() is false.Source
APIcy.panByImplementedShift the pan by a delta. A no-op while panningEnabled() is false.Source
APIcy.panningEnabledImplementedGet or set whether panning is allowed at all — programmatic pan() included. Use userPanningEnabled() to block only the gesture.Source
APIcy.patchImplementedReconcile a fresh payload into the live graph by id (round 107): adds, removes (mode 'reconcile', the default) or keeps ('merge') what the payload does not name, replaces survivors' data, writes positions the payload carries, re-adds rewired edges; returns { added, removed, updated } and emits one patch event with the diff. Replaces v3 apps' use of cy.json( obj ) for data refreshes, not for session restore.Source
APIcy.pickImplementedAsync GPU pick at a rendered (CSS px) position; resolves with the element under the point or null (always null when headless). Among overlapping edges the nearest centreline wins, as in v3 (round 105). The sync node-only half is cy.nodeAt (round 75.4).Source
APIcy.pickNodeImplementedAlias of cy.nodeAt. The node at a rendered (CSS px) position, synchronously, or null — nodes only, exact (no gesture halo); computes headless at dpr 1 (round 75.4).Source
APIcy.pngImplementedExport the rendered graph as a PNG. Async — the pixels live on the GPU (offscreen render + readback), unlike v3's synchronous base64 form; every output form resolves through the returned promise. Options as in v3: 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.Source
APIcy.pointerCursorsImplementedGet or set whether the canvas writes CSS cursors for the gesture affordances (round 89): 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.Source
APIcy.ponImplementedAlias of cy.promiseOn. Resolve once the next matching event fires — the promise form of one().Source
APIcy.promiseOnImplementedResolve once the next matching event fires — the promise form of one().Source
APIcy.readyPartialPromise for renderer readiness, rather than the v3 callback method; under an initial cy.load() it resolves once the first chunk is drawn (round 103; headless, once it is in the model). Rejects if adapter acquisition fails.Source
APIcy.removeImplementedRemove elements from the graph. Removing a node removes its connected edges, and removing a compound parent removes its descendants. Equivalent to eles.remove().Source
APIcy.removeAllListenersImplementedRemove every listener on the core, including element-bound and delegated ones.Source
APIcy.removeAttrImplementedAlias of cy.removeData. Delete graph-level data keys. Emits data when anything was removed.Source
APIcy.removeDataImplementedDelete graph-level data keys. Emits data when anything was removed.Source
APIcy.removeListenerImplementedAlias of cy.off. 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.Source
APIcy.removeScratchImplementedDelete graph-level scratch keys.Source
APIcy.renderedExtentImplementedThe rendered (on-screen) viewport rectangle.Source
APIcy.rendererExcludedInternal implementation hook, excluded from the supported public API. Use cy.stats() for the public frame-statistics snapshot.Record
APIcy.renderToExcludedDrawing into an external canvas is not supported by the WebGPU renderer.Record
APIcy.resetImplementedReset the viewport to zoom 1, pan (0, 0).Source
APIcy.resizeImplementedRe-measure the container, redraw and emit resize. Rarely needed since round 75.1: a ResizeObserver re-measures and emits resize on every container change.Source
APIcy.scratchImplementedGraph-level scratchpad — like data(), but for transient state that is never exported and never emits. Namespace your keys (an extension convention: '_myExtension').Source
APIcy.selectionTypeImplementedHow 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).Source
APIcy.serializeImplementedExport the live graph as the binary wire format (the buffer options.elements/add() accept directly): the columnar counterpart of json(). Carries ids, positions, selection state, the data() sidecar and — since round 39.2 — graph-level data(); style, viewport and scratch are not part of the wire.Source
APIcy.sizeImplementedRendered dimensions as { width, height }.Source
APIcy.startBatchImplementedOpen 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.Source
APIcy.statsImplementedThe 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.Source
APIcy.stopImplementedStop every running viewport animation (round 21: no queue — the v3 clearQueue argument is gone).Source
APIcy.stylePartialGet or replace the grouped declarative stylesheet. Selector blocks, CSS strings and functions are excluded; replacing the sheet also replaces bypasses. A replace re-writes only what the new sheet changed (round 133).Source
APIcy.styleEnabledImplementedAlways true: v4 has no style-disabled mode, since the columnar model derives geometry from stored style channels rather than treating style as an optional layer. Kept so v3 code that checks it works.Source
APIcy.svgPlannedPromise-based vector export is scoped in round 77; no current public method. The 12 October interview settles imageMode/resourceTimeout, string/base64uri/base64/blob output, viewport default, warning envelope and model-pixel text metrics. Default estimates and kerning fidelity remain to resolve; implementation parked while WebGL2 is considered.Record
APIcy.tapholdDurationImplementedUnmoved-press duration before 'taphold' fires, ms (default 500 — v3's constant, configurable in v4).Source
APIcy.touchTapThresholdImplementedCss px a touch press may move and still count as a tap (v3 parity; default 8).Source
APIcy.triggerImplementedAlias of cy.emit. Emit an event on the core.Source
APIcy.unbindReplacedUse cy.off(); legacy listener aliases were removed.Record
APIcy.unemphasizeImplementedEnd the emphasis (round 102): clear the emphasized set and stop dimming, O(set). A no-op when none is set.Source
APIcy.unlistenReplacedUse cy.off(); legacy listener aliases were removed.Record
APIcy.unmountImplementedDetach the renderer: the instance becomes headless (the model is CPU-canonical, so nothing is lost). No-op when already headless.Source
APIcy.userPanningEnabledImplementedGet or set whether the user may pan by dragging. Programmatic pan() is unaffected.Source
APIcy.userZoomingEnabledImplementedGet or set whether the user may zoom by wheel or pinch. Programmatic zoom() is unaffected.Source
APIcy.viewportImplementedSet zoom and/or pan together, emitting once.Source
APIcy.viewportCountsImplementedThe visible node and edge counts of the next drawn frame (round 75.6, #2283), read back from the GPU cull: after the viewport test, visibility and level of detail; compound parents count as nodes, labels are not counted. Async; resolves null headless and on destroy or device loss. The sync geometric alternative is cy.elementsInBox over cy.extent(), which sees no hide/LOD thresholds.Source
APIcy.wheelBehaviorImplementedWhat a wheel does (round 75.5): 'zoom' (default, v3's), 'pan' (pans by the delta and emits scrollpan; a ctrl/meta wheel — the trackpad pinch — still zooms) or 'modifier-zoom' (the plain wheel scrolls the page; ctrl/meta zooms). A wheel the settings leave inert is not preventDefault()ed.Source
APIcy.wheelSensitivityImplementedWheel-zoom sensitivity: a multiplier on the zoom-per-wheel-tick exponent (v3 parity; default 1). Non-default values warn once per instance, as v3 does — a custom sensitivity tuned on one mouse/OS zooms unnaturally on others.Source
APIcy.widthImplementedThe rendered width in CSS px. Headless instances report the configured headlessWidth (default 800), so viewport maths works without a DOM.Source
APIcy.windowImplementedThe window this instance renders into, or null when there is no DOM (Node). v3 parity, for extensions that need the hosting realm.Source
APIcy.zoomImplementedGet the zoom level, or set it. Setting is a no-op while zoomingEnabled() is false, and the level is clamped to zoomRange().Source
APIcy.zoomingEnabledImplementedGet or set whether zooming is allowed at all — programmatic zoom() included. Use userZoomingEnabled() to block only the gesture.Source
APIcy.zoomRangeImplementedSet both zoom bounds; accepts (min, max) or { min, max }.Source
APIcytoscapeImplementedCreate an instance from definitions or columnar data. Rendering requires WebGPU; omit container for headless use. Unknown constructor options are ignored at runtime and checked by TypeScript. Round 131: cytoscape/headless and cytoscape/headless-gpu export the same factory without the renderer, taking HeadlessOptions. Round 140: generic over the node and edge data shapes (typed element data).Source
APIcytoscape.CancelledErrorImplementedThe rejection a cancelled run carries (round 128): 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. A factory static so a .catch can test instanceof; error.name is 'CancelledError' for a check without the class.Source
APIcytoscape.GpuUnfitErrorImplementedThe device-fit error (round 138): cy.add(), cy.load() and cy.patch() throw it, before anything is added, when the elements would grow a table past what the mounted renderer's device can bind (its storage-binding or buffer limit over the widest per-element column) or dispatch over; cy.ready rejects with it when a graph built headless is mounted on a device too small for it; a GPU algorithm whose input does not fit rejects with it under an explicit executor: 'gpu' (under 'auto' it falls back to the CPU). A factory static so a catch can test instanceof; error.name is 'GpuUnfitError'.Source
APIcytoscape.deserializeElementsImplementedDeserialize 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.Source
APIcytoscape.serializeElementsImplementedSerialize elements (definition form or columnar form) into one transferable/fetchable ArrayBuffer. deserializeElements (or passing the buffer straight to options.elements/cy.add()) reverses it.Source
APIcytoscape.stylesheetReplacedSupply a grouped declarative stylesheet to cy.style() or the constructor. The chainable stylesheet builder was removed.Record
APIcytoscape.toColumnarElementsPartialConverts definitions to a columnar payload — self-contained, or with { refs: true } (round 103) carrying the endpoints and parents it does not hold as node references for a cy.load() or cy.add() chunk. Per-element locked, grabbable and pannable overrides are not carried by this conversion.Source
APIcytoscape.useReplacedPass a layout implementation directly through the registry-free layout contract. The v3 extension registry is absent.Record
APIcytoscape.warningsExcludedNo warning toggle: invalid input throws and recoverable conditions warn on the console.Record
APIeles.$idReplacedUse eles.getElementById(). The v3 spelling is not public in v4.Record
APIeles.abscompImplementedAlias of eles.absoluteComplement. All elements of the graph not in this collection.Source
APIeles.absoluteComplementImplementedAll elements of the graph not in this collection.Source
APIeles.activeImplementedWhether the first element is in the transient pressed ("active") state.Source
APIeles.addImplementedAlias of eles.union. The union of the two collections, deduped.Source
APIeles.addClassReplacedClasses were removed. Store category/state in element data and use query objects and conditional style mappers.Record
APIeles.addListenerImplementedAlias of eles.on. 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.Source
APIeles.affinityPropagationImplementedAffinity propagation, which picks exemplars by message passing and so needs no target cluster count.Source
APIeles.allAreImplementedWhether every element matches the criterion.Source
APIeles.allAreNeighborsImplementedWhether every element of other is in this collection's neighborhood.Source
APIeles.allAreNeighboursImplementedAlias of eles.allAreNeighbors. Whether every element of other is in this collection's neighborhood.Source
APIeles.ancestorsImplementedAlias of eles.parents. All ancestors, level by level: every nearest parent first, then the grandparents, and so on (v3's iterated-parent() order).Source
APIeles.andImplementedAlias of eles.intersection. The elements present in both collections.Source
APIeles.animateImplementedAnimate these elements' style and/or position to explicit targets over duration ms, easing the normalized time.Source
APIeles.animatedImplementedTrue when any of these elements has a running animation.Source
APIeles.animationImplementedBuild an animation for these elements without starting it.Source
APIeles.anySameImplementedWhether the two collections share at least one element.Source
APIeles.apImplementedAlias of eles.affinityPropagation. Affinity propagation, which picks exemplars by message passing and so needs no target cluster count.Source
APIeles.aStarImplementedA shortest path between two nodes.Source
APIeles.attrImplementedAlias of eles.data. data() over the sidecar columns. id (and source/target on edges) are first-class and immutable — reading them works, writing them throws. Setters apply to every element in the collection and emit data per element; a write refreshes data-mapped labels. The whole-object read returns a built snapshot, not the store's internals — and the same snapshot until a data write (or a reparent/re-point) invalidates it, so mutating it never corrupts the store but is visible to the mutator until the next write (v3 hands out its live internal object here, where mutation corrupts the actual store — v4's exposure is strictly narrower).Source
APIeles.bbReplacedUse eles.boundingBox(). The v3 spelling is not public in v4.Record
APIeles.bcImplementedAlias of eles.betweennessCentrality. Betweenness centrality — how often each node lies on shortest paths between other pairs; undirected pairs count once (Freeman's definition, as NetworkX and igraph — v3 returned twice this; round 150, #3543). Async (round 65): 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 (round 74; f64-tight to 'cpu', bit-stable across pool sizes) from 128 nodes and an explicit 'gpu' rejects; unweighted runs keep the GPU first, then the pool from 256. normalization: 'size' makes betweennessNormalized divide by (n − 1)(n − 2), halved undirected, as NetworkX's normalized=True (round 150).Source
APIeles.bellmanFordImplementedBellman–Ford shortest paths, which unlike Dijkstra tolerates negative weights and reports negative cycles; undirected, a negative edge is both arcs and so a 2-node negative cycle (v3 missed it).Source
APIeles.betweennessCentralityImplementedBetweenness centrality — how often each node lies on shortest paths between other pairs; undirected pairs count once (Freeman's definition, as NetworkX and igraph — v3 returned twice this; round 150, #3543). Async (round 65): 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 (round 74; f64-tight to 'cpu', bit-stable across pool sizes) from 128 nodes and an explicit 'gpu' rejects; unweighted runs keep the GPU first, then the pool from 256. normalization: 'size' makes betweennessNormalized divide by (n − 1)(n − 2), halved undirected, as NetworkX's normalized=True (round 150).Source
APIeles.bfsImplementedAlias of eles.breadthFirstSearch. Breadth-first search from one or more roots over this collection's subgraph, walking slot-native over the CSR adjacency.Source
APIeles.bindReplacedUse eles.on(); legacy listener aliases were removed.Record
APIeles.boundingboxReplacedUse eles.boundingBox(). The v3 spelling is not public in v4.Record
APIeles.boundingBoxImplementedThe model-space box enclosing every element of the collection.Source
APIeles.breadthFirstSearchImplementedBreadth-first search from one or more roots over this collection's subgraph, walking slot-native over the CSR adjacency.Source
APIeles.ccImplementedAlias of eles.closenessCentrality. Closeness centrality of one node: harmonic Σ 1/d by default, or the classic (n − 1)/Σd with the Wasserman–Faust correction (NetworkX's definition; v3's was 1/Σd, 0 once any node was unreachable — round 150). Directed runs sum distances from the node (direction: 'out', default, as igraph) or to it ('in', as NetworkX).Source
APIeles.ccnImplementedAlias of eles.closenessCentralityNormalized. Closeness centrality for every node, normalized to [0, 1] by the maximum; same harmonic/classic and direction options as eles.closenessCentrality (round 150). Async (round 69): the whole-collection form is the all-pairs tier, so like floydWarshall it returns a promise and executor ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker — round 129.1's offload lane, bit-identical to 'cpu', which 'auto' takes wherever neither the GPU nor the pool runs) picks where it runs; 'cpu' is the reproducible reference. Unweighted runs walk a BFS per source, O(n·(n+E)) (round 72.3), on the worker pool too under executor 'workers' (round 74, bit-identical to 'cpu'; under 'auto' a sparse graph takes the pool first from 512 nodes — it measured ahead of the GPU at every size — and a dense one the GPU first); weighted runs relax Floyd–Warshall and have no workers path. The single-root closenessCentrality stays synchronous. normalization: 'size' divides a harmonic score by n − 1, as igraph (round 150).Source
APIeles.childrenImplementedDirect children of every node, in link order per parent.Source
APIeles.classesReplacedClasses were removed. Store category/state in element data and use query objects and conditional style mappers.Record
APIeles.classNameReplacedClasses were removed. Store category/state in element data and use query objects and conditional style mappers.Record
APIeles.classNamesReplacedClasses were removed. Store category/state in element data and use query objects and conditional style mappers.Record
APIeles.clearQueueExcludedThe animation queue was removed. Disjoint channels run concurrently; use promises to sequence animations.Record
APIeles.collapsePartialImmediately scales descendant positions and effective node sizes around each compound parent's current centre; full decoration, edge, layout, animation and persistence consumers are in progress.Source
APIeles.collapsedPartialWhether the first live node is a collapsed compound parent; `{ collapsed: boolean }` also works in queries and style conditionals.Source
APIeles.cloneExcludedRemoved elements cannot be restored or cloned through this API. Export definitions before removal and add definitions explicitly when needed.Record
APIeles.closedNeighborhoodImplementedThe open neighbourhood plus this collection's own nodes.Source
APIeles.closenessCentralityImplementedCloseness centrality of one node: harmonic Σ 1/d by default, or the classic (n − 1)/Σd with the Wasserman–Faust correction (NetworkX's definition; v3's was 1/Σd, 0 once any node was unreachable — round 150). Directed runs sum distances from the node (direction: 'out', default, as igraph) or to it ('in', as NetworkX).Source
APIeles.closenessCentralityNormalisedImplementedAlias of eles.closenessCentralityNormalized. Closeness centrality for every node, normalized to [0, 1] by the maximum; same harmonic/classic and direction options as eles.closenessCentrality (round 150). Async (round 69): the whole-collection form is the all-pairs tier, so like floydWarshall it returns a promise and executor ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker — round 129.1's offload lane, bit-identical to 'cpu', which 'auto' takes wherever neither the GPU nor the pool runs) picks where it runs; 'cpu' is the reproducible reference. Unweighted runs walk a BFS per source, O(n·(n+E)) (round 72.3), on the worker pool too under executor 'workers' (round 74, bit-identical to 'cpu'; under 'auto' a sparse graph takes the pool first from 512 nodes — it measured ahead of the GPU at every size — and a dense one the GPU first); weighted runs relax Floyd–Warshall and have no workers path. The single-root closenessCentrality stays synchronous. normalization: 'size' divides a harmonic score by n − 1, as igraph (round 150).Source
APIeles.closenessCentralityNormalizedImplementedCloseness centrality for every node, normalized to [0, 1] by the maximum; same harmonic/classic and direction options as eles.closenessCentrality (round 150). Async (round 69): the whole-collection form is the all-pairs tier, so like floydWarshall it returns a promise and executor ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker — round 129.1's offload lane, bit-identical to 'cpu', which 'auto' takes wherever neither the GPU nor the pool runs) picks where it runs; 'cpu' is the reproducible reference. Unweighted runs walk a BFS per source, O(n·(n+E)) (round 72.3), on the worker pool too under executor 'workers' (round 74, bit-identical to 'cpu'; under 'auto' a sparse graph takes the pool first from 512 nodes — it measured ahead of the GPU at every size — and a dense one the GPU first); weighted runs relax Floyd–Warshall and have no workers path. The single-root closenessCentrality stays synchronous. normalization: 'size' divides a harmonic score by n − 1, as igraph (round 150).Source
APIeles.codirectedEdgesImplementedThe parallel edges pointing the same way — same source and same target — including each edge itself.Source
APIeles.collectionImplementedAn empty collection in the same core.Source
APIeles.commonAncestorsImplementedAncestors common to every element, closest first (an edge in the collection has no ancestors, so it empties the result — v3).Source
APIeles.complementImplementedAlias of eles.absoluteComplement. All elements of the graph not in this collection.Source
APIeles.componentImplementedThe whole-graph connected component containing the first element.Source
APIeles.componentsImplementedConnected components within this collection (undirected), each as a collection of the reached nodes plus the collection's edges internal to that component.Source
APIeles.componentsOfImplementedAlias of eles.components. Connected components within this collection (undirected), each as a collection of the reached nodes plus the collection's edges internal to that component.Source
APIeles.connectedEdgesImplementedEvery 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.Source
APIeles.connectedNodesImplementedThe endpoint nodes of every edge in this collection, deduped.Source
APIeles.containsImplementedWhether every element of other is also in this collection.Source
APIeles.controlPointsImplementedThe 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 — v3's getControlPoints surface (segments/taxi answer segmentPoints() instead).Source
APIeles.copyExcludedRemoved elements cannot be restored or cloned through this API. Export definitions before removal and add definitions explicitly when needed.Record
APIeles.createLayoutImplementedAlias of eles.layout. A layout scoped to this collection.Source
APIeles.cssImplementedAlias of eles.style. Read resolved properties or set constant id-keyed bypasses. Bypasses export with the stylesheet and are replaced on a full sheet swap; mappers belong in the sheet.Source
APIeles.cyImplementedThe core this collection belongs to.Source
APIeles.dataImplementeddata() over the sidecar columns. id (and source/target on edges) are first-class and immutable — reading them works, writing them throws. Setters apply to every element in the collection and emit data per element; a write refreshes data-mapped labels. The whole-object read returns a built snapshot, not the store's internals — and the same snapshot until a data write (or a reparent/re-point) invalidates it, so mutating it never corrupts the store but is visible to the mutator until the next write (v3 hands out its live internal object here, where mutation corrupts the actual store — v4's exposure is strictly narrower).Source
APIeles.dcImplementedAlias of eles.degreeCentrality. Degree centrality of one node relative to the collection.Source
APIeles.dcnImplementedAlias of eles.degreeCentralityNormalized. Degree centrality for every node, normalized to [0, 1]. normalization: 'size' divides by n − 1, as NetworkX's degree_centrality (round 150).Source
APIeles.degreeImplementedThe first element's total degree, in + out, answered in O(1) off the adjacency index.Source
APIeles.degreeCentralityImplementedDegree centrality of one node relative to the collection.Source
APIeles.degreeCentralityNormalisedImplementedAlias of eles.degreeCentralityNormalized. Degree centrality for every node, normalized to [0, 1]. normalization: 'size' divides by n − 1, as NetworkX's degree_centrality (round 150).Source
APIeles.degreeCentralityNormalizedImplementedDegree centrality for every node, normalized to [0, 1]. normalization: 'size' divides by n − 1, as NetworkX's degree_centrality (round 150).Source
APIeles.delayImplementedA no-op tween — a timed pause that touches no channels, so it composes with any running animation (round 21: use delayAnimation().play() + await to sequence).Source
APIeles.delayAnimationImplementedLike delay, but returns the handle instead of chaining.Source
APIeles.depthFirstSearchImplementedDepth-first search from one or more roots. Same options as breadthFirstSearch.Source
APIeles.descendantsImplementedThe subtree below every node in pre-order, excluding the nodes themselves.Source
APIeles.deselectImplementedAlias of eles.unselect. Deselect every element, emitting unselect for each one that changed.Source
APIeles.dfsImplementedAlias of eles.depthFirstSearch. Depth-first search from one or more roots. Same options as breadthFirstSearch.Source
APIeles.diffImplementedThree-way set difference against another collection.Source
APIeles.differenceImplementedThis collection's elements that are not in other.Source
APIeles.dijkstraImplementedDijkstra shortest paths from a root over non-negative weights.Source
APIeles.eachImplementedAlias of eles.forEach. Call fn for each element. Returning false from the callback stops the iteration early, as in v3.Source
APIeles.edgesImplementedThe edges in this collection, optionally filtered.Source
APIeles.edgesToImplementedThe edges running from this collection's nodes to others — edgesWith() restricted by direction.Source
APIeles.edgesWithImplementedThe edges connecting this collection's nodes with others, in either direction.Source
APIeles.effectiveOpacityImplementedThe rendered opacity: a node's own opacity times its ancestors' (v3's product rule — the store keeps the folded value in the column, round 14.4); an edge's own opacity (edges have no parent).Source
APIeles.effectiveResistanceImplementedEffective resistance and commute time — the graph as a resistor network (weights are conductances): resistance(a, b) 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 (round 70): executor ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker — round 129.1's offload lane, bit-identical to 'cpu', which 'auto' takes wherever neither the GPU nor the pool runs) 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. v4-only — v3 has no counterpart. Weights are conductances by default; weightAs: 'resistance' reads them as resistances, NetworkX's default (round 150).Source
APIeles.emitImplementedEmit an event on each element, bubbling through compound ancestors to the core.Source
APIeles.emphasizedImplementedWhether the first element is in the current emphasis (round 102). Dimmed is derived (an emphasis is set and the element is not in it), so there is no dimmed() or dimmed state.Source
APIeles.emptyImplementedWhether the collection holds no elements.Source
APIeles.eqImplementedThe element at an index, as a length-1 collection.Source
APIeles.equalImplementedAlias of eles.same. Whether both collections hold exactly the same elements, ignoring order.Source
APIeles.equalsImplementedAlias of eles.same. Whether both collections hold exactly the same elements, ignoring order.Source
APIeles.everyImplementedWhether every element satisfies the predicate. Short-circuits, and is vacuously true for an empty collection.Source
APIeles.expandPartialImmediately reverses the currently applied descendant position and node-size scale around the parent's current centre; other geometry consumers are in progress.Source
APIeles.fcmImplementedAlias of eles.fuzzyCMeans. 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.Source
APIeles.filterImplementedThe subset matching the criterion.Source
APIeles.firstImplementedThe first element, as a length-1 collection.Source
APIeles.flashClassReplacedClasses were removed. Store category/state in element data and use query objects and conditional style mappers.Record
APIeles.floydWarshallImplementedFloyd–Warshall all-pairs shortest paths. O(n³) — for a single source prefer dijkstra/bellmanFord. Async (round 65): the expensive whole-graph tier returns promises, and executor ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker — round 129.1's offload lane, bit-identical to 'cpu', which 'auto' takes wherever neither the GPU nor the pool runs) picks where the maths runs; 'cpu' is the reproducible reference.Source
APIeles.forEachImplementedCall fn for each element. Returning false from the callback stops the iteration early, as in v3.Source
APIeles.fuzzyCMeansImplementedFuzzy 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.Source
APIeles.getElementByIdImplementedFind a member by id. This is a linear scan of the collection; use cy.$id( id ) for the O(1) whole-graph index.Source
APIeles.grabbableImplementedPannable elements are not draggable, so pannable overrides grabbable (as in v3).Source
APIeles.grabbedImplementedWhether the first element is currently held by a drag gesture.Source
APIeles.grabifyImplementedMake these elements grabbable.Source
APIeles.groupImplementedThe first element's group. Cached on the handle, so it stays readable after removal.Source
APIeles.hasImplementedAlias of eles.contains. Whether every element of other is also in this collection.Source
APIeles.hasClassReplacedClasses were removed. Store category/state in element data and use query objects and conditional style mappers.Record
APIeles.hasElementWithIdImplementedWhether this collection contains an element with the given id.Source
APIeles.hcaImplementedAlias of eles.hierarchicalClustering. Agglomerative hierarchical clustering. Async (round 65): returns a promise, and executor ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker, round 134) 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 stays on the calling thread, and 'workers' rejects them. Threshold mode keeps a merge at exactly threshold, as SciPy and R (round 150; v3 stopped there).Source
APIeles.heatDiffusionImplementedHeat 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' (round 72.4) diffuses over I − D^-½AD^-½ at the price of conservation. Async (round 70); 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. v4-only — v3 has no counterpart.Source
APIeles.heatKernelImplementedThe all-pairs heat kernel exp(−t·L) — heat(from, to) is the heat at to after unit heat starts at from (symmetric). Async (round 70): executor ('cpu' | 'gpu' | 'workers' | 'auto', default 'auto') picks between per-column sparse series on the CPU, the same columns over the worker pool (round 74, bit-identical to 'cpu') and the dense scaling-and-squaring chain on the GPU — under 'auto' the GPU from 256 nodes at any density (round 72.6), else the pool from 256. laplacian ('combinatorial' | 'normalized', round 72.4) picks L = D − A or I − D^-½AD^-½. All-pairs (O(n²) memory). v4-only — v3 has no counterpart.Source
APIeles.heightImplementedThe first element's height — a node's model-space height, or an edge's stroke width (as in v3, where an edge's height is its width).Source
APIeles.hiddenImplementedThe complement of visible().Source
APIeles.hideImplementedHide these elements structurally — v3's display: none. 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.Source
APIeles.hierarchicalClusteringImplementedAgglomerative hierarchical clustering. Async (round 65): returns a promise, and executor ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker, round 134) 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 stays on the calling thread, and 'workers' rejects them. Threshold mode keeps a merge at exactly threshold, as SciPy and R (round 150; v3 stopped there).Source
APIeles.hierholzerImplementedHierholzer's Eulerian path/circuit.Source
APIeles.hopcroftTarjanBiconnectedImplementedHopcroft–Tarjan biconnected components and articulation points.Source
APIeles.hopcroftTarjanBiconnectedComponentsImplementedAlias of eles.hopcroftTarjanBiconnected. Hopcroft–Tarjan biconnected components and articulation points.Source
APIeles.htbImplementedAlias of eles.hopcroftTarjanBiconnected. Hopcroft–Tarjan biconnected components and articulation points.Source
APIeles.htbcImplementedAlias of eles.hopcroftTarjanBiconnected. Hopcroft–Tarjan biconnected components and articulation points.Source
APIeles.idImplementedThe first element's id. Cached on the handle, so it stays readable after the element is removed.Source
APIeles.incomersImplementedThe immediate incoming neighbourhood: the edges arriving at these nodes plus the nodes they come from. One hop only — use predecessors() for the transitive closure.Source
APIeles.indegreeImplementedThe first element's in-degree, in O(1). Singular, like degree().Source
APIeles.indexOfImplementedIndex of an element within this collection.Source
APIeles.indexOfIdImplementedPosition of the element with this id within the collection.Source
APIeles.insideImplementedWhether the first element is still in the graph — the complement of removed().Source
APIeles.insideCollapsedPartialWhether the first live node has a collapsed strict ancestor; the parent itself answers false. Immediate collapse and expand operate on compound-parent collections.Source
APIeles.interactiveImplementedWhether the element can be interacted with: visible and not pointer-transparent (events: 'no' — round 20.2).Source
APIeles.intersectImplementedAlias of eles.intersection. The elements present in both collections.Source
APIeles.intersectionImplementedThe elements present in both collections.Source
APIeles.isImplementedWhether any element matches the criterion.Source
APIeles.isChildImplementedWhether the first element is a node with a parent.Source
APIeles.isChildlessImplementedWhether the first element is a node with no children.Source
APIeles.isEdgeImplementedWhether the first element is an edge.Source
APIeles.isLoopImplementedWhether the first element is a self-loop — an edge whose source and target are the same node.Source
APIeles.isNodeImplementedWhether the first element is a node.Source
APIeles.isOrphanImplementedWhether the first element is a node without a parent.Source
APIeles.isParentImplementedWhether the first element is a node with at least one child.Source
APIeles.isSimpleImplementedWhether the first element is a non-loop edge.Source
APIeles.jsonPartialExport the first element. The v3 setter/import form is excluded.Source
APIeles.jsonsImplementedPlain-object form of every element.Source
APIeles.kargerSteinImplementedKarger–Stein randomized minimum cut. Randomized, so repeated runs may differ.Source
APIeles.katzCentralityImplementedKatz 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 (round 69): returns a promise, and executor ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker — round 129.1's offload lane, bit-identical to 'cpu', which 'auto' takes wherever neither the GPU nor the pool runs) picks where the iteration runs; like pageRank, 'auto' always uses the sparse CPU iteration and the GPU path serves an explicit 'gpu'. v4-only — v3 has no counterpart. normalization: 'l2' makes katzNormalized divide by the Euclidean norm, as NetworkX's normalized=True (round 150).Source
APIeles.kMeansImplementedk-means clustering in attribute space. Like v3's clustering algorithms this works on handles and attributes accessors rather than on graph structure. Async; executor 'workers' runs the reference on one pool worker for a named distance (round 134), and a custom distance function stays on the calling thread.Source
APIeles.kMedoidsImplementedk-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.Source
APIeles.kruskalImplementedKruskal's minimum spanning tree/forest.Source
APIeles.labelImplementedThe node's resolved label text ('' when none); read-only in the prototype.Source
APIeles.labelBoundingBoxImplementedThe exact laid label boxes of this collection's elements, unioned (round 16.4 — the v4 form of v3's text-metrics surface): 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).Source
APIeles.lastImplementedThe last element, as a length-1 collection.Source
APIeles.layoutImplementedA layout scoped to this collection.Source
APIeles.layoutDimensionsImplementedNode dimensions for layout spacing, as v3's layoutDimensions — the body, plus the label box under nodeDimensionsIncludeLabels: true (114.1 made labels the default; 115 restored v3's body-only default).Source
APIeles.layoutPositionsImplementedApply 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 — v3's helper. With animate: true the viewport animates concurrently (a fit targets the bounding box at the final positions, as v3 does), and the nodes tween as one column animation (round 144: one GPU registration and upload per layout, not one per node) whose nodes stay individually stoppable.Source
APIeles.leavesImplementedCollection nodes with no non-loop outgoing edge.Source
APIeles.lengthImplementedHow many elements this collection holds.Source
APIeles.listenReplacedUse eles.on(); legacy listener aliases were removed.Record
APIeles.lockImplementedLock these elements against movement. Locked mid-tween, a node holds where its position tween got to (round 144, as v3's step skips a locked node); unlock() does not resume it.Source
APIeles.lockedImplementedWhether the first element is locked — immovable, by layouts, position writes and position tweens alike (one rule since round 114.3: 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 (116.3, v3's rule). True for every node while cy.autolock( true ) is set, as in v3; the flag column alone is what { locked: true } filters read.Source
APIeles.makeLayoutImplementedAlias of eles.layout. A layout scoped to this collection.Source
APIeles.mapImplementedMap each element through fn into a plain array.Source
APIeles.markovClusteringImplementedMarkov clustering (MCL) — flow simulation over the graph, so unlike the attribute-space algorithms this one clusters by structure. maxIterations defaults to 100 (v3: 20) and pruneThreshold prunes as Python markov_clustering (round 150).Source
APIeles.maxImplementedThe element maximizing valFn, with its value.Source
APIeles.maxDegreeImplementedThe largest total degree among the collection's nodes.Source
APIeles.maxIndegreeImplementedThe largest in-degree among the collection's nodes.Source
APIeles.maxOutdegreeImplementedThe largest out-degree among the collection's nodes.Source
APIeles.mclImplementedAlias of eles.markovClustering. Markov clustering (MCL) — flow simulation over the graph, so unlike the attribute-space algorithms this one clusters by structure. maxIterations defaults to 100 (v3: 20) and pruneThreshold prunes as Python markov_clustering (round 150).Source
APIeles.mergeImplementedAlias of eles.union. The union of the two collections, deduped.Source
APIeles.midpointImplementedMidpoint of the edge: the curve/route midpoint for curved edges (v3's rs.mid rules per family), the endpoint-center average for straight ones.Source
APIeles.minImplementedThe element minimizing valFn, with its value.Source
APIeles.minDegreeImplementedThe smallest total degree among the collection's nodes.Source
APIeles.minIndegreeImplementedThe smallest in-degree among the collection's nodes.Source
APIeles.minOutdegreeImplementedThe smallest out-degree among the collection's nodes.Source
APIeles.modelPositionImplementedAlias of eles.position. Get or set the first element's model-space position (nodes only).Source
APIeles.modelPositionsImplementedAlias of eles.positions. Set every node's position, from a constant or per-element function.Source
APIeles.motifCensusImplementedThe 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 (round 70): executor ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker — round 129.1's offload lane, bit-identical to 'cpu', which 'auto' takes wherever neither the GPU nor the pool runs) 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, round 72.6). directed: false reads every edge as mutual, so only 003 / 102 / 201 / 300 (empty / one-edge / path / triangle) can be non-zero. v4-only — v3 has no counterpart.Source
APIeles.moveImplementedMove elements in place, keeping slot, id and data: { parent } re-parents nodes (null orphans them; the compound move, round 14.2 — emits moveout before and move after per changed node), while { source, target } re-points edges. As in v3 the modes are exclusive — a parent key takes precedence. An unknown parent id is a silent no-op (v3); a cyclic assignment warns and drops (the hierarchy rule).Source
APIeles.neighborhoodImplementedThe open neighbourhood: the incident edges and the nodes on their far ends, ignoring edge direction, excluding the collection's own elements.Source
APIeles.neighborhoodSimilarityImplementedNeighborhood 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 (round 69): returns a promise, and executor ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker — round 129.1's offload lane, bit-identical to 'cpu', which 'auto' takes wherever neither the GPU nor the pool runs) 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. v4-only — v3 has no counterpart.Source
APIeles.nodesImplementedThe nodes in this collection, optionally filtered.Source
APIeles.nonemptyImplementedWhether the collection holds at least one element.Source
APIeles.nonorphansImplementedThe collection's nodes that have a parent.Source
APIeles.notImplementedAlias of eles.difference. This collection's elements that are not in other.Source
APIeles.numericStyleImplementedThe numeric value of a numeric style prop.Source
APIeles.numericStyleUnitsUndecidedNo v4 unit-query member. numericStyle() and renderedStyle() do not report the property unit. Decide whether the helper was intentionally removed and document a migration path.Source
APIeles.offImplementedStop listening on each element of this collection.Source
APIeles.onImplementedListen 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.Source
APIeles.onceImplementedAlias of eles.one. Like on(), but each element's handler runs at most once.Source
APIeles.oneImplementedLike on(), but each element's handler runs at most once.Source
APIeles.openNeighborhoodImplementedAlias of eles.neighborhood. The open neighbourhood: the incident edges and the nodes on their far ends, ignoring edge direction, excluding the collection's own elements.Source
APIeles.orImplementedAlias of eles.union. The union of the two collections, deduped.Source
APIeles.orphansImplementedThe collection's nodes without a parent.Source
APIeles.outdegreeImplementedThe first element's out-degree, in O(1). Singular, like degree().Source
APIeles.outerHeightImplementedThe full drawn height including the border.Source
APIeles.outerWidthImplementedThe full drawn width including the border — padded width plus the border width. This is the box bounds and endpoint clipping use.Source
APIeles.outgoersImplementedThe immediate outgoing neighbourhood: the edges leaving these nodes plus the nodes they point at. One hop only — use successors() for the transitive closure.Source
APIeles.paddedHeightImplementedThe drawn box height: content height plus twice the padding (v3's paddedHeight). Identical to height() for leaves, which have no padding.Source
APIeles.paddedWidthImplementedThe drawn box: core dims + 2 x padding (v3's paddedWidth).Source
APIeles.paddingImplementedv3-parity accessor: node padding. Leaves have no padding in v4 (no compound-free padding prop); parents answer the resolved auto-bounds padding (round 14.3).Source
APIeles.pageRankImplementedPageRank over the subgraph, undirected by default (each edge walked both ways, as NetworkX and igraph; directed: true follows source → target only, v3's sole behaviour — round 150); dampingFactor is the textbook α (default 0.85; v3's d behaved as α = 1/(2 − d)). Async (round 65): returns a promise, and executor ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker — round 129.1's offload lane, bit-identical to 'cpu', which 'auto' takes wherever neither the GPU nor the pool runs) picks where the power method runs; 'cpu' is the reproducible reference.Source
APIeles.panifyImplementedMake dragging these elements pan the viewport instead of moving them. Pannable overrides grabbable, as in v3.Source
APIeles.pannableImplementedWhether dragging the first element pans the graph instead of grabbing it.Source
APIeles.parallelEdgesImplementedThe edges sharing endpoints with these edges, in either direction — including each edge itself. These are the edges a bezier bundle fans apart.Source
APIeles.parentImplementedImmediate parents of every node in the collection (unique). v4 always returns a proper collection — v3's single-element raw-ref shortcut (which also ignored the selector argument) is not ported.Source
APIeles.parentsImplementedAll ancestors, level by level: every nearest parent first, then the grandparents, and so on (v3's iterated-parent() order).Source
APIeles.pointImplementedAlias of eles.position. Get or set the first element's model-space position (nodes only).Source
APIeles.pointsImplementedAlias of eles.positions. Set every node's position, from a constant or per-element function.Source
APIeles.ponImplementedAlias of eles.promiseOn. Resolve once the next matching event fires on any element of this collection — the promise form of one().Source
APIeles.positionImplementedGet or set the first element's model-space position (nodes only). Mid-tween it reads the value the last frame drew on every host, including under the GPU lease, whose CPU column holds the start until the settle (round 144).Source
APIeles.positionsImplementedSet every node's position, from a constant or per-element function.Source
APIeles.predecessorsImplementedEverything that reaches these nodes by following incoming edges, transitively.Source
APIeles.promiseOnImplementedResolve once the next matching event fires on any element of this collection — the promise form of one().Source
APIeles.randomWalkWithRestartImplementedRandom 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 (round 70); 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 restarts the walk at the seeds by default, as NetworkX's personalised PageRank, so scores sum to 1; dangling: 'absorb' keeps round 70's leaky walk (round 150). v4-only — v3 has no counterpart.Source
APIeles.randomWalkWithRestartProximityImplementedAll-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 (round 70): executor ('cpu' | 'gpu' | 'workers' | 'auto', default 'auto') picks between one sparse solve per column on the CPU, the same solves over the worker pool (round 74, bit-identical to 'cpu') and the dense Neumann iteration on the GPU — under 'auto' the GPU from 256 nodes at any density (round 72.6 measured it ahead everywhere), else the pool from 128. All-pairs (O(n²) memory). Dead ends restart at the column's node by default, or absorb under dangling: 'absorb' (round 150). v4-only — v3 has no counterpart.Source
APIeles.reduceImplementedFold the collection into a single value.Source
APIeles.relativeComplementImplementedAlias of eles.difference. This collection's elements that are not in other.Source
APIeles.relativePointImplementedAlias of eles.relativePosition. Compound-relative position: the model position minus the immediate parent's (derived) position — the model position for orphans and compound-free graphs (round 14.3, v3 semantics).Source
APIeles.relativePositionImplementedCompound-relative position: the model position minus the immediate parent's (derived) position — the model position for orphans and compound-free graphs (round 14.3, v3 semantics).Source
APIeles.removeImplementedRemove these elements from the graph; incident edges of removed nodes cascade. Already-removed elements are skipped (no second remove event).Source
APIeles.removeAllListenersUndecidedCollection off(events, handler?) removes selected event names and cannot clear every event type in one call. Decide whether the collection-wide v3 helper was intentionally removed or needs an equivalent.Source
APIeles.removeAttrImplementedAlias of eles.removeData. Remove sidecar data keys.Source
APIeles.removeClassReplacedClasses were removed. Store category/state in element data and use query objects and conditional style mappers.Record
APIeles.removeCssImplementedAlias of eles.removeStyle. Remove per-element style bypasses from every element (round 63.4 — v3's removeStyle). The sheet-resolved values return through the normal apply, transitions included.Source
APIeles.removedImplementedWhether 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.Source
APIeles.removeDataImplementedRemove sidecar data keys.Source
APIeles.removeListenerImplementedAlias of eles.off. Stop listening on each element of this collection.Source
APIeles.removeScratchImplementedDelete scratchpad keys from every element.Source
APIeles.removeStyleImplementedRemove per-element style bypasses from every element (round 63.4 — v3's removeStyle). The sheet-resolved values return through the normal apply, transitions included.Source
APIeles.renderedBoundingboxImplementedAlias of eles.renderedBoundingBox. boundingBox() transformed into rendered (on-screen) coordinates.Source
APIeles.renderedBoundingBoxImplementedboundingBox() transformed into rendered (on-screen) coordinates.Source
APIeles.renderedControlPointsImplementedcontrolPoints() in rendered (CSS px) space.Source
APIeles.renderedCssImplementedAlias of eles.renderedStyle. Like style(), but with length props (width, height, border-width, font-size) scaled into rendered (on-screen) px by the zoom.Source
APIeles.renderedHeightImplementedheight() scaled by the current zoom.Source
APIeles.renderedMidpointImplementedmidpoint() in rendered (CSS px) space.Source
APIeles.renderedOuterHeightImplementedouterHeight() scaled by the current zoom.Source
APIeles.renderedOuterWidthImplementedouterWidth() scaled by the current zoom.Source
APIeles.renderedPointImplementedAlias of eles.renderedPosition. Get or set the first element's position in rendered (CSS px) space — position() put through the current pan and zoom. Writing unprojects back to model space, so the element lands under the given screen point at the current viewport.Source
APIeles.renderedPositionImplementedGet or set the first element's position in rendered (CSS px) space — position() put through the current pan and zoom. Writing unprojects back to model space, so the element lands under the given screen point at the current viewport.Source
APIeles.renderedSegmentPointsImplementedsegmentPoints() in rendered (CSS px) space.Source
APIeles.renderedSourceEndpointImplementedsourceEndpoint() in rendered (CSS px) space.Source
APIeles.renderedStyleImplementedLike style(), but with length props (width, height, border-width, font-size) scaled into rendered (on-screen) px by the zoom.Source
APIeles.renderedTargetEndpointImplementedtargetEndpoint() in rendered (CSS px) space.Source
APIeles.renderedWidthImplementedwidth() scaled by the current zoom — the on-screen width in CSS px.Source
APIeles.restoreExcludedRemoved elements cannot be restored or cloned through this API. Export definitions before removal and add definitions explicitly when needed.Record
APIeles.rootsImplementedCollection nodes with no non-loop incoming edge (whole-graph incidence, as in v3).Source
APIeles.sameImplementedWhether both collections hold exactly the same elements, ignoring order.Source
APIeles.scratchImplementedPer-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.Source
APIeles.segmentPointsImplementedThe edge's segment points (model coords) — v3's getSegmentPoints: defined for segments and taxi edges (taxi derives its points), undefined otherwise.Source
APIeles.selectImplementedSelect every selectable element, emitting select for each one that changed. Unselectable elements are skipped.Source
APIeles.selectableImplementedWhether the first element may be selected by the user. The graph-wide cy.autounselectify() overrides this for user gestures.Source
APIeles.selectedImplementedWhether the first element is selected.Source
APIeles.selectifyImplementedMake these elements selectable.Source
APIeles.shiftImplementedOffset positions by a vector or along one axis.Source
APIeles.showImplementedShow these elements — the display tier, v3's structural display: element. Shown elements take up space again, rejoin bounds and fit, and re-fan their bezier bundles.Source
APIeles.siblingsImplementedNodes sharing a parent with the collection's nodes, excluding them; orphans are nobody's siblings (v3).Source
APIeles.silentPositionExcludedInternal-only write, omitted from the typed public surface. Use position().Record
APIeles.silentPositionsExcludedInternal-only write, omitted from the typed public surface. Use positions().Record
APIeles.silentShiftExcludedInternal-only write, omitted from the typed public surface. Use shift().Record
APIeles.simRankImplementedSimRank — "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 (round 70): returns a promise, and executor ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker — round 129.1's offload lane, bit-identical to 'cpu', which 'auto' takes wherever neither the GPU nor the pool runs) picks where the iteration runs — under 'auto' the GPU from 256 nodes at any density (round 72.6 measured it ahead everywhere). The undirected default compares all neighbors; directed: true compares the classic in-neighborhoods. All-pairs (O(n²) memory). v4-only — v3 has no counterpart.Source
APIeles.sizeImplementedThe number of elements — the method form of length.Source
APIeles.sliceImplementedA sub-range of the collection, with Array#slice semantics (negative indices count from the end).Source
APIeles.someImplementedWhether any element satisfies the predicate. Short-circuits.Source
APIeles.sortImplementedA copy sorted by a comparator. Note that sort order is a property of the collection, not of drawing: v4 draw order is structural and there is no z-index.Source
APIeles.sortByZIndexExcludedZ-index was removed; draw order is structural.Record
APIeles.sourceImplementedThe source node of the first edge.Source
APIeles.sourceEndpointImplementedThe edge's source-side endpoint in model space, resolved through the route evaluator — so it accounts for curve family, node boundary clipping, haystack offsets and any manual source-endpoint.Source
APIeles.sourcesImplementedThe source nodes of every edge in the collection, deduped.Source
APIeles.stopImplementedStop every running animation on these elements (round 21: no queue — the v3 clearQueue argument is gone). A node in an animated layout's tween is detached alone (round 144): it holds where it got to, or lands with jumpToEnd, and the rest of the tween runs on.Source
APIeles.styleImplementedRead resolved properties or set constant id-keyed bypasses. Bypasses export with the stylesheet and are replaced on a full sheet swap; mappers belong in the sheet.Source
APIeles.subtractImplementedAlias of eles.difference. This collection's elements that are not in other.Source
APIeles.successorsImplementedEverything reachable by following outgoing edges, transitively — the edges and nodes of the forward closure, excluding these nodes themselves (unless a cycle reaches them).Source
APIeles.symdiffImplementedAlias of eles.symmetricDifference. The elements in exactly one of the two collections.Source
APIeles.symmetricDifferenceImplementedThe elements in exactly one of the two collections.Source
APIeles.takesUpSpaceImplementedThe space tier (round 22): 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.Source
APIeles.targetImplementedThe target node of the first edge.Source
APIeles.targetEndpointImplementedThe edge's target-side endpoint in model space, resolved through the route evaluator — so it accounts for curve family, node boundary clipping, haystack offsets and any manual target-endpoint.Source
APIeles.targetsImplementedThe target nodes of every edge in the collection, deduped.Source
APIeles.tarjanStronglyConnectedImplementedTarjan's strongly connected components. Implemented iteratively, so deep graphs cannot overflow the JS stack.Source
APIeles.tarjanStronglyConnectedComponentsImplementedAlias of eles.tarjanStronglyConnected. Tarjan's strongly connected components. Implemented iteratively, so deep graphs cannot overflow the JS stack.Source
APIeles.toArrayImplementedThe elements as a plain array of length-1 collections.Source
APIeles.toggleClassReplacedClasses were removed. Store category/state in element data and use query objects and conditional style mappers.Record
APIeles.totalDegreeImplementedThe summed degree of every node in the collection — the whole-collection figure that degree() deliberately is not.Source
APIeles.transparentImplementedWhether the first element is fully transparent — its effective opacity, with compound ancestors folded in, is exactly 0.Source
APIeles.triangleCountImplementedTriangle 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 (round 69): returns a promise, and executor ('cpu' | 'gpu' | 'auto', default 'auto'; 'workers' runs the reference on one pool worker — round 129.1's offload lane, bit-identical to 'cpu', which 'auto' takes wherever neither the GPU nor the pool runs) 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. v4-only — v3 has no counterpart.Source
APIeles.triggerImplementedAlias of eles.emit. Emit an event on each element, bubbling through compound ancestors to the core.Source
APIeles.tscImplementedAlias of eles.tarjanStronglyConnected. Tarjan's strongly connected components. Implemented iteratively, so deep graphs cannot overflow the JS stack.Source
APIeles.tsccImplementedAlias of eles.tarjanStronglyConnected. Tarjan's strongly connected components. Implemented iteratively, so deep graphs cannot overflow the JS stack.Source
APIeles.uImplementedAlias of eles.union. The union of the two collections, deduped.Source
APIeles.unbindReplacedUse eles.off(); legacy listener aliases were removed.Record
APIeles.ungrabifyImplementedMake these elements ungrabbable — the user can no longer drag them, while programmatic position writes still apply.Source
APIeles.unionImplementedThe union of the two collections, deduped.Source
APIeles.unlistenReplacedUse eles.off(); legacy listener aliases were removed.Record
APIeles.unlockImplementedUnlock these elements.Source
APIeles.unmergeImplementedAlias of eles.difference. This collection's elements that are not in other.Source
APIeles.unpanifyImplementedStop these elements from panning the viewport when dragged, so a grabbable one becomes draggable again.Source
APIeles.unselectImplementedDeselect every element, emitting unselect for each one that changed.Source
APIeles.unselectifyImplementedMake these elements unselectable. Does not deselect them; call unselect() for that.Source
APIeles.visibleImplementedWhether the first element renders (round 22: the derived FLAG_DRAWN — shown AND not visibility: 'hidden' on self or, for nodes, any ancestor; edges additionally fold their endpoints, v3's rule). 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.Source
APIeles.widthImplementedThe first element's width — a node's model-space width, or an edge's stroke width.Source
APIeles.xorImplementedAlias of eles.symmetricDifference. The elements in exactly one of the two collections.Source
APIeles.zDepthExcludedZ-depth ordering is not part of the v4 public surface.Record
APIeles['-']ReplacedUse eles.difference(). Symbolic set-operation aliases are not exposed in v4.Record
APIeles['!']ReplacedUse eles.difference(). Symbolic set-operation aliases are not exposed in v4.Record
APIeles['.']ReplacedUse eles.intersection(). Symbolic set-operation aliases are not exposed in v4.Record
APIeles['(-)']ReplacedUse eles.symmetricDifference(). Symbolic set-operation aliases are not exposed in v4.Record
APIeles['(+)']ReplacedUse eles.symmetricDifference(). Symbolic set-operation aliases are not exposed in v4.Record
APIeles['\\']ReplacedUse eles.difference(). Symbolic set-operation aliases are not exposed in v4.Record
APIeles['&']ReplacedUse eles.intersection(). Symbolic set-operation aliases are not exposed in v4.Record
APIeles['^']ReplacedUse eles.symmetricDifference(). Symbolic set-operation aliases are not exposed in v4.Record
APIeles['+']ReplacedUse eles.union(). Symbolic set-operation aliases are not exposed in v4.Record
APIeles['|']ReplacedUse eles.union(). Symbolic set-operation aliases are not exposed in v4.Record
APIeles['n']ReplacedUse eles.intersection(). Symbolic set-operation aliases are not exposed in v4.Record
APIeles['u']ReplacedUse eles.union(). Symbolic set-operation aliases are not exposed in v4.Record
APIevent.cancelledImplementedon layoutstop: true when the run was abandoned by layout.cancel() or cy.destroy() rather than finished or stopped (round 128); on loadstop, whether the load was cancelled (round 103); absent otherwiseSource
APIevent.cyImplementedthe core the event was raised onSource
APIevent.diffImplementedon patch: what the patch added, removed and updated (round 107)Source
APIevent.isDefaultPreventedImplementedWhether preventDefault() has been called.Source
APIevent.isPropagationStoppedImplementedWhether stopPropagation() has been called — read by the compound bubbling walk (round 14.5), where it halts the phase sequence.Source
APIevent.layoutImplementedthe layout instance, on the layout lifecycle eventsSource
APIevent.originalEventImplementedthe DOM event behind a gesture, when there was one (round 41.4)Source
APIevent.positionImplementedmodel-space position, on pointer-derived eventsSource
APIevent.progressImplementedon the load lifecycle events: the chunks and elements so far (round 103)Source
APIevent.preventDefaultPartialForwards to the original browser event. Does not cancel v4 gesture defaults; use the explicit interaction toggles.Source
APIevent.renderedPositionImplementedrendered-space position; derived from position and the viewportSource
APIevent.stopPropagationImplementedStop the event bubbling to further phases: the remaining ancestors and the core do not see it (round 14.5). Returning false from a handler does the same. With originalEvent attached (round 41.4) this also calls the DOM event's stopPropagation(), so an outer DOM listener stops seeing it too.Source
APIevent.targetImplementedthe core for core-level events, the element for element eventsSource
APIevent.timeStampImplementedwhen the event was built, Date.now() unless the caller supplied oneSource
APIevent.typeImplementedthe event type, e.g. 'tap' — never namespaced (round 41.1)Source
APIlayout.addListenerReplacedLayout handles expose run(), stop(), cancel(), promise() and reheat(). Observe layoutready/layoutstop on cy; custom layouts signal through their context.Record
APIlayout.bindReplacedListen for layoutready/layoutstop on cy or await layout.promise(); layout handles do not expose an event emitter.Record
APIlayout.cancelImplementedAbandon the run in flight (round 128) — 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. The eight built-ins have cancel() too (only their animate: true tween is ever in flight). A layout that is not running is unchanged.Source
APIlayout.emitReplacedLayout handles expose run(), stop(), cancel(), promise() and reheat(). Observe layoutready/layoutstop on cy; custom layouts signal through their context.Record
APIlayout.listenReplacedListen for layoutready/layoutstop on cy or await layout.promise(); layout handles do not expose an event emitter.Record
APIlayout.offReplacedLayout handles expose run(), stop(), cancel(), promise() and reheat(). Observe layoutready/layoutstop on cy; custom layouts signal through their context.Record
APIlayout.onReplacedLayout handles expose run(), stop(), cancel(), promise() and reheat(). Observe layoutready/layoutstop on cy; custom layouts signal through their context.Record
APIlayout.oneReplacedLayout handles expose run(), stop(), cancel(), promise() and reheat(). Observe layoutready/layoutstop on cy; custom layouts signal through their context.Record
APIlayout.optionsImplementedthe resolved options this run was created withSource
APIlayout.ponReplacedLayout handles expose run(), stop(), cancel(), promise() and reheat(). Observe layoutready/layoutstop on cy; custom layouts signal through their context.Record
APIlayout.promiseImplementedResolves at this run's layoutstop (immediately when never run); rejects with CancelledError when the run was cancelled (round 128) — by cancel() or by cy.destroy(). A caller who never awaits it sees no unhandled rejection.Source
APIlayout.promiseOnReplacedLayout handles expose run(), stop(), cancel(), promise() and reheat(). Observe layoutready/layoutstop on cy; custom layouts signal through their context.Record
APIlayout.reheatImplementedHeat 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.Source
APIlayout.removeAllListenersReplacedLayout handles expose run(), stop(), cancel(), promise() and reheat(). Observe layoutready/layoutstop on cy; custom layouts signal through their context.Record
APIlayout.removeListenerReplacedLayout handles expose run(), stop(), cancel(), promise() and reheat(). Observe layoutready/layoutstop on cy; custom layouts signal through their context.Record
APIlayout.runImplementedStart 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).Source
APIlayout.startReplacedUse layout.run(). The v3 spelling is not public in v4.Record
APIlayout.stopImplementedAsk the layout to stop early. The eight discrete built-ins stop an animate: true tween where it stands and fire layoutstop on the spot, once, uncancelled (round 144 — v3's; they had no stop() before); a custom layout's stop() calls the impl's optional stop(), and does the same to a finisher tween once the impl has settled.Source
APIlayout.triggerReplacedLayout handles expose run(), stop(), cancel(), promise() and reheat(). Observe layoutready/layoutstop on cy; custom layouts signal through their context.Record
APIlayout.unbindReplacedListen for layoutready/layoutstop on cy or await layout.promise(); layout handles do not expose an event emitter.Record
APIlayout.unlistenReplacedListen for layoutready/layoutstop on cy or await layout.promise(); layout handles do not expose an event emitter.Record
DistributionOfficial JSON schemasImplementedRound 79: draft 2020-12 schemas for element definitions, the stylesheet (every property per group, mapper-capable or constant), layout options and the options envelope, shipped as cytoscape/schemas/*.json and gated against the running library both ways. $id base is a placeholder until round 46; columnar form held until 4.x; no runtime validate(); value validity stays the library's.Source
DistributionTypeScript declarationsImplementedPublic declarations are generated and shipped with the package.Record
DistributionUMD, CJS and ESM bundlesImplementedBundle builds exist, including minified UMD and ESM; release publication remains separate.Record
DistributionUse-case builds: cytoscape/headless and cytoscape/headless-gpuImplementedRound 131: two slim entries beside the full one, each a single-file bundle (ESM, minified ESM, CJS) with its own declaration and exact to its tier — the tier walk (test/modules/import-graph.test.mjs) fails if cytoscape/headless reaches the renderer, the pointer, any WebGPU code or kernel, or cytoscape/headless-gpu the renderer or pointer. Minified ESM at landing: headless 525,271 bytes (161,782 gzipped), headless-gpu 604,356 (180,228), full 893,415 (251,250); the headless artifacts are gated under a 1,000,000-byte edge budget plus a per-artifact ratchet. What a slim build lacks is loud: a container or mount() throws naming 'cytoscape', and an explicit executor 'gpu' on cytoscape/headless rejects naming the GPU builds. The factories take HeadlessOptions. The composable factory (cytoscape/core plus capability modules) is internal, not exposed at alpha. The cytoscape/gpu alias was removed before alpha.Record
DocumentationAPI reference generatorImplementedSource JSDoc generates the status-site API preview.Source
DocumentationRelease documentation sitePlannedRound 46 scoped source pass covers all twelve non-demo v3 prose sections plus v4 loading, exports, provisional directions and style/layout catalogs. The API audit accounts for 238 v3 names: 215 mappings, 18 decided removals and five maintainer questions. TODO_PROVISIONAL marks specified future contracts and holes. Site/template integration, demos and deployment remain open; the API page is a preview.Record
ExportHeadless image generationPlannedScoped headless SVG and raster-export investigation; current PNG/JPEG require a mounted renderer. Decided (eleventh design sitting, 2026-09-28): svg() works headless; PNG in Node is a documented resvg recipe; cy.png() keeps throwing headless; the Dawn-in-Node investigation runs with round 78 before alpha.Record
ExportPDF exportExcludedNo core PDF export (eleventh design sitting, 2026-09-28): a documented SVG-to-PDF recipe over the SVG serializer, checked by its parity harness; a companion package only if asked (PLAN.md item 48).Record
ExportPNG and JPEGImplementedRendered image export via the public core methods; requires a mounted renderer.Record
ExportSVG vector exportPlannedMinimum requirement for the first alpha, as clarified in the feature direction. SVG serialization is scoped in round 77; working vector output is required. PDF remains a separate undecided follow-up. Decided (eleventh design sitting, 2026-09-28): works headless; images embedded as data URIs by default.Record
ExtensionsCore, collection and renderer extensionsUndecidedDemand-gated extension points remain deferred. Only the layout contract is public.Record
Extensionscyext extension toolchainPlannedScaffold, build and validate extensions against the v4 contract; scoped, not shipped.Record
InteractionBox selectionImplementedContain and overlap modes, with optional label inclusion.Record
InteractionEvent namespaces and raw mouse/touch aliasesExcludedUse the curated v4 event vocabulary; namespace parsing and raw alias re-emits were removed.Record
InteractionParent versus edge drag targetingPartialTap/hover resolves leaf > edge > parent. Initial pan-versus-grab and taphold still use synchronous node picking.Record
InteractionPointer and wheel gesturesImplementedPicking, dragging, pan, zoom, tap, double tap and context gestures.Record
InteractionTouch gesturesImplementedPinch zoom, two-finger context gestures and three-finger box selection.Record
InteractionTransient emphasisImplementedcy.emphasize( eles ) / cy.unemphasize() (round 102): the emphasized set is a styleable, queryable state; everything else is dimmed by the renderer as one composite (core dim-opacity) and the set drawn above it, so a change costs O(set). Picking is unchanged: a dimmed node still picks and hovers. Limitation: 'dim unselected' is not a separate mode — emphasize the selection on select/unselect.Source
InteractionWheel behaviour refinementsImplementedRound 75.5: cy.wheelBehavior('zoom' | 'pan' | 'modifier-zoom') with the matching option, wheel-panning emitting scrollpan, and preventDefault() only on a wheel the canvas acts on — a zoom-disabled canvas lets the page scroll, as in v3. Excluded by design: a wheel-pan speed multiplier, axis swap, configurable modifier keys and touch remapping.Source
LayoutbreadthfirstImplementedDirected levels with node-size-aware spacing and component packing.Source
LayoutcircleImplementedCircular placement with node-size-aware spacing and component packing.Source
LayoutconcentricImplementedConcentric rings from node scores, with component packing.Source
LayoutcoseReplacedUse force; the v3 cose option surface is not accepted unchanged.Record
LayoutflowImplementedLayered directed layout with rank assignment, compound handling and edge routing support.Source
LayoutforceImplementedCPU and GPU force layout; constraints, component packing, overlap avoidance and infinite interactive runs. Three executors since round 129.3 (executor: 'auto' | 'cpu' | 'gpu' | 'workers'): the GPU integrator on either host (and, since round 131, on the compute device with no renderer for an explicit executor 'gpu' — cytoscape/headless-gpu or an unmounted full-build instance), the CPU simulation on a worker (bit-identical to in-thread; 'auto' takes it wherever the integrator cannot run and a worker can be constructed, headless included since round 131 revisited 129.3, so compound and constrained graphs no longer hold the main thread and a Node process keeps its event loop free; 'cpu' is the synchronous spelling), and the in-thread simulation.Source
LayoutgridImplementedGrid placement with node-size-aware spacing and component packing.Source
LayoutLayout extensionsImplementedPass implementations directly through the layout contract; no extension registry.Source
LayoutpackImplementedPack disconnected components while preserving their internal drawing.Source
LayoutpresetImplementedPlace nodes at supplied or existing positions; parents derive from their children.Source
LayoutradialImplementedRadial tree placement.Source
LayoutrandomImplementedRandom placement in a bounding box.Source
ModelAttribute-table column views and filtersPlannedRound 84 benchmark-only pass completed 12 October: nine runs at 10k/100k/1m rows cover scrolling and jump windows, dirty updates, snapshot construction, memory and whole-table sort/filter/facet context. Current public reads take 0.27–0.84 ms per 32-window trace; snapshot refresh and retained-memory costs do not justify a new column-view API for this fixture. Broader API and internal filter choices remain PLAN.md item 91.Record
ModelAutomatic and explicit compactionImplementedReclaim dead slots while preserving live handles and draw order.Record
ModelBinary graph loading and exportImplementedLoad transferable binary payloads; numeric columns deserialize as views. Graph-level data imports at construction, not cy.add(). The format is public but experimental: it may change until 4.x, with no cross-version promise at 4.0 (eleventh design sitting, 2026-09-28). Round 103 added node references (refs, a trailing section under flag bit 2048); round 148 adds miniature state and applied factors in a later experimental section.Source
ModelColumnar storageImplementedTyped columns, indexed adjacency and compact element handles.Record
ModelCompound graphsImplementedHierarchy, subtree moves, inherited visibility and derived parent bounds.Record
ModelId-keyed payload reconciliationImplementedcy.patch() (round 107): definition, columnar and wire payloads through one planner that resolves ids against the id index — packed wire ids without decoding — and compares data column against store before anything mutates. 'reconcile' removes what the payload does not name, 'merge' keeps it; data is replaced per element, positions written when present, a rewired edge is remove + add. Per-element events once each plus one patch event with the diff. Limitation: removals and adds run the per-element store paths, so below ~70% id overlap a reload is cheaper.Source
ModelMultiple dirty-stream consumersImplementedGraphStore.registerConsumer() (round 106): a second reader of the dirty stream (a following clone's trigger, a devtools observer) gets its own cursor — drain-and-republish, so the mutation paths are unchanged and no reader starves another; a late registrant starts full-sync, each cursor gets its own microtask wake, and unwatched data writes reach consumers as dataWritten. Internal, not public API.Source
ModelMultiple viewers by cloningImplementedcy.clone() (round 106): a second view is a second instance, each with one core, viewport and renderer — its own sheet (a minimap's simplified one), selection, hover, events and png(). follow keeps it current by a throttled id-keyed patch, triggered only for carried changes (add, remove, move, data, reparent and miniature state — never a restyle or selection). Miniature factors and source positions are adopted together without rescaling; the follower retains its own sheet and view state. Limitation: ~2x memory, and a follower lags by a sync burst (~50 ms at 100k elements), not a frame. Shared-store views were evaluated and are the recorded fallback.Source
ModelProgressive ingestImplementedcy.load() (round 103): chunks in any input form through the bulk path; later chunks name earlier nodes by id or through node references (refs, an experimental wire section). An initial load holds cy.ready to the first chunk drawn, fits once and holds the viewport; loadstart/loadchunk/loadready/loadstop with event.progress; the promise is completion, with cancel(). The chunked end state is columns-equal to the monolithic load. Limitations: positions are the payload's — a layout is refused while a load runs; one load at a time; cy.patch() refuses refs.Source
ModelZero-copy census and follow-upsImplementedThe census table lives in src/README.md with two re-runnable instruments (benchmark/copy-census*.mjs); the SharedArrayBuffer tier for the worker host is designed and built on trigger (110.3); no general zero-copy guarantee.Record
QueryElement classesReplacedUse data fields and conditional style mappers.Record
QuerySelector stringsReplacedUse query objects and predicates; selector strings throw.Record
ReleaseCross-platform validationPlannedRound 49 remains part of the release sequence; existing CI does not complete that scope.Record
ReleaseRelease engineering and bakePlannedRounds 50–51 cover release workflows, artifact publication and release validation. V4 is unreleased.Record
RenderingAnnotations layerPlannedScoped world-space annotations with picking and export integration; unbuilt. Decided (eleventh design sitting, 2026-09-28): counted in fit()/boundingBox() by default; experimental wire section; editing affordances designed before alpha (PLAN.md item 75).Record
RenderingAutomatic taxi tracksImplementedLive-position fan-out tracks, per-edge casing order and layout gap accommodation.Record
RenderingBackground imagesImplementedMultiple images, SVG promotion and SDF icons; resource caps and degradation are documented.Record
RenderingCanvas fallbackExcludedNo canvas renderer fallback; headless model use remains available.Record
RenderingCompound hull shapesImplementedConvex, rounded-convex and connected concave parent hulls use child body outlines and optional label bounds; miniature collapse is separate.Record
RenderingMiniature compound collapseImplementedBodies, decoration, images, charts, labels, hulls, internal-edge geometry, picking and PNG use inherited effective sizes; crossing-edge width remains authored. Current positions, collapsed state and applied factors survive JSON/wire/patch/clone/follow without another transform. At 10k leaves, built-headless CPU tween ticks take 137 ms median with labels and arrows (58 ms with minimal style); no 60 Hz claim for the styled case.Record
RenderingCurved and taxi edgesImplementedBezier, segments, taxi, rounded variants, loops, haystack and manual endpoints.Record
RenderingEdge-layer cap and join parityImplementedRound 88: edge overlay/underlay strokes end in round caps on every family, blend once with round joins on curved and route edges (capsule steps with per-edge depth), and the overlay spans the gap-shortened path so its cap reaches over a hollow head as v3's; the underlay keeps a flat end where a hollow or translucent head would erase it. Shipped evidence: five close-up v3-vs-v4 parity scenes (caps 0.000%, joins 0.010%, hairpins 0.061%, overlay reach at its 0.124% no-layer floor). The band width stays width + 2 × padding (a deliberate deviation).Record
RenderingElevated draw tierUndecidedDemand-gated follow-up; z-index is excluded.Record
RenderingGPU edge bundlingPlannedScoped force-directed edge bundling; current parallel-bezier routing is a separate implemented feature. Decided (eleventh design sitting, 2026-09-28): promise plus stats; cy.bundleEdges() considered together with possible style properties; persistence (preset vs wire section) benchmarked both ways.Record
RenderingHollow mid-arrow compositingExcludedMid arrows are filled only (eleventh design sitting, 2026-09-28): the endpoint trim that reproduces v3's erase cannot reach mid-line, and SVG export and the WebGL path draw them filled too.Record
RenderingLabel declutteringImplementedRound 104: a CPU occupancy pass over the drawn node labels, highest label-priority first (the emphasized set above all), on a model-anchored grid (a pan re-decides nothing) with hysteresis (an incumbent keeps its claim until outranked by a margin, and yields to re-quantization only past one cell); the result gates the glyph cull. Cull decides membership, fade decides alpha. png()/jpg() declutter their own view. Limitation: edge labels are not decluttered.Source
RenderingMultiline and edge labelsImplementedWrapped labels, source/target labels, label geometry and bounds.Record
RenderingNode shapes and arrowhead vocabularyImplementedRound 146: triangle-cross is removed without an alias; tee and triangle-tee bars use max(0.1 × arrowSize, edgeWidth), and hollow triangle-tee / circle-triangle end heads outline each component independently. Mid heads stay filled; erase and overlapping-translucency deviations remain recorded.Record
RenderingOverlapping translucent arrowheadsPartialHeads composite; v3 destination-out flattening is not reproduced.Record
RenderingVery large parallel-edge bundlesImplementedRound 105 measured bundles of 2 to 32 members at 32,768 edges: every v4 row (ingest, derivation, device frame, pick) is flat in width, and a 30-wide bezier fan matches v3 to 0 px at zoom 1 and in close-up (v3's offset formula verbatim). Picks inside a wide bundle resolve the nearest member, as in v3. Haystack is ~9× cheaper than bezier on the device at that scale and is the recommended spelling for wide bundles; no bundle LOD aggregation exists (not warranted by the numbers).Record
RenderingRendering without WebGPUPlannedMinimum requirement for the first alpha; current rendering still requires WebGPU. Decided (eleventh design sitting, 2026-09-28): full parity at alpha. Round 73 chose the backend (WebGL2) and the capability selection ('auto' takes WebGPU only on a non-fallback adapter, else WebGL2); round 137 builds it, after the render-affecting rounds, held to a live WebGL-vs-WebGPU parity project.Record
RenderingWebGL2 fallback investigationImplementedRound 73's feasibility record (2026-09-29): every pipeline's bindings and WebGL2 substitute, and three spikes on the benchmark machine's RX 580 - vertex pulling from data textures costs nothing measurable, a vertex-stage collapse replaces the compute cull at +0.03-0.33 ms of GPU, and the edge pick readback is no slower than WebGPU's - plus the dated reach table. The investigation, not the renderer.Record
RenderingWebGPU rendererImplementedGPU drawing, culling, picking and mapped paint; browser WebGPU is required.Record
RuntimeAdditional runtime support investigationImplementedThe supported-environment matrix records headless core, workers, GPU compute and rendering capabilities with CI or measured evidence. Current support covers Node, Bun, browser contexts and Cloudflare workerd; Deno support is withdrawn in the 12 October round-99 scope. Historical round-100 measurements remain in the development record.Record
RuntimeBrowser worker contexts (dedicated, shared, service)ImplementedRound 100: the headless core runs in a page-less browser worker — the cross-runtime smoke's value assertions pass in a dedicated, a shared and a service worker on Chromium and WebKit (CI, playwright-tests/contexts.spec.js) and Firefox 151 (measured). The worker pool is not available there: it requires a document (PLAN.md item 82), so 'auto' runs on the worker's own thread. Worklets are unsupported (no TextDecoder or queueMicrotask at module evaluation).Source
RuntimeBun headlessImplementedBuilt bundles are covered by the cross-runtime smoke suite and CI.Source
RuntimeEdge isolates (Cloudflare Workers)ImplementedRound 131: cytoscape/headless runs in a WinterTC-shaped isolate with no Worker, DOM, process or navigator.gpu — gated every Node-tier run in a node:vm isolate (test/modules/isolate-smoke.test.mjs, 'auto' shown to stay on the calling thread) and on Cloudflare's own runtime via the workerd devDependency (npm run test:runtimes:workerd, green at landing; CI's ci-workerd job). The minified artifact is 568 KB (525 KB at landing; measured 2026-09-29 by round 100) against the 1,000,000-byte budget; round 100 measured the CPU budget on real fixtures — see src/README.md's "Supported environments".Source
RuntimeDevice-loss recoveryImplementedReconstruct GPU state from CPU-owned data; exercised under lifecycle/load tests.Record
RuntimeMount and unmountImplementedAttach or detach rendering while retaining the CPU model.Source
RuntimeNative Bun full-tier verificationImplementedRound 99: Bun 1.4.0 and 1.4.3 pass 3310 public, 1226 module and 40 soak tests with exact Node 24.18 identity/outcome parity, native/exact throws coverage and all nine bundle smokes. CI gates floor and latest; Node tooling and Playwright remain. Deno support is withdrawn. npm-only for alpha; reconsider JSR post-alpha.Record
RuntimeNode headlessImplementedHeadless package operation is covered by the Node runtime smoke suite.Source
Styleactive-bg-colorImplementedCore theming; set in the core stylesheet group. Constants only.Source
Styleactive-bg-opacityImplementedCore theming; set in the core stylesheet group. Constants only.Source
Styleactive-bg-sizeImplementedCore theming; set in the core stylesheet group. Constants only.Source
Stylearrow-scaleImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-blackenReplacedCompute the shade in a colour mapper range.Record
Stylebackground-clipImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-fillImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-fitImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-gradient-directionImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-gradient-stop-colorsPartialGradient stops are supported with a maximum of five stops.Source
Stylebackground-gradient-stop-positionsPartialGradient stops are supported with a maximum of five stops.Source
Stylebackground-heightImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-height-relative-toExcludedBackground image sizing uses the v4 image-box rules; the v3 relative-to toggle is not supported.Record
Stylebackground-imageImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-image-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-image-containmentImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-image-crossoriginImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-image-opacityImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-image-smoothingImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-image-typeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-offset-xImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-offset-yImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-opacityImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-position-xImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-position-yImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-repeatImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-widthImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebackground-width-relative-toExcludedBackground image sizing uses the v4 image-box rules; the v3 relative-to toggle is not supported.Record
Styleborder-capExcludedDash ends use perpendicular butt cuts; no configurable border cap.Record
Styleborder-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleborder-dash-offsetImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleborder-dash-patternImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleborder-joinExcludedBorder joins follow the shape geometry; no configurable border join.Record
Styleborder-opacityImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleborder-positionImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleborder-styleImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleborder-widthImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylebounds-expansionExcludedBounds are derived from the drawn geometry; no manual expansion property.Record
Stylebox-select-labelsReplacedUse the core option boxSelectionIncludesLabels.Record
Stylebox-selectionReplacedUse boxSelectionMode ('contain' or 'overlap'); disable events for the v3 'none' behaviour.Record
StylechartImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylechart-colorsImplementedConstant colour list or named scheme for pie/stripe/bar slots, up to 255 ordered values; named palettes cycle when shorter. Per-slice alpha belongs in each colour.Source
Stylechart-domainImplementedRequired geometry bounds for signed bars; numeric endpoints or auto outer bounds resolve across the shared chart definition.Source
Stylechart-directionImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylechart-holeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylechart-missing-colorImplementedHeat-chart colour for missing or non-finite values; transparent by default. Missing slots remain in their authored dataset positions.Source
Stylechart-opacityImplementedOverall opacity folded into every chart slice alpha.Source
Stylechart-scaleImplementedExplicit numeric colour domain and range for heat charts and optional bar colours; outer auto endpoints use shared finite values and colour domains may differ from bar geometry bounds.Source
Stylechart-sizeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylechart-start-angleImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylechart-valuesImplementedUp to 255 ordered values. Pie/stripe values are absolute fractions that clamp at 1; heat/bar values are signed numbers, and null/non-finite slots stay aligned. Constants or a data passthrough.Source
Stylecollapse-scaleImplementedParents only; defaults to 0.1 and accepts finite values in (0, 1], numeric mappers and constant bypasses. Live style changes retarget a collapsed parent after the style transaction; style reads stay unscaled while geometry uses the applied factor.Source
StylecolorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylecompound-sizing-wrt-labelsImplementedParents only; defaults to 'exclude'. 'Include' adds visible direct-child model-space label bounds before padding; rotated labels count, zoom LOD does not, and a parent's own label never sizes itself.Source
StylecontentReplacedUse label.Record
Stylecontrol-point-distanceReplacedUse control-point-distances (plural).Record
Stylecontrol-point-distancesImplementedEdge routing array; constants only. Use an id-keyed style bypass for a different array on each edge.Source
Stylecontrol-point-step-sizeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylecontrol-point-weightImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylecontrol-point-weightsImplementedEdge routing array; constants only. Use an id-keyed style bypass for a different array on each edge.Source
Stylecorner-radiusImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylecurve-styleImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styledim-opacityImplementedCore theming (round 102): the opacity the rest of the graph composites at while cy.emphasize() is set; default 0.15. Constants only.Source
StyledisplayReplacedUse show()/hide() for structural visibility, or the visibility property for paint-only hiding.Record
Styleedge-distancesImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleedge-text-rotationReplacedUse text-rotation.Record
StyleeventsImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylefont-familyPartialOne global font face per atlas; per-element font families and mappers are excluded.Source
Stylefont-sizeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylefont-stylePartialGlobal font setting; per-element variation and mappers are excluded.Source
Stylefont-weightPartialGlobal font setting; per-element variation and mappers are excluded.Source
StyleghostImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleghost-offset-xImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleghost-offset-yImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleghost-opacityImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylehaystack-radiusImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
StyleheightImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
StylelabelImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylelabel-declutterImplementedCore prop (round 104): 'none' (default) or 'cull' — hide each node label that would overlap a higher-priority one (a greedy claim over a model-anchored 4 CSS px grid, with hysteresis). Renderer-local: never stored or read back. Node labels only; edge labels do not join the pass. Constants only.Source
Stylelabel-priorityImplementedNode prop (round 104): any number, mapper-able (data( score ), or a per-group constant); default 0 (all equal). Orders the label-declutter claims and the zoom fade (the lowest rank fades first). Rejected on edges.Source
Styleline-capImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleline-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleline-dash-offsetImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleline-dash-patternImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleline-fillImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleline-gradient-stop-colorsPartialGradient stops are supported with a maximum of five stops.Source
Styleline-gradient-stop-positionsPartialGradient stops are supported with a maximum of five stops.Source
Styleline-heightImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleline-opacityImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleline-outline-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleline-outline-widthImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleline-styleImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleloop-directionImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleloop-sweepImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylemid-source-arrow-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylemid-source-arrow-fillExcludedMid arrows are always filled: a hollow or translucent mid head would show the line through it, since the endpoint trim cannot reach mid-line. Decided at the eleventh design sitting (2026-09-28); additive later if asked.Record
Stylemid-source-arrow-shapeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylemid-source-arrow-widthImplementedRound 76: accepted, bypassable and read back (resolved against the edge width); constants-only like the end widths. Draws nothing: mid heads are always filled, and v3 reads the width only to stroke a hollow head.Source
Stylemid-target-arrow-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylemid-target-arrow-fillExcludedMid arrows are always filled: a hollow or translucent mid head would show the line through it, since the endpoint trim cannot reach mid-line. Decided at the eleventh design sitting (2026-09-28); additive later if asked.Record
Stylemid-target-arrow-shapeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylemid-target-arrow-widthImplementedRound 76: accepted, bypassable and read back (resolved against the edge width); constants-only like the end widths. Draws nothing: mid heads are always filled, and v3 reads the width only to stroke a hollow head.Source
Stylemin-heightImplementedCompound parents group only. Padding accepts pixels or percentages; per-side values override uniform padding.Source
Stylemin-height-bias-bottomReplacedThe min-width/min-height clamp is centred. Use per-side parent padding for asymmetric space.Record
Stylemin-height-bias-topReplacedThe min-width/min-height clamp is centred. Use per-side parent padding for asymmetric space.Record
Stylemin-widthImplementedCompound parents group only. Padding accepts pixels or percentages; per-side values override uniform padding.Source
Stylemin-width-bias-leftReplacedThe min-width/min-height clamp is centred. Use per-side parent padding for asymmetric space.Record
Stylemin-width-bias-rightReplacedThe min-width/min-height clamp is centred. Use per-side parent padding for asymmetric space.Record
Stylemin-zoomed-font-sizeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
StyleopacityImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleoutline-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleoutline-offsetImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleoutline-opacityImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleoutline-styleImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleoutline-widthImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleoutside-texture-bg-colorExcludedRemoved with textureOnViewport; v4 does not use the canvas-era viewport texture.Record
Styleoutside-texture-bg-opacityExcludedRemoved with textureOnViewport; v4 does not use the canvas-era viewport texture.Record
Styleoverlay-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleoverlay-corner-radiusImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleoverlay-opacityImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleoverlay-paddingImplementedAccepted by the v4 stylesheet. On edges the band is width + 2 × padding wide, where v3's is 2 × padding (hidden under the line at small paddings) — a deliberate deviation (eleventh design sitting, 2026-09-28).Source
Styleoverlay-shapeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
StylepaddingImplementedCompound parents group only. Padding accepts pixels or percentages; per-side values override uniform padding.Source
Stylepadding-bottomImplementedCompound parents group only. Padding accepts pixels or percentages; per-side values override uniform padding.Source
Stylepadding-leftImplementedCompound parents group only. Padding accepts pixels or percentages; per-side values override uniform padding.Source
Stylepadding-relative-toImplementedCompound parents group only. Padding accepts pixels or percentages; per-side values override uniform padding.Source
Stylepadding-rightImplementedCompound parents group only. Padding accepts pixels or percentages; per-side values override uniform padding.Source
Stylepadding-topImplementedCompound parents group only. Padding accepts pixels or percentages; per-side values override uniform padding.Source
Stylepie-1-background-colorReplacedUse chart: 'pie' and chart-colors[0].Record
Stylepie-1-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[0]; chart-opacity controls the whole chart.Record
Stylepie-1-background-sizeReplacedUse chart: 'pie' and chart-values[0] (fraction or percentage).Record
Stylepie-10-background-colorReplacedUse chart: 'pie' and chart-colors[9].Record
Stylepie-10-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[9]; chart-opacity controls the whole chart.Record
Stylepie-10-background-sizeReplacedUse chart: 'pie' and chart-values[9] (fraction or percentage).Record
Stylepie-11-background-colorReplacedUse chart: 'pie' and chart-colors[10].Record
Stylepie-11-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[10]; chart-opacity controls the whole chart.Record
Stylepie-11-background-sizeReplacedUse chart: 'pie' and chart-values[10] (fraction or percentage).Record
Stylepie-12-background-colorReplacedUse chart: 'pie' and chart-colors[11].Record
Stylepie-12-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[11]; chart-opacity controls the whole chart.Record
Stylepie-12-background-sizeReplacedUse chart: 'pie' and chart-values[11] (fraction or percentage).Record
Stylepie-13-background-colorReplacedUse chart: 'pie' and chart-colors[12].Record
Stylepie-13-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[12]; chart-opacity controls the whole chart.Record
Stylepie-13-background-sizeReplacedUse chart: 'pie' and chart-values[12] (fraction or percentage).Record
Stylepie-14-background-colorReplacedUse chart: 'pie' and chart-colors[13].Record
Stylepie-14-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[13]; chart-opacity controls the whole chart.Record
Stylepie-14-background-sizeReplacedUse chart: 'pie' and chart-values[13] (fraction or percentage).Record
Stylepie-15-background-colorReplacedUse chart: 'pie' and chart-colors[14].Record
Stylepie-15-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[14]; chart-opacity controls the whole chart.Record
Stylepie-15-background-sizeReplacedUse chart: 'pie' and chart-values[14] (fraction or percentage).Record
Stylepie-16-background-colorReplacedUse chart: 'pie' and chart-colors[15].Record
Stylepie-16-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[15]; chart-opacity controls the whole chart.Record
Stylepie-16-background-sizeReplacedUse chart: 'pie' and chart-values[15] (fraction or percentage).Record
Stylepie-2-background-colorReplacedUse chart: 'pie' and chart-colors[1].Record
Stylepie-2-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[1]; chart-opacity controls the whole chart.Record
Stylepie-2-background-sizeReplacedUse chart: 'pie' and chart-values[1] (fraction or percentage).Record
Stylepie-3-background-colorReplacedUse chart: 'pie' and chart-colors[2].Record
Stylepie-3-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[2]; chart-opacity controls the whole chart.Record
Stylepie-3-background-sizeReplacedUse chart: 'pie' and chart-values[2] (fraction or percentage).Record
Stylepie-4-background-colorReplacedUse chart: 'pie' and chart-colors[3].Record
Stylepie-4-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[3]; chart-opacity controls the whole chart.Record
Stylepie-4-background-sizeReplacedUse chart: 'pie' and chart-values[3] (fraction or percentage).Record
Stylepie-5-background-colorReplacedUse chart: 'pie' and chart-colors[4].Record
Stylepie-5-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[4]; chart-opacity controls the whole chart.Record
Stylepie-5-background-sizeReplacedUse chart: 'pie' and chart-values[4] (fraction or percentage).Record
Stylepie-6-background-colorReplacedUse chart: 'pie' and chart-colors[5].Record
Stylepie-6-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[5]; chart-opacity controls the whole chart.Record
Stylepie-6-background-sizeReplacedUse chart: 'pie' and chart-values[5] (fraction or percentage).Record
Stylepie-7-background-colorReplacedUse chart: 'pie' and chart-colors[6].Record
Stylepie-7-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[6]; chart-opacity controls the whole chart.Record
Stylepie-7-background-sizeReplacedUse chart: 'pie' and chart-values[6] (fraction or percentage).Record
Stylepie-8-background-colorReplacedUse chart: 'pie' and chart-colors[7].Record
Stylepie-8-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[7]; chart-opacity controls the whole chart.Record
Stylepie-8-background-sizeReplacedUse chart: 'pie' and chart-values[7] (fraction or percentage).Record
Stylepie-9-background-colorReplacedUse chart: 'pie' and chart-colors[8].Record
Stylepie-9-background-opacityReplacedUse chart: 'pie' and the alpha component of chart-colors[8]; chart-opacity controls the whole chart.Record
Stylepie-9-background-sizeReplacedUse chart: 'pie' and chart-values[8] (fraction or percentage).Record
Stylepie-holeReplacedUse chart: 'pie' and chart-hole.Record
Stylepie-sizeReplacedUse chart: 'pie' and chart-size.Record
Stylepie-start-angleReplacedUse chart: 'pie' and chart-start-angle.Record
StylepositionReplacedUse ele.position(); position is not a style property.Record
Styleradius-typeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylesegment-distanceReplacedUse segment-distances (plural).Record
Stylesegment-distancesImplementedEdge routing array; constants only. Use an id-keyed style bypass for a different array on each edge.Source
Stylesegment-radiiImplementedEdge routing array; constants only. Use an id-keyed style bypass for a different array on each edge.Source
Stylesegment-radiusReplacedUse segment-radii (plural).Record
Stylesegment-weightReplacedUse segment-weights (plural).Record
Stylesegment-weightsImplementedEdge routing array; constants only. Use an id-keyed style bypass for a different array on each edge.Source
Styleselection-box-border-colorImplementedCore theming; set in the core stylesheet group. Constants only.Source
Styleselection-box-border-widthImplementedCore theming; set in the core stylesheet group. Constants only.Source
Styleselection-box-colorImplementedCore theming; set in the core stylesheet group. Constants only.Source
Styleselection-box-opacityImplementedCore theming; set in the core stylesheet group. Constants only.Source
StyleshapeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleshape-polygon-pointsImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylesource-arrow-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylesource-arrow-fillImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylesource-arrow-shapeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylesource-arrow-widthImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylesource-distance-from-nodeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylesource-endpointImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylesource-labelImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylesource-text-margin-xImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylesource-text-margin-yImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylesource-text-offsetImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylesource-text-rotationImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylestripe-1-background-colorReplacedUse chart: 'stripes' and chart-colors[0].Record
Stylestripe-1-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[0]; chart-opacity controls the whole chart.Record
Stylestripe-1-background-sizeReplacedUse chart: 'stripes' and chart-values[0] (fraction or percentage).Record
Stylestripe-10-background-colorReplacedUse chart: 'stripes' and chart-colors[9].Record
Stylestripe-10-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[9]; chart-opacity controls the whole chart.Record
Stylestripe-10-background-sizeReplacedUse chart: 'stripes' and chart-values[9] (fraction or percentage).Record
Stylestripe-11-background-colorReplacedUse chart: 'stripes' and chart-colors[10].Record
Stylestripe-11-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[10]; chart-opacity controls the whole chart.Record
Stylestripe-11-background-sizeReplacedUse chart: 'stripes' and chart-values[10] (fraction or percentage).Record
Stylestripe-12-background-colorReplacedUse chart: 'stripes' and chart-colors[11].Record
Stylestripe-12-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[11]; chart-opacity controls the whole chart.Record
Stylestripe-12-background-sizeReplacedUse chart: 'stripes' and chart-values[11] (fraction or percentage).Record
Stylestripe-13-background-colorReplacedUse chart: 'stripes' and chart-colors[12].Record
Stylestripe-13-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[12]; chart-opacity controls the whole chart.Record
Stylestripe-13-background-sizeReplacedUse chart: 'stripes' and chart-values[12] (fraction or percentage).Record
Stylestripe-14-background-colorReplacedUse chart: 'stripes' and chart-colors[13].Record
Stylestripe-14-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[13]; chart-opacity controls the whole chart.Record
Stylestripe-14-background-sizeReplacedUse chart: 'stripes' and chart-values[13] (fraction or percentage).Record
Stylestripe-15-background-colorReplacedUse chart: 'stripes' and chart-colors[14].Record
Stylestripe-15-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[14]; chart-opacity controls the whole chart.Record
Stylestripe-15-background-sizeReplacedUse chart: 'stripes' and chart-values[14] (fraction or percentage).Record
Stylestripe-16-background-colorReplacedUse chart: 'stripes' and chart-colors[15].Record
Stylestripe-16-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[15]; chart-opacity controls the whole chart.Record
Stylestripe-16-background-sizeReplacedUse chart: 'stripes' and chart-values[15] (fraction or percentage).Record
Stylestripe-2-background-colorReplacedUse chart: 'stripes' and chart-colors[1].Record
Stylestripe-2-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[1]; chart-opacity controls the whole chart.Record
Stylestripe-2-background-sizeReplacedUse chart: 'stripes' and chart-values[1] (fraction or percentage).Record
Stylestripe-3-background-colorReplacedUse chart: 'stripes' and chart-colors[2].Record
Stylestripe-3-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[2]; chart-opacity controls the whole chart.Record
Stylestripe-3-background-sizeReplacedUse chart: 'stripes' and chart-values[2] (fraction or percentage).Record
Stylestripe-4-background-colorReplacedUse chart: 'stripes' and chart-colors[3].Record
Stylestripe-4-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[3]; chart-opacity controls the whole chart.Record
Stylestripe-4-background-sizeReplacedUse chart: 'stripes' and chart-values[3] (fraction or percentage).Record
Stylestripe-5-background-colorReplacedUse chart: 'stripes' and chart-colors[4].Record
Stylestripe-5-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[4]; chart-opacity controls the whole chart.Record
Stylestripe-5-background-sizeReplacedUse chart: 'stripes' and chart-values[4] (fraction or percentage).Record
Stylestripe-6-background-colorReplacedUse chart: 'stripes' and chart-colors[5].Record
Stylestripe-6-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[5]; chart-opacity controls the whole chart.Record
Stylestripe-6-background-sizeReplacedUse chart: 'stripes' and chart-values[5] (fraction or percentage).Record
Stylestripe-7-background-colorReplacedUse chart: 'stripes' and chart-colors[6].Record
Stylestripe-7-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[6]; chart-opacity controls the whole chart.Record
Stylestripe-7-background-sizeReplacedUse chart: 'stripes' and chart-values[6] (fraction or percentage).Record
Stylestripe-8-background-colorReplacedUse chart: 'stripes' and chart-colors[7].Record
Stylestripe-8-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[7]; chart-opacity controls the whole chart.Record
Stylestripe-8-background-sizeReplacedUse chart: 'stripes' and chart-values[7] (fraction or percentage).Record
Stylestripe-9-background-colorReplacedUse chart: 'stripes' and chart-colors[8].Record
Stylestripe-9-background-opacityReplacedUse chart: 'stripes' and the alpha component of chart-colors[8]; chart-opacity controls the whole chart.Record
Stylestripe-9-background-sizeReplacedUse chart: 'stripes' and chart-values[8] (fraction or percentage).Record
Stylestripe-directionReplacedUse chart: 'stripes' and chart-direction.Record
Stylestripe-sizeReplacedUse chart: 'stripes' and chart-size.Record
Styletarget-arrow-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletarget-arrow-fillImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletarget-arrow-shapeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletarget-arrow-widthImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletarget-distance-from-nodeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletarget-endpointImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletarget-labelImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletarget-text-margin-xImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletarget-text-margin-yImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletarget-text-offsetImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletarget-text-rotationImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletaxi-directionImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletaxi-radiusImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletaxi-trackImplementedAssign an explicit taxi track for automatic turn routing.Source
Styletaxi-track-spacingImplementedControl spacing between automatic taxi tracks.Source
Styletaxi-turnImplementedNumeric and percentage turns plus v4 'auto': assign fan-out tracks from live positions.Source
Styletaxi-turn-min-distanceImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-background-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-background-opacityImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-background-paddingImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-background-shapeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-border-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-border-opacityImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-border-styleImplementedRound 76.3: solid, dashed, dotted and double on node and edge label boxes, mapper-capable; v3's hardcoded dash patterns along its stroke path, live parity 0.384% at zoom 3. Deviations: the box draws only with text-background-opacity > 0, and dash ends at the four corners split on the diagonal.Source
Styletext-border-widthImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-eventsPartialNode labels only; the edges group rejects this property. Edge labels are not pickable.Source
Styletext-halignImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-justificationImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-margin-xImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-margin-yImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-max-widthImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-metricsReplacedUse eles.labelBoundingBox() for measured label extents.Record
Styletext-opacityImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-outline-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-outline-opacityImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-outline-widthImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-overflow-wrapImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-rotationImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-transformImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-valignImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletext-wrapImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletransition-delayPartialGlobal transition configuration; plain milliseconds only. Time-unit strings and per-element mappers are excluded.Source
Styletransition-durationPartialGlobal transition configuration; plain milliseconds only. Time-unit strings and per-element mappers are excluded.Source
Styletransition-propertyImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styletransition-timing-functionImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleunderlay-colorImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleunderlay-corner-radiusImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleunderlay-opacityImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Styleunderlay-paddingImplementedAccepted by the v4 stylesheet. On edges the band is width + 2 × padding wide, where v3's is 2 × padding (hidden under the line at small paddings) — a deliberate deviation (eleventh design sitting, 2026-09-28).Source
Styleunderlay-shapeImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
StylevisibilityImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
StylewidthImplementedAccepted by the v4 stylesheet. Values and applicable element groups follow the v4 style compiler.Source
Stylez-compound-depthExcludedDraw order is structural: parents, edges, leaves, labels; slot order within a stream. Z-index ordering was deliberately removed.Record
Stylez-indexExcludedDraw order is structural: parents, edges, leaves, labels; slot order within a stream. Z-index ordering was deliberately removed.Record
Stylez-index-compareExcludedDraw order is structural: parents, edges, leaves, labels; slot order within a stream. Z-index ordering was deliberately removed.Record
StylingAdditional chart kindsImplementedRound 80 adds heat strips, radial heat and signed bars, shared chart scales/domains, missing-slot colours and a 255-value cap.Source
StylingCSS strings and function stylesReplacedUse grouped declarative styles and mapper specifications.Record
StylingDeclarative mappersImplementedData mappings, scales and state conditions compile into the style engine.Source
StylingNode chartsImplementedPie/donut, stripes, heat strips, radial heat and signed bars use ordered chart-value slots; charts remain paint-only and application-owned for labels and axes.Source
StylingPer-element bypassesImplementedId-keyed constants with v3 method sugar, serialized as part of the stylesheet.Record
StylingScreen-space sizing investigationPlannedScoped design investigation; viewport-fixed labels remain excluded from current support. Folded into the semantic-zoom work (eleventh design sitting, 2026-09-28); the API shape and the bounding-box rule are decided there.Record