Public
Edited
Oct 16, 2023
1 fork
Insert cell
Insert cell
Insert cell
Insert cell
example = graphologyGenerators.random.girvanNewman(Graph, {zOut: 0.1})
Insert cell
Insert cell
Insert cell
import {chart}
with {graph as data, height as height}
from '@nitaku/generic-graph-renderer'
Insert cell
Insert cell
Insert cell
graph = {
const graph = example.export()
return {
nodes: graph.nodes.map(n => ({id: n.key, ...n}) ),
links: graph.edges
}
}
Insert cell
Insert cell
Graph = require('graphology')
Insert cell
graphologyGenerators = import('https://cdn.skypack.dev/graphology-generators')
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more