Cubitt Commands

Typescript CQRS command library for the Cubitt framework.

GitHub license
npm version
Build Status
Test Coverage

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-commands
import * as Commands from "cubitt-commands";

Documentation

For developers

To get started:

npm run dev

To run the unit tests:

npm run test

To generate a test coverage report:

npm run test-coverage

To generate documentation:

npm run typedoc

License

MIT

Changelog

Changelog