Skip to content

Commit 46a0eb4

Browse files
authored
Node size and description of step 3 Visualize the Graph (#38)
* Node defaut size * Update viz.js
1 parent d856501 commit 46a0eb4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/lib/graph.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const fields = Object.keys(fieldColors);
2020
export const metadataFields = fields.filter((field) => field !== "refs");
2121

2222
const maxRefNodeSize = 1800;
23-
const maxMetadataNodeSize = 4000;
23+
const maxMetadataNodeSize = 20000;
2424

2525
export const generateRefGraphProgress = van.state(0);
2626

src/pages/viz.js

+3
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ const Viz = () => {
175175
return main(
176176
{ class: "c" },
177177
h1({ class: "center" }, "3. Visualize the Graph"),
178+
p(
179+
"Use the sliders to adjust the visualization: Step 1 calibrates the base-map network of references. Step 2 adjust the position of the metadata on the base-map"
180+
),
178181
div(
179182
{ class: "flex-h", style: "justify-content: space-between" },
180183
sigmaContainer,

0 commit comments

Comments
 (0)