Commit 901656f8 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIX] GraphExplorer settings

parent 2f3702f8
...@@ -249,13 +249,13 @@ sigmaSettings = ...@@ -249,13 +249,13 @@ sigmaSettings =
, edgeHoverPrecision: 2.0 , edgeHoverPrecision: 2.0
, edgeHoverSizeRatio: 2.0 , edgeHoverSizeRatio: 2.0
, enableHovering: true , enableHovering: true
, font: "arial" -- font params , font: "arial"
, fontStyle: "bold" , fontStyle: ""
, hideEdgesOnMove: true , hideEdgesOnMove: true
, labelSize : "proportional" -- alt : proportional, fixed , labelSize : "proportional" -- alt : proportional, fixed
-- , labelSize: "fixed" -- , labelSize: "fixed"
, labelSizeRatio: 3.0 -- label size in ratio of node size , labelSizeRatio: 2.0 -- label size in ratio of node size
, labelThreshold: 6.0 -- min node cam size to start showing label , labelThreshold: 7.0 -- 5.0 for more labels -- min node cam size to start showing label
, maxEdgeSize: 1.0 , maxEdgeSize: 1.0
, maxNodeSize: 8.0 , maxNodeSize: 8.0
, minEdgeSize: 0.5 -- in fact used in tina as edge size , minEdgeSize: 0.5 -- in fact used in tina as edge size
...@@ -278,7 +278,7 @@ sigmaSettings = ...@@ -278,7 +278,7 @@ sigmaSettings =
, verbose : true , verbose : true
, zoomMax: 1.7 , zoomMax: 1.7
, zoomMin: 0.0 , zoomMin: 0.0
, zoomingRatio: 1.7 , zoomingRatio: 1.4
} }
type ForceAtlas2Settings = type ForceAtlas2Settings =
...@@ -306,11 +306,11 @@ forceAtlas2Settings = ...@@ -306,11 +306,11 @@ forceAtlas2Settings =
, barnesHutOptimize : true , barnesHutOptimize : true
, edgeWeightInfluence : 1.0 , edgeWeightInfluence : 1.0
-- fixedY : false -- fixedY : false
, gravity : 1.0 , gravity : 0.1
, iterationsPerRender : 10.0 , iterationsPerRender : 50.0 -- 10.0
, linLogMode : false -- false , linLogMode : false -- false
, outboundAttractionDistribution: false , outboundAttractionDistribution: false
, scalingRatio : 10.0 , scalingRatio : 100.0
, skipHidden: false , skipHidden: false
, slowDown : 1.0 , slowDown : 1.0
, startingIterations : 10.0 , startingIterations : 10.0
......
...@@ -51,8 +51,8 @@ labelSizeButton sigmaRef state = ...@@ -51,8 +51,8 @@ labelSizeButton sigmaRef state =
sizeButton { sizeButton {
state state
, caption: "Label Size" , caption: "Label Size"
, min: 5.0 , min: 2.0
, max: 30.0 , max: 15.0
, onChange: \e -> do , onChange: \e -> do
let sigma = R.readRef sigmaRef let sigma = R.readRef sigmaRef
let newValue = readFloat $ R.unsafeEventValue e let newValue = readFloat $ R.unsafeEventValue e
......
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