diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-09-03 15:25:32 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-09-03 15:25:32 +0200 |
| commit | f2c4d48523a8a6d541289e2d4c57a65eeb9f5af0 (patch) | |
| tree | 9a8ed86a75b9bb7a85e9431c0d074431bded0d99 /src/graph.js | |
| parent | 5fffdeb831a7fdc6a8e4c58c7d477dc4af78ec68 (diff) | |
displaying videos
Diffstat (limited to 'src/graph.js')
| -rw-r--r-- | src/graph.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graph.js b/src/graph.js index f7afe27..0b2917c 100644 --- a/src/graph.js +++ b/src/graph.js @@ -18,7 +18,7 @@ export default function buildGraph(db, handlers) { db.page.forEach((item, index) => { const node = { - title: item.title, + title: index + 1 + " " + item.title, id: index, data: item, groups: [], @@ -167,7 +167,7 @@ export default function buildGraph(db, handlers) { const { source, target } = link; return visible.has(source.id) && visible.has(target.id); }); - console.log(selectedData); + // console.log(selectedData); graph.graphData(selectedData); zoomIn(); }; |
