Package Exports
- sprotty-protocol
- sprotty-protocol/lib/actions
- sprotty-protocol/lib/actions.js
- sprotty-protocol/lib/index.js
- sprotty-protocol/lib/utils/async
- sprotty-protocol/lib/utils/async.js
- sprotty-protocol/lib/utils/geometry
- sprotty-protocol/lib/utils/geometry.js
- sprotty-protocol/lib/utils/json
- sprotty-protocol/lib/utils/json.js
- sprotty-protocol/lib/utils/model-utils
- sprotty-protocol/lib/utils/model-utils.js
- sprotty-protocol/lib/utils/object
- sprotty-protocol/lib/utils/object.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sprotty-protocol) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Sprotty Protocol
This package contains the platform-independent definitions of Sprotty. They are used both by the main client code (sprotty) and by servers running in Node.js.
For Node.js-based diagram servers, a class DiagramServer
is provided. It handles the state and message handling for one client, so you need to create one instance of that class for every diagram instance that is shown in the frontend.