npm

Get private packages and team management tools with npm Orgs.Learn more »

webgme-connection-remover

1.0.0 • Public • Published

Decorator for Connection Removal

This decorator is intended to be registered at connections in the Model Editor. At the point where a connection is no longer rendered as a line - the decorator will trigger a removal of the connection node.

The removal is triggered whenever a src and dst is defined for the node, but one of the targets is either null or undefined. Before the removal the decorator ensure that the model isn't read-only, a meta-node nor an inherited child.

ConnRemoverDecorator

Import decorator to your own webgme repository

Make sure webgme-cli is installed globally in npm, then execute from root of your repository:

webgme import decorator ConnRemoverDecorator webgme-connection-remover

Developers

Publish new release at npm

npm prune
npm install
npm version 1.1.0 -m "Release %s"
git push origin master
git checkout v1.1.0
git push origin v1.1.0
npm publish ./

install

npm i webgme-connection-remover

Downloadsweekly downloads

4

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability