
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.
resus-diagrams
Advanced tools
A super simple, no-nonsense diagramming library written in React that just works. It is storm-react-diagrams fork version for Resus-ide.
A super simple, no-nonsense diagramming library written in React that just works. It is storm-react-diagrams fork version for Resus-ide.
A no-nonsense diagramming library written entirely in React with the help of Lodash, and a single polyfill. It aims to be:
npm install resus-diagrams
or
yarn add resus-diagrams
To see how to create your own nodes like the one below, take a look at demo3:
The library uses a Model Graph to represent the virtual diagram and then renders the diagram using 2 layers:
Each node and link is fed into a factory that then generates the corresponding node or link react widget. Therefore, to create custom nodes and links, register your own factories that return your own widgets.
As long as a node contains at least one port and the corresponding NodeWidget contains at least one PortWidget, a link can be connected to it.
Delete removes any selected items ![Delete]
Shift + Mouse Drag triggers a multi-selection box ![Shift + Mouse Drag]
Shift + Mouse Click selects the item (items can be multi-selected) ![Shift + Mouse Click]
Mouse Drag drags the entire diagram ![Mouse Drag]
Mouse Wheel zooms the diagram in / out ![Mouse Wheel]
Click Link + Drag creates a new link point ![Click Link + Drag]
Click Node Port + Drag creates a new link ![Click Node Port + Drag]
FAQs
A super simple, no-nonsense diagramming library written in React that just works. It is storm-react-diagrams fork version for Resus-ide.
We found that resus-diagrams 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.