Unverified Commit 49c2ce3a authored by Mael NICOLAS's avatar Mael NICOLAS Committed by Nicolas Pouillard

[HELP]

Resolved the compilation error but myGoto() doesn't seem to be loaded
parent b889ed13
......@@ -41,7 +41,7 @@ exports.forceLinkClass = FL.default;
}
const myGoto = function(sigma){
alert("My goto ffi");
console.log("My goto ffi");
};
exports.myGoto = myGoto;
......@@ -3,7 +3,6 @@ module Gargantext.Components.GraphExplorer.Sigmajs where
import Prelude
import Data.Nullable (Nullable)
import Data.Unit (Unit)
import Effect (Effect)
import React (Children, ReactClass, ReactElement, ReactRef, createElement, unsafeCreateElement)
import React.DOM.Props (Props)
......@@ -252,7 +251,7 @@ type SigmaProps =
, settings :: SigmaSettings
, style :: SigmaStyle
, graph :: SigmaGraphData
, ref :: (Nullable ReactRef -> Effect Unit) -> Props
, ref :: Nullable ReactRef -> Effect Unit
, onClickNode :: SigmaNodeEvent -> Unit
, onOverNode :: SigmaNodeEvent -> Unit
, onOutNode :: SigmaNodeEvent -> Effect Unit
......@@ -286,9 +285,6 @@ edgeShape =
, tapered : EdgeShape "tapered"
}
newtype NodeShape = NodeShape String
nodeShape :: { def :: NodeShape
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment