open-index/open-npm huggingface dataset:
npm package: @html-graph/html-graph
Description: <p align="center">   <img src="/media/logo-label.svg" alt="HTMLGraph" width="520" height="100"/> </p>
Author: Dmitry Marov
Latest version: 8.15.1

<p align="center">
  <img src="/media/logo-label.svg" alt="HTMLGraph" width="520" height="100"/>
</p>

<h3 align="center">
  Graph visualization library that enables rich nodes customization using HTML
</h3>

<div>
&nbsp;
</div>

<a target="_blank" href="https://html-graph.github.io">
  <img src="https://raw.githubusercontent.com/html-graph/html-graph/master/media/preview.jpg">
</a>

<div>
&nbsp;
</div>

## Getting Started

```bash
npm i @html-graph/html-graph
```

```typescript
import { CanvasBuilder } from "@html-graph/html-graph";

const element = document.getElementById("canvas");

const canvas = new CanvasBuilder(element)
  .enableUserTransformableViewport()
  .enableUserDraggableNodes()
  .enableBackground()
  .build();
```

Visit the <a target="_blank" href="https://html-graph.github.io">DOCUMENTATION</a> for examples and API reference.