@nilscox/graphviz-react
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

React bindings for Graphviz using ts-graphviz and Viz.js. This is somewhat similar to @ts-graphviz/react, but supporting react 18.

<Digraph attributes={{ rankdir: 'TB', nodesep: 0.25 }}>
  <Node id="A" shape="point" color="forestgreen" />
  <Node id="B" />
  <Edge targets={['A', 'B']} arrowsize={0.25} />
</Digraph>

Readme

Keywords

Package Sidebar

Install

npm i @nilscox/graphviz-react

Weekly Downloads

0

Version

0.1.0

License

Beerware

Unpacked Size

1.44 MB

Total Files

8

Last publish

Collaborators

  • nilscox