# graphviz2svg

> GraphViz to SVG converter lib

Latest version **0.2.0** (published 2016-07-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install graphviz2svg
pnpm add graphviz2svg
yarn add graphviz2svg
bun add graphviz2svg
```

Provides the commands `graphviz2svg`, `graphviz2svg-install-tools`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2016-07-22 |
| First published | 2016-04-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Kay-Uwe |
| Maintainers | klorenz |
| Keywords | graphviz, svg, node, markdown |

## Links

- npm: https://www.npmjs.com/package/graphviz2svg
- Repository: https://github.com/klorenz/graphviz2svg
- Homepage: https://github.com/klorenz/graphviz2svg#readme
- Issues: https://github.com/klorenz/graphviz2svg/issues
- npm.io page: https://npm.io/package/graphviz2svg

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2016-07-22
- 0.1.2 — 2016-04-19
- 0.1.1 — 2016-04-19
- 0.1.0 — 2016-04-19
- 0.0.1 — 2016-04-19

## README

graphviz2svg
============

Provide a library rendering graph and digraph content into svg.

[x] provide a library function doing this
[x] provide a commandline tool doing this
[ ] provide a function, which can be added to expect server, 
    rendering the file on server and return the svg
[ ] provide a server-side script to render graphs

Default font is `sans`.

API
===

```js
  graphviz2svg = require('graphviz2svg');
  graphviz2svg.graph2svg('A -- B ; B -- C ; C -- A'); // --> returns svg
  graphviz2svg.digraph2svg('A -> B ; B -> C ; C -> A'); // --> returns svg

  graphviz2svg.digraph2svg('A -> B ; B -> C ; C -> A', {digraph_font: 'serif'}); // --> returns svg
```

---
_Source: https://npm.io/package/graphviz2svg · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
