Skip to content

html-graph/html-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,054 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTMLGraph

Graph visualization library that enables rich nodes customization using HTML

 
 

Getting Started

npm i @html-graph/html-graph
import { CanvasBuilder } from "@html-graph/html-graph";

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

const canvas = new CanvasBuilder(element)
  .enableUserTransformableViewport() // Enables viewport pan and zoom
  .enableUserDraggableNodes() // Enables draggable nodes
  .enableBackground() // Renders background
  .build();

Visit the DOCUMENTATION for examples and API reference.

About

Lightweight JS library for customizable graph visualizations. Uses HTML/CSS, offers built-in layouts, powerful features, TypeScript support, zero dependencies

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors