https://github.com/observablehq/graphviz
A convenience method for using Graphviz.
https://github.com/observablehq/graphviz
Last synced: 2 months ago
JSON representation
A convenience method for using Graphviz.
- Host: GitHub
- URL: https://github.com/observablehq/graphviz
- Owner: observablehq
- License: other
- Created: 2018-05-03T14:52:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-18T10:19:47.000Z (over 2 years ago)
- Last Synced: 2025-03-28T11:51:11.516Z (3 months ago)
- Language: JavaScript
- Homepage: https://beta.observablehq.com/@mbostock/graphviz
- Size: 506 KB
- Stars: 39
- Watchers: 7
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @observablehq/graphviz
Convenience methods for using [Graphviz](http://www.graphviz.org/) in [Observable](https://observablehq.com). See this notebook for examples:
https://beta.observablehq.com/@mbostock/graphviz
To load Graphviz:
```js
dot = require("@observablehq/graphviz")
```To display a happy little diagram:
```js
dot`graph { n0 -- n1 -- n2 -- n3 -- n0; }`
```