UNPKG

@hailer-oy/birds-eye

Version:

This component library directory contains all the react components for Hailer Bird's Eye! Developing these componets happens [here](https://github.com/KvanttoriOy/birds-eye/tree/master/birds-eye-components), only copy your changes in lib from there to src

13 lines (12 loc) 564 B
import * as d3 from "d3"; import { Link } from "../../../types"; /** * Draws the workspace map as an SVG using D3.js. * * TODO: remove use of any (create typings for renderChartFn in hooks/useD3.ts) * This is a pretty hard task, props to whoever can solve this! * * @author Juhana Kuparinen <juhana.kuparinen@kvanttori.fi> * @author Teemu Salonen <teemu.salonen@kvanttori.fi> */ export default function draw(simulation: d3.Simulation<any, undefined>, nodes: any, links: Link[], graph: any, svg: any, updateNode: (value: string) => void): void;