Getting Started
Install the package using npm or yarn:
npm install cx-diagramsor
yarn add cx-diagramsNote: This library requires CxJS as a peer dependency. If you haven’t already, set up a CxJS project first.
Basic Example
Here’s a simple example that creates two shapes connected by a line: