diff --git a/components/Graph.js b/components/Graph.js index 5b81886..74b8fc8 100644 --- a/components/Graph.js +++ b/components/Graph.js @@ -34,7 +34,7 @@ const styleSheet = [{ selector: "node", style: { "background-color": "#666", - "font-size": "10px", + "font-size": "12px", "width": "20px", "height": "20px", "label":"data(label)" @@ -48,7 +48,7 @@ const styleSheet = [{ style: { 'width': 2, "height": 200, - 'line-color': '#9a9a9a', + 'line-color': '#b2b2b2', 'target-arrow-color': '#ccc', // 'target-arrow-shape': 'triangle', 'curve-style': 'straight' @@ -72,11 +72,12 @@ function Graph({graph}) { return ( <>
-

Links to this notes

+

Interactive Graph

+

Link to this note

{(linkList != null && linkList.length > 0) ? <> -

Link to this note

+
{linkList.map(aLink =>
{/**/} - -

{aLink.title}

-

{aLink.shortSummary}

-
+ +

{aLink.title}

+

{aLink.shortSummary}

+
{/**/}
)}
- : <>} + : <>

No backlinks found

}
); } @@ -36,6 +36,7 @@ function MDContent({content, backLinks, handleOpenNewContent}) { //TODO: handle clicking on internal link, go fetching md content from file then passing it up to parent handleOpenNewContent(content) } + useRouter(); return ( @@ -51,6 +52,14 @@ function MDContent({content, backLinks, handleOpenNewContent}) {
+
+
); }