API members
Index of every documented Cytoscape.js API member.
Complete API reference on one page
- ani.pause — Animations › Animation handle
- ani.paused — Animations › Animation handle
- ani.play — Animations › Animation handle
- ani.playing — Animations › Animation handle
- ani.progress — Animations › Animation handle
- ani.promise — Animations › Animation handle
- ani.resume — Animations › Animation handle
- ani.reverse — Animations › Animation handle
- ani.stop — Animations › Animation handle
- ctx.boundingBox — Extensions › Layout context › Bounds
- ctx.components — Extensions › Layout context › Writing positions and finishing
- ctx.cy — Extensions › Layout context › Scope
- ctx.degreeOf — Extensions › Layout context › Columnar reads
- ctx.edgeSlots — Extensions › Layout context › Columnar reads
- ctx.eles — Extensions › Layout context › Scope
- ctx.endpoints — Extensions › Layout context › Columnar reads
- ctx.finish — Extensions › Layout context › Writing positions and finishing
- ctx.height — Extensions › Layout context › Bounds
- ctx.layoutPositions — Extensions › Layout context › Writing positions and finishing
- ctx.nodeDimensions — Extensions › Layout context › Columnar reads
- ctx.nodes — Extensions › Layout context › Scope
- ctx.nodeSlots — Extensions › Layout context › Columnar reads
- ctx.options — Extensions › Layout context › Scope
- ctx.packComponents — Extensions › Layout context › Writing positions and finishing
- ctx.positions — Extensions › Layout context › Columnar reads
- ctx.refreshScope — Extensions › Layout context › Scope
- ctx.setPositions — Extensions › Layout context › Writing positions and finishing
- ctx.width — Extensions › Layout context › Bounds
- cy.add — Core › Graph manipulation › Adding, removing and reconciling
- cy.animate — Core › Animation
- cy.animated — Core › Animation
- cy.animation — Core › Animation
- cy.autolock — Core › Interaction controls
- cy.autoungrabify — Core › Interaction controls
- cy.autounselectify — Core › Interaction controls
- cy.batch — Core › Graph manipulation › Batching and compaction
- cy.boxSelectionEnabled — Core › Interaction controls
- cy.boxSelectionIncludesLabels — Core › Interaction controls
- cy.boxSelectionMode — Core › Interaction controls
- cy.center — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.clone — Core › Independent views
- cy.collection — Core › Accessing elements
- cy.compact — Core › Graph manipulation › Batching and compaction
- cy.container — Core › Initialisation and lifecycle
- cy.data — Core › Data and scratch
- cy.desktopTapThreshold — Core › Interaction controls
- cy.destroy — Core › Initialisation and lifecycle
- cy.destroyed — Core › Initialisation and lifecycle
- cy.edges — Core › Accessing elements
- cy.elements — Core › Accessing elements
- cy.elementsInBox — Core › Accessing elements
- cy.emit — Core › Events
- cy.emphasize — Core › Emphasis
- cy.endBatch — Core › Graph manipulation › Batching and compaction
- cy.extent — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.filter — Core › Accessing elements
- cy.fit — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.getElementById — Core › Accessing elements
- cy.hasCompoundNodes — Core › Metadata and environment
- cy.hasElementWithId — Core › Metadata and environment
- cy.headless — Core › Metadata and environment
- cy.height — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.isReady — Core › Initialisation and lifecycle
- cy.jpg — Core › Export and snapshots › Image export
- cy.json — Core › Export and snapshots › Graph data and wire format
- cy.layout — Core › Layout
- cy.legend — Core › Style and legends
- cy.load — Core › Graph manipulation › Progressive loading
- cy.maxZoom — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.minZoom — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.mount — Core › Initialisation and lifecycle
- cy.multiClickDebounceTime — Core › Interaction controls
- cy.nodeAt — Core › Viewport manipulation › Picking and visible counts
- cy.nodes — Core › Accessing elements
- cy.off — Core › Events
- cy.on — Core › Events
- cy.one — Core › Events
- cy.options — Core › Metadata and environment
- cy.pan — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.panBy — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.panningEnabled — Core › Interaction controls
- cy.patch — Core › Graph manipulation › Adding, removing and reconciling
- cy.pick — Core › Viewport manipulation › Picking and visible counts
- cy.png — Core › Export and snapshots › Image export
- cy.pointerCursors — Core › Interaction controls
- cy.promiseOn — Core › Events
- cy.ready — Core › Initialisation and lifecycle
- cy.remove — Core › Graph manipulation › Adding, removing and reconciling
- cy.removeAllListeners — Core › Events
- cy.removeData — Core › Data and scratch
- cy.removeScratch — Core › Data and scratch
- cy.renderedExtent — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.reset — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.resize — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.scratch — Core › Data and scratch
- cy.selectionType — Core › Interaction controls
- cy.serialize — Core › Export and snapshots › Graph data and wire format
- cy.size — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.startBatch — Core › Graph manipulation › Batching and compaction
- cy.stats — Performance › Diagnostics
- cy.stop — Core › Animation
- cy.style — Core › Style and legends
- cy.styleEnabled — Core › Metadata and environment
- cy.tapholdDuration — Core › Interaction controls
- cy.touchTapThreshold — Core › Interaction controls
- cy.unemphasize — Core › Emphasis
- cy.unmount — Core › Initialisation and lifecycle
- cy.userPanningEnabled — Core › Interaction controls
- cy.userZoomingEnabled — Core › Interaction controls
- cy.viewport — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.viewportCounts — Core › Viewport manipulation › Picking and visible counts
- cy.wheelBehavior — Core › Interaction controls
- cy.wheelSensitivity — Core › Interaction controls
- cy.width — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.window — Core › Metadata and environment
- cy.zoom — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cy.zoomingEnabled — Core › Interaction controls
- cy.zoomRange — Core › Viewport manipulation › Pan, zoom, fit and bounds
- cytoscape — Core › Initialisation and lifecycle
- cytoscape.CancelledError — Getting started › Error types
- cytoscape.deserializeElements — Core › Export and snapshots › Graph data and wire format
- cytoscape.GpuUnfitError — Getting started › Error types
- cytoscape.serializeElements — Core › Export and snapshots › Graph data and wire format
- cytoscape.toColumnarElements — Core › Export and snapshots › Graph data and wire format
- eles.absoluteComplement — Collection › Building and filtering
- eles.active — Collection › Grab, lock and pannability
- eles.affinityPropagation — Collection › Algorithms › Clustering
- eles.allAre — Collection › Comparison
- eles.allAreNeighbors — Collection › Comparison
- eles.animate — Collection › Animation
- eles.animated — Collection › Animation
- eles.animation — Collection › Animation
- eles.anySame — Collection › Comparison
- eles.aStar — Collection › Algorithms › Search and shortest paths
- eles.bellmanFord — Collection › Algorithms › Search and shortest paths
- eles.betweennessCentrality — Collection › Algorithms › Centrality
- eles.boundingBox — Collection › Position and dimensions
- eles.breadthFirstSearch — Collection › Algorithms › Search and shortest paths
- eles.children — Collection › Compound nodes
- eles.closedNeighborhood — Collection › Traversing › Incidence and neighbourhood
- eles.closenessCentrality — Collection › Algorithms › Centrality
- eles.closenessCentralityNormalized — Collection › Algorithms › Centrality
- eles.codirectedEdges — Collection › Traversing › Edge relations
- eles.collapse — Collection › Compound nodes
- eles.collapsed — Collection › Compound nodes
- eles.collection — Collection › Metadata and identity
- eles.commonAncestors — Collection › Compound nodes
- eles.component — Collection › Traversing › Connected components
- eles.components — Collection › Traversing › Connected components
- eles.connectedEdges — Collection › Traversing › Incidence and neighbourhood
- eles.connectedNodes — Collection › Traversing › Incidence and neighbourhood
- eles.contains — Collection › Comparison
- eles.controlPoints — Collection › Edge points
- eles.cy — Collection › Metadata and identity
- eles.data — Collection › Data and scratch
- eles.degree — Collection › Algorithms › Structural measures
- eles.degreeCentrality — Collection › Algorithms › Centrality
- eles.degreeCentralityNormalized — Collection › Algorithms › Centrality
- eles.delay — Collection › Animation
- eles.delayAnimation — Collection › Animation
- eles.depthFirstSearch — Collection › Algorithms › Search and shortest paths
- eles.descendants — Collection › Compound nodes
- eles.diff — Collection › Building and filtering
- eles.difference — Collection › Building and filtering
- eles.dijkstra — Collection › Algorithms › Search and shortest paths
- eles.edges — Collection › Building and filtering
- eles.edgesTo — Collection › Traversing › Edge relations
- eles.edgesWith — Collection › Traversing › Edge relations
- eles.effectiveOpacity — Collection › Style
- eles.effectiveResistance — Collection › Algorithms › Similarity, diffusion and resistance
- eles.emit — Collection › Events
- eles.emphasized — Collection › Visibility and emphasis
- eles.empty — Collection › Iteration and aggregation
- eles.eq — Collection › Iteration and aggregation
- eles.every — Collection › Iteration and aggregation
- eles.expand — Collection › Compound nodes
- eles.filter — Collection › Building and filtering
- eles.first — Collection › Iteration and aggregation
- eles.floydWarshall — Collection › Algorithms › Search and shortest paths
- eles.forEach — Collection › Iteration and aggregation
- eles.fuzzyCMeans — Collection › Algorithms › Clustering
- eles.getElementById — Collection › Building and filtering
- eles.grabbable — Collection › Grab, lock and pannability
- eles.grabbed — Collection › Grab, lock and pannability
- eles.grabify — Collection › Grab, lock and pannability
- eles.group — Collection › Metadata and identity
- eles.hasElementWithId — Collection › Metadata and identity
- eles.heatDiffusion — Collection › Algorithms › Similarity, diffusion and resistance
- eles.heatKernel — Collection › Algorithms › Similarity, diffusion and resistance
- eles.height — Collection › Position and dimensions
- eles.hidden — Collection › Visibility and emphasis
- eles.hide — Collection › Visibility and emphasis
- eles.hierarchicalClustering — Collection › Algorithms › Clustering
- eles.hierholzer — Collection › Algorithms › Connectivity and Eulerian paths
- eles.hopcroftTarjanBiconnected — Collection › Algorithms › Connectivity and Eulerian paths
- eles.id — Collection › Metadata and identity
- eles.incomers — Collection › Traversing › Incidence and neighbourhood
- eles.indegree — Collection › Algorithms › Structural measures
- eles.indexOf — Collection › Metadata and identity
- eles.indexOfId — Collection › Metadata and identity
- eles.inside — Collection › Metadata and identity
- eles.insideCollapsed — Collection › Compound nodes
- eles.interactive — Collection › Style
- eles.intersection — Collection › Building and filtering
- eles.is — Collection › Comparison
- eles.isChild — Collection › Compound nodes
- eles.isChildless — Collection › Compound nodes
- eles.isEdge — Collection › Metadata and identity
- eles.isLoop — Collection › Metadata and identity
- eles.isNode — Collection › Metadata and identity
- eles.isOrphan — Collection › Compound nodes
- eles.isParent — Collection › Compound nodes
- eles.isSimple — Collection › Metadata and identity
- eles.json — Collection › Metadata and identity
- eles.jsons — Collection › Metadata and identity
- eles.kargerStein — Collection › Algorithms › Cut
- eles.katzCentrality — Collection › Algorithms › Centrality
- eles.kMeans — Collection › Algorithms › Clustering
- eles.kMedoids — Collection › Algorithms › Clustering
- eles.kruskal — Collection › Algorithms › Spanning
- eles.label — Collection › Style
- eles.labelBoundingBox — Collection › Position and dimensions
- eles.last — Collection › Iteration and aggregation
- eles.layout — Collection › Layout
- eles.layoutDimensions — Collection › Layout
- eles.layoutPositions — Collection › Layout
- eles.leaves — Collection › Traversing › Directed reachability
- eles.length — Collection › Metadata and identity
- eles.lock — Collection › Grab, lock and pannability
- eles.locked — Collection › Grab, lock and pannability
- eles.map — Collection › Iteration and aggregation
- eles.markovClustering — Collection › Algorithms › Clustering
- eles.max — Collection › Iteration and aggregation
- eles.maxDegree — Collection › Algorithms › Structural measures
- eles.maxIndegree — Collection › Algorithms › Structural measures
- eles.maxOutdegree — Collection › Algorithms › Structural measures
- eles.midpoint — Collection › Edge points
- eles.min — Collection › Iteration and aggregation
- eles.minDegree — Collection › Algorithms › Structural measures
- eles.minIndegree — Collection › Algorithms › Structural measures
- eles.minOutdegree — Collection › Algorithms › Structural measures
- eles.motifCensus — Collection › Algorithms › Structural measures
- eles.move — Collection › Graph manipulation
- eles.neighborhood — Collection › Traversing › Incidence and neighbourhood
- eles.neighborhoodSimilarity — Collection › Algorithms › Similarity, diffusion and resistance
- eles.nodes — Collection › Building and filtering
- eles.nonempty — Collection › Iteration and aggregation
- eles.nonorphans — Collection › Compound nodes
- eles.numericStyle — Collection › Style
- eles.off — Collection › Events
- eles.on — Collection › Events
- eles.one — Collection › Events
- eles.orphans — Collection › Compound nodes
- eles.outdegree — Collection › Algorithms › Structural measures
- eles.outerHeight — Collection › Position and dimensions
- eles.outerWidth — Collection › Position and dimensions
- eles.outgoers — Collection › Traversing › Incidence and neighbourhood
- eles.paddedHeight — Collection › Position and dimensions
- eles.paddedWidth — Collection › Position and dimensions
- eles.padding — Collection › Position and dimensions
- eles.pageRank — Collection › Algorithms › Centrality
- eles.panify — Collection › Grab, lock and pannability
- eles.pannable — Collection › Grab, lock and pannability
- eles.parallelEdges — Collection › Traversing › Edge relations
- eles.parent — Collection › Compound nodes
- eles.parents — Collection › Compound nodes
- eles.position — Collection › Position and dimensions
- eles.positions — Collection › Position and dimensions
- eles.predecessors — Collection › Traversing › Directed reachability
- eles.promiseOn — Collection › Events
- eles.randomWalkWithRestart — Collection › Algorithms › Similarity, diffusion and resistance
- eles.randomWalkWithRestartProximity — Collection › Algorithms › Similarity, diffusion and resistance
- eles.reduce — Collection › Iteration and aggregation
- eles.relativePosition — Collection › Position and dimensions
- eles.remove — Collection › Graph manipulation
- eles.removed — Collection › Metadata and identity
- eles.removeData — Collection › Data and scratch
- eles.removeScratch — Collection › Data and scratch
- eles.removeStyle — Collection › Style
- eles.renderedBoundingBox — Collection › Position and dimensions
- eles.renderedControlPoints — Collection › Edge points
- eles.renderedHeight — Collection › Position and dimensions
- eles.renderedMidpoint — Collection › Edge points
- eles.renderedOuterHeight — Collection › Position and dimensions
- eles.renderedOuterWidth — Collection › Position and dimensions
- eles.renderedPosition — Collection › Position and dimensions
- eles.renderedSegmentPoints — Collection › Edge points
- eles.renderedSourceEndpoint — Collection › Edge points
- eles.renderedStyle — Collection › Style
- eles.renderedTargetEndpoint — Collection › Edge points
- eles.renderedWidth — Collection › Position and dimensions
- eles.roots — Collection › Traversing › Directed reachability
- eles.same — Collection › Comparison
- eles.scratch — Collection › Data and scratch
- eles.segmentPoints — Collection › Edge points
- eles.select — Collection › Selection
- eles.selectable — Collection › Selection
- eles.selected — Collection › Selection
- eles.selectify — Collection › Selection
- eles.shift — Collection › Position and dimensions
- eles.show — Collection › Visibility and emphasis
- eles.siblings — Collection › Compound nodes
- eles.simRank — Collection › Algorithms › Similarity, diffusion and resistance
- eles.size — Collection › Iteration and aggregation
- eles.slice — Collection › Iteration and aggregation
- eles.some — Collection › Iteration and aggregation
- eles.sort — Collection › Iteration and aggregation
- eles.source — Collection › Traversing › Incidence and neighbourhood
- eles.sourceEndpoint — Collection › Edge points
- eles.sources — Collection › Traversing › Incidence and neighbourhood
- eles.stop — Collection › Animation
- eles.style — Collection › Style
- eles.successors — Collection › Traversing › Directed reachability
- eles.symmetricDifference — Collection › Building and filtering
- eles.takesUpSpace — Collection › Style
- eles.target — Collection › Traversing › Incidence and neighbourhood
- eles.targetEndpoint — Collection › Edge points
- eles.targets — Collection › Traversing › Incidence and neighbourhood
- eles.tarjanStronglyConnected — Collection › Algorithms › Connectivity and Eulerian paths
- eles.toArray — Collection › Iteration and aggregation
- eles.totalDegree — Collection › Algorithms › Structural measures
- eles.transparent — Collection › Style
- eles.triangleCount — Collection › Algorithms › Structural measures
- eles.ungrabify — Collection › Grab, lock and pannability
- eles.union — Collection › Building and filtering
- eles.unlock — Collection › Grab, lock and pannability
- eles.unpanify — Collection › Grab, lock and pannability
- eles.unselect — Collection › Selection
- eles.unselectify — Collection › Selection
- eles.visible — Collection › Visibility and emphasis
- eles.width — Collection › Position and dimensions
- event.cancelled — Events › Event object › Payload and state
- event.cy — Events › Event object › Payload and state
- event.diff — Events › Event object › Payload and state
- event.isDefaultPrevented — Events › Event object › Payload and state
- event.isPropagationStopped — Events › Event object › Payload and state
- event.layout — Events › Event object › Payload and state
- event.originalEvent — Events › Event object › Payload and state
- event.position — Events › Event object › Payload and state
- event.preventDefault — Events › Event object › Propagation and browser defaults
- event.progress — Events › Event object › Payload and state
- event.renderedPosition — Events › Event object › Payload and state
- event.stopPropagation — Events › Event object › Propagation and browser defaults
- event.target — Events › Event object › Payload and state
- event.timeStamp — Events › Event object › Payload and state
- event.type — Events › Event object › Payload and state
- layout.cancel — Layouts › Layout handle
- layout.options — Layouts › Layout handle
- layout.promise — Layouts › Layout handle
- layout.reheat — Layouts › Layout handle
- layout.run — Layouts › Layout handle
- layout.stop — Layouts › Layout handle