started work on list styling
This commit is contained in:
parent
0c7bc1c2b1
commit
2eb111ebeb
3 changed files with 25 additions and 1 deletions
15
src/main.js
15
src/main.js
|
|
@ -53,3 +53,18 @@ function handleShortcut(event) {
|
|||
}
|
||||
}
|
||||
document.addEventListener("keydown", handleShortcut);
|
||||
// Random tree
|
||||
// const N = 300;
|
||||
// const gData = {
|
||||
// nodes: [...Array(N).keys()].map(i => ({ id: i })),
|
||||
// links: [...Array(N).keys()]
|
||||
// .filter(id => id)
|
||||
// .map(id => ({
|
||||
// source: id,
|
||||
// target: Math.round(Math.random() * (id-1))
|
||||
// }))
|
||||
// };
|
||||
// const Graph = new ForceGraph(
|
||||
// (document.getElementById('graph'))
|
||||
// .linkDirectionalParticles(2)
|
||||
// .graphData(gData);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue