
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@convergence/jointjs-utils
Advanced tools
A utility to bind a Convergence Model to a JointJS Graph
This project contains utilities to that make integrating JointJS with Convergence simple. JointJS is used to render the graph and Convergence is used to keep the data in sync between clients. With these utilities you can easily make a collaborative graph where changes made by one user are instantly seen by other users. This project also provides collaboration awareness features like shared pointers and share selections to help users coordinate their actions. The project contains four main components:
DataConverter
: Converts between the JointJS and Convergence representations of data.GraphAdapter
: Keeps the data in the graph synchronized between users. Captures changes to the graph data model and updates the Convergence data model accordingly, which in turn notifies all other connected client.PointerManager
: Adapts the JointJS Paper
class to capture the pointer location and distributes the pointer to other clients using a Convergence Activity
. Remote users points are rendered on the Paper to show what other users are doing.SelectionManager
: Provides basic shared selection, where each user can select on or more elements on the graph. Remote selections from other users are rendered to help coordinate users actions.ActivityColorManager
: Assigns colors to each participant of a Convergence Activity to keep their cursor and selection colors consistent.Documentation can be found Here.
This library depends on the following libraries:
npm install
npm run dist
To run the example you must first:
Note: to run the example you must have a Convergence Server.
FAQs
A utility to bind a Convergence Model to a JointJS Graph
We found that @convergence/jointjs-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.