From b376ad1ad84082282bacd4d1a38cbed3a8a23deb Mon Sep 17 00:00:00 2001 From: Vincent Emonet Date: Fri, 10 Nov 2023 15:01:11 +0100 Subject: [PATCH] fix cytoscape --- nanopub-display/src/cytoscape.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nanopub-display/src/cytoscape.ts b/nanopub-display/src/cytoscape.ts index c9c31e5..4307246 100644 --- a/nanopub-display/src/cytoscape.ts +++ b/nanopub-display/src/cytoscape.ts @@ -300,11 +300,11 @@ export const cyLayouts = { piTol: 0.0000001, /* incremental layout options */ // Node repulsion (non overlapping) multiplier - nodeRepulsion: (node: any) => 4500, + nodeRepulsion: (_node: any) => 4500, // Ideal edge (non nested) length - idealEdgeLength: (edge: any) => 300, + idealEdgeLength: (_edge: any) => 300, // Divisor to compute edge forces - edgeElasticity: (edge: any) => 0.45, + edgeElasticity: (_edge: any) => 0.45, // Nesting factor (multiplier) to compute ideal edge length for nested edges nestingFactor: 0.4, // Maximum number of iterations to perform - this is a suggested value and might be adjusted by the algorithm as required