Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

readGraph function

Nodes and links of a list or a table.

View as Markdown
import { readGraph } from '@dioramajs/data/graph'

A list: every <li> is a node, a nested list links its items to the item it sits in, data-dio-to links to other items by id or label. A table: each row links the names in its first two cells, a number in the third is the link's weight.

function readGraph(element: Element): GraphData

Parameters

NameTypeDescription
elementElement

Defined in packages/data/src/graph.ts.