Commit 4891a7ce authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIX] design graph + blank url.

parent 5e03363b
...@@ -416,7 +416,7 @@ pageCpt = R.memo' $ R.hooksComponent "G.C.DocsTable.pageCpt" cpt where ...@@ -416,7 +416,7 @@ pageCpt = R.memo' $ R.hooksComponent "G.C.DocsTable.pageCpt" cpt where
-- TODO show date: Year-Month-Day only -- TODO show date: Year-Month-Day only
, H.div { style } [ R2.showText r.date ] , H.div { style } [ R2.showText r.date ]
, H.div { style } , H.div { style }
[ H.a { href: url frontends $ corpusDocument r._id } [ H.text r.title ] ] [ H.a { href: url frontends $ corpusDocument r._id, target: "_blank"} [ H.text r.title ] ]
, H.div { style } [ H.text $ if r.source == "" then "Source" else r.source ] , H.div { style } [ H.text $ if r.source == "" then "Source" else r.source ]
] ]
, delete: true } , delete: true }
......
...@@ -169,7 +169,7 @@ type SigmaSettings = ...@@ -169,7 +169,7 @@ type SigmaSettings =
, mouseZoomDuration :: Number , mouseZoomDuration :: Number
, nodeBorderColor :: String , nodeBorderColor :: String
-- , nodeHoverColor :: String -- , nodeHoverColor :: String
-- , nodesPowRatio :: Number --, nodesPowRatio :: Number
, rescaleIgnoreSize :: Boolean , rescaleIgnoreSize :: Boolean
-- , scalingMode :: String -- , scalingMode :: String
-- , sideMargin :: Number -- , sideMargin :: Number
...@@ -201,15 +201,15 @@ sigmaSettings = ...@@ -201,15 +201,15 @@ sigmaSettings =
, autoRescale: true , autoRescale: true
, autoResize: true , autoResize: true
, batchEdgesDrawing: true , batchEdgesDrawing: true
, borderSize: 3.0 -- for ex, bigger border when hover , borderSize: 1.0 -- for ex, bigger border when hover
, defaultEdgeHoverColor: "#f00" , defaultEdgeHoverColor: "#f00"
, defaultEdgeType: "curve" -- 'curve' or 'line' (curve iff ourRendering) , defaultEdgeType: "curve" -- 'curve' or 'line' (curve iff ourRendering)
, defaultHoverLabelBGColor: "#fff" , defaultHoverLabelBGColor: "#fff"
, defaultHoverLabelColor: "#000" , defaultHoverLabelColor: "#000"
, defaultLabelColor: "#000" -- labels text color , defaultLabelColor: "#000" -- labels text color
, defaultLabelSize: 8.0 -- (old tina: showLabelsIfZoom) , defaultLabelSize: 8.0 -- (old tina: showLabelsIfZoom)
, defaultNodeBorderColor: "black" -- <- if nodeBorderColor = 'default' , defaultNodeBorderColor : "#000" -- <- if nodeBorderColor = 'default'
, defaultNodeColor: "#ddd" , defaultNodeColor: "#FFF"
, doubleClickEnabled: false , doubleClickEnabled: false
, drawEdgeLabels: true , drawEdgeLabels: true
, drawEdges: true , drawEdges: true
...@@ -224,7 +224,7 @@ sigmaSettings = ...@@ -224,7 +224,7 @@ sigmaSettings =
, fontStyle: "bold" , fontStyle: "bold"
, hideEdgesOnMove: true , hideEdgesOnMove: true
, labelSize : "fixed" , labelSize : "fixed"
, labelSizeRatio: 1.0 -- label size in ratio of node size , labelSizeRatio: 2.0 -- label size in ratio of node size
, labelThreshold: 5.0 -- min node cam size to start showing label , labelThreshold: 5.0 -- min node cam size to start showing label
, maxEdgeSize: 1.0 , maxEdgeSize: 1.0
, maxNodeSize: 7.0 , maxNodeSize: 7.0
...@@ -232,18 +232,18 @@ sigmaSettings = ...@@ -232,18 +232,18 @@ sigmaSettings =
, minNodeSize: 0.1 , minNodeSize: 0.1
, mouseEnabled: true , mouseEnabled: true
, mouseZoomDuration: 150.0 , mouseZoomDuration: 150.0
, nodeBorderColor: "node" -- choices: 'default' color vs. node color , nodeBorderColor: "default" -- choices: "default" color vs. "node" color
-- , nodesPowRatio: 0.3 --, nodesPowRatio : 10.8
, rescaleIgnoreSize: false , rescaleIgnoreSize : false
, singleHover: true , singleHover : true
, touchEnabled: true , touchEnabled : true
, twBorderGreyColor: "rgba(100, 100, 100, 0.5)" , twBorderGreyColor : "rgba(100, 100, 100, 0.9)"
, twEdgeDefaultOpacity: 0.4 -- initial opacity added to src/tgt colors , twEdgeDefaultOpacity : 0.4 -- initial opacity added to src/tgt colors
, twEdgeGreyColor: "rgba(100, 100, 100, 0.25)" , twEdgeGreyColor : "rgba(100, 100, 100, 0.25)"
, twNodeRendBorderColor: "#222" , twNodeRendBorderColor : "#FFF"
, twNodeRendBorderSize: 0.5 -- node borders (only iff ourRendering) , twNodeRendBorderSize : 2.5 -- node borders (only iff ourRendering)
, twNodesGreyOpacity: 5.5 -- smaller value: more grey , twNodesGreyOpacity : 5.5 -- smaller value: more grey
, twSelectedColor: "default" -- "node" for a label bg like the node color, "default" for white background , twSelectedColor : "node" -- "node" for a label bg like the node color, "default" for white background
, verbose : true , verbose : true
, zoomMax: 1.7 , zoomMax: 1.7
, zoomMin: 0.0 , zoomMin: 0.0
......
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