UNPKG

cytoscape-tidytree

Version:

Cytoscape.js layout extension for positioning trees

8 lines (7 loc) 219 B
import { CyLayout } from './cy_layout.js'; export default function register(cytoscape) { cytoscape("layout", "tidytree", CyLayout); } if (typeof window.cytoscape !== "undefined") { register(window.cytoscape); }