https://github.com/kessler/catgraph
pipe graph data to the browser
https://github.com/kessler/catgraph
Last synced: 10 months ago
JSON representation
pipe graph data to the browser
- Host: GitHub
- URL: https://github.com/kessler/catgraph
- Owner: kessler
- License: apache-2.0
- Created: 2022-10-05T00:52:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-05T00:58:29.000Z (over 3 years ago)
- Last Synced: 2025-03-08T08:12:39.949Z (11 months ago)
- Language: JavaScript
- Size: 256 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# catgraph (WIP)
Pipe graph data to browser.

### simple example
```bash
echo 1--2\n2--3\n2--4\n4--1\n5 | catgraph
```

### json helps with customization
```bash
echo -e '{ "id": 1, "val": 5, "name": "a" }--{ "id": 2, "val": 3, "name": "b" }\n{ "id": 3, "val": 2, "name": "a" }' | catgraph
```

### dev
```
npm run build_dev; node testEmitter.js | env DEBUG=catgraph ./catgraph.js
```