Cubitt Events

Typescript CQRS event library for the Cubitt framework.

GitHub license
npm version
Build Status
Test Coverage

About

This library contains the events raised by the command handler after editing the Cubitt Graph through commands.
Events exist for 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 framework, please take a look here.

Features

  • 16 graph operation events for a human readable event stream.

Usage

Install the package and then use it in your code.

npm install cubitt-events
import * as Events from "cubitt-events";

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