https://github.com/gravity-ui/paranoid
https://github.com/gravity-ui/paranoid
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/gravity-ui/paranoid
- Owner: gravity-ui
- License: mit
- Created: 2021-12-01T08:52:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-19T11:21:33.000Z (about 2 years ago)
- Last Synced: 2025-03-10T11:04:17.526Z (over 1 year ago)
- Language: TypeScript
- Size: 1.13 MB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# Paranoid
Paranoid is the library for displaying cluster topologies.
### Development mode and preview
To start developing paranoid, invoke the following commands
```
npm ci
npm start
```
and make your changes to the sources.
### API
* `renderGraph(domNodeId: string, data: Data, opts?: Options)`:
* `domNodeId` - the id of DOM element where graph will be rendered
* `data` and `opts` - [data and options for rendering a graph](#models)
### Models
[See here](./src/lib/models.ts)