Commit 05dfd66f authored by Mael NICOLAS's avatar Mael NICOLAS Committed by Alexandre Delanoë

#43 added settings in the type

parent 8af48b15
...@@ -214,21 +214,21 @@ mySettings = sigmaSettings { verbose : true ...@@ -214,21 +214,21 @@ mySettings = sigmaSettings { verbose : true
, drawNodes: true , drawNodes: true
, labelSize : "proportional" , labelSize : "proportional"
--, nodesPowRatio: 0.3 --, nodesPowRatio: 0.3
, batchEdgesDrawing: false , batchEdgesDrawing: false
, hideEdgesOnMove: true , hideEdgesOnMove: true
, enableHovering: true , enableHovering: true
, singleHover: true , singleHover: true
, enableEdgeHovering: false , enableEdgeHovering: false
, autoResize: true , autoResize: true
, autoRescale: true , autoRescale: true
, rescaleIgnoreSize: false , rescaleIgnoreSize: false
, mouseEnabled: true , mouseEnabled: true
, touchEnabled: true , touchEnabled: true
, animationsTime: 1500.0 , animationsTime: 1500.0
, defaultNodeColor: "#ddd" , defaultNodeColor: "#ddd"
, twNodeRendBorderSize: 0.5 -- node borders (only iff ourRendering) , twNodeRendBorderSize: 0.5 -- node borders (only iff ourRendering)
...@@ -238,6 +238,8 @@ mySettings = sigmaSettings { verbose : true ...@@ -238,6 +238,8 @@ mySettings = sigmaSettings { verbose : true
, minEdgeSize: 1.0 -- in fact used in tina as edge size , minEdgeSize: 1.0 -- in fact used in tina as edge size
--, defaultEdgeType: "curve" -- 'curve' or 'line' (curve only iff ourRendering) --, defaultEdgeType: "curve" -- 'curve' or 'line' (curve only iff ourRendering)
, twEdgeDefaultOpacity: 0.4 -- initial opacity added to src/tgt colors , twEdgeDefaultOpacity: 0.4 -- initial opacity added to src/tgt colors
, minNodeSize: 1.0
, maxNodeSize: 10.0
-- --
-- -- labels -- -- labels
, font: "Droid Sans" -- font params , font: "Droid Sans" -- font params
...@@ -245,7 +247,7 @@ mySettings = sigmaSettings { verbose : true ...@@ -245,7 +247,7 @@ mySettings = sigmaSettings { verbose : true
, defaultLabelColor: "#000" -- labels text color , defaultLabelColor: "#000" -- labels text color
, labelSizeRatio: 2.0 -- label size in ratio of node size , labelSizeRatio: 2.0 -- label size in ratio of node size
, labelThreshold: 2.0 -- min node cam size to start showing label , labelThreshold: 2.0 -- min node cam size to start showing label
, labelMaxSize: 10.0 -- (old tina: showLabelsIfZoom) , labelMaxSize: 3.0 -- (old tina: showLabelsIfZoom)
-- hovered nodes -- hovered nodes
, defaultHoverLabelBGColor: "#fff" , defaultHoverLabelBGColor: "#fff"
......
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