Published
Edited
Feb 7, 2020
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
loadScript('https://sigma-121.abserari.now.sh/plugins/sigma.parsers.gexf.min.js')
Insert cell
loadScript('https://sigma-121.abserari.now.sh/plugins/sigma.parsers.json.min.js')
Insert cell
loadScript('https://sigma-121.abserari.now.sh/sigma.min.js',()=>{
execScript(`sigma.classes.graph.addMethod('neighbors', function(nodeId) {
var k,
neighbors = {},
index = this.allNeighborsIndex[nodeId] || {};

for (k in index)
neighbors[k] = this.nodesIndex[k];

return neighbors;
});`)
})
Insert cell
import { loadScript, execScript, execScriptButton } from '@yhyddr/html'
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