From dd5f3c455f983ff3e6db344caca4239786a8ca2b Mon Sep 17 00:00:00 2001 From: Przemek Kaminski <pk@intrepidus.pl> Date: Tue, 18 Oct 2022 15:13:47 +0200 Subject: [PATCH] [sigma] add comment about renderLabels --- src/Gargantext/Components/GraphExplorer/Resources.purs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Gargantext/Components/GraphExplorer/Resources.purs b/src/Gargantext/Components/GraphExplorer/Resources.purs index 67f50330..cee75ae8 100644 --- a/src/Gargantext/Components/GraphExplorer/Resources.purs +++ b/src/Gargantext/Components/GraphExplorer/Resources.purs @@ -133,6 +133,10 @@ drawGraphCpt = R.memo' $ here.component "graph" cpt where Sigmax.bindSelectedNodesClick sigma selectedNodeIds multiSelectEnabled Sigmax.bindShiftWheel sigma mouseSelectorSize _ <- Sigma.bindMouseSelectorPlugin sigma + -- NOTE For some reason, setting 'renderLabels: + -- false' in sigmaSettings and initializing sigma + -- with those settings doesn't work. We need to set + -- the renderLabels: false here again. Sigma.setSettings sigma { renderLabels: false } pure unit -- 2.21.0