Module Getting Started

Documentation work in progress.

Getting started

npm install elk-svg
import { initElkSvg } from "elk-svg";

const container = document.querySelector("svg")
const elkSvg = initElkSvg({ container });

Initialize ElkSvg instance by calling initElkSvg function with ElkSvgOptions. The only required property is container.