diff --git a/src/app/components/analysis-panel/analysis-panel.component.ts b/src/app/components/analysis-panel/analysis-panel.component.ts index aea6445261e2252511dcdf795b4d77be86b12931..64eda7b2aad035aeeea9b761588b283da38be107 100644 --- a/src/app/components/analysis-panel/analysis-panel.component.ts +++ b/src/app/components/analysis-panel/analysis-panel.component.ts @@ -371,10 +371,6 @@ export class AnalysisPanelComponent implements OnInit, OnChanges { edges.push(this.mapEdge(edge, 'protein-protein', wrappers)); } - for (const edge of network.edges) { - edges.push(this.mapEdge(edge, 'protein-protein', wrappers)); - } - return { nodes, edges, diff --git a/src/app/network-settings.ts b/src/app/network-settings.ts index 62ef5350de98d36383fcd2d7485ae4702f5985b7..68a96e22037d1a4d8cd8e5020b52571d878dc049 100644 --- a/src/app/network-settings.ts +++ b/src/app/network-settings.ts @@ -41,13 +41,16 @@ export class NetworkSettings { }; private static analysisEdges = { smooth: false, - length: 400, }; private static analysisPhysics = { enabled: true, stabilization: { enabled: true, }, + repulsion: { + centralGravity: 0, + }, + solver: 'repulsion', }; private static analysisBigPhysics = { enabled: false,