🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

cytoscape-angular-ng17

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cytoscape-angular-ng17

Angular 17+ components for cytoscape charting.

0.9.17
latest
Source
npm
Version published
Weekly downloads
615
15.82%
Maintainers
1
Weekly downloads
 
Created
Source

Cytoscape Angular

cytoscape-angular is an Angular 12+ component for Cytoscape graphs. The intent is to provide an Angular component that fully covers the Cytoscape API via cytoscape.js, it's getting close to full coverage.

Other components in the library let users customize a cytoscape graph - toolbar and forms have editors for all the properties of the graph including layout parameters and styles that can enhance a cytoscape graph on the fly. (Saving the changes are not implemented but should be pretty easy.)

In addition to all the layouts that come with cytoscape.js, cytoscape-angular also adds the dagre layout for directed graphs is included. Other generic layouts will be supported in a future release.

Usage

For a full demo see the example-project in this repo. To get your own Angular project running with cytoscape-angular:

  • Copy example-project to a new directory npm install npm serve

Brought to you by Michael Bushe from Mindful Software and Kaavio .

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building cd dist/cytoscape-angular Remove the "pre-publish" lines in dist/cytoscape-angular/package.json TODO: automate Run npm publish.

Running unit tests

Run ng test cytoscape-angular to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Keywords

cytoscape

FAQs

Package last updated on 07 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts