Claudio Yanes
2022-03-04 8779e72c77c2e454d444b86d3d5ebda9bfab46d7
assets/js/graph.js
@@ -1,5 +1,5 @@
async function drawGraph(url, baseUrl, pathColors, depth, enableDrag, enableLegend, enableZoom) {
    const { index, links, content } = await fetchData()
    const { index, links, content } = await fetchData
    const curPage = url.replace(baseUrl, "")
  
    const parseIdsFromLinks = (links) => [...(new Set(links.flatMap(link => ([link.source, link.target]))))]