@graphty/cytoscape-extensions / index / default
Function: default()
default(
cytoscape):void
Defined in: cytoscape-extensions/src/index.ts:64
The Cytoscape extension: cytoscape.use(graphtyCytoscape) registers every layout in LAYOUT_NAMES as "graphty-<name>", every algorithm in ALGORITHM_NAMES as a collection and core method, and the core methods graphtyGenerate, graphtyDataset, graphtyImport and graphtyExport. A second use() with the same cytoscape does nothing (the script-tag build has already registered itself when a page calls use() again).
Parameters
cytoscape
(type, name, registrant) => void
the cytoscape function use() passes in
Returns
void