Skip to content

A zero dependency extension for Cytoscape.js that adds node resizing functionality.

License

Notifications You must be signed in to change notification settings

gxara/cytoscape-js-node-resizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Zero dependency extension for Cytoscape.js that adds node resizing functionality.

A replacement for cytoscape.js-noderesize and cytoscape.js-node-editing that requires neither jQuery nor Konva

Export-1735055174526

Installation

npm install cytoscape-js-node-resizer

Usage

import Cytoscape from "cytoscape";
import resizeHandler from "cytoscape-js-node-resizer";

Cytoscape.use(resizeHandler);

...

cy.resizeHandler({
  grapperColor: "#7711C0", // default color
  grapperRadius: "50%",    // default radius
  grapperSize: "8px",      // default size
});

About

A zero dependency extension for Cytoscape.js that adds node resizing functionality.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published