cubitt-commands
v1.0.1
Published
Module containing command definitions for the Cubitt framework
Maintainers
Readme
Cubitt Commands
Typescript CQRS command library for the Cubitt framework.
About
This library contains the commands available for editing the Cubitt Graph, they are handled by the command handler. For more information about the command handler, please take a look here. The commands provide all basic graph operations, such as addition and removal of nodes, edges, models and connectors. For more information about the CQRS implementation of the Cubitt Graph, please take a look here.
Features
- 16 CQRS commands for a human readable command stream.
Usage
Install the package and then use it in your code.
npm install cubitt-commandsimport * as Commands from "cubitt-commands";Documentation
For developers
To get started:
npm run devTo run the unit tests:
npm run testTo generate a test coverage report:
npm run test-coverageTo generate documentation:
npm run typedoc