Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grégoire Locqueville
purescript-gargantext
Commits
204ea9fa
Commit
204ea9fa
authored
Feb 04, 2020
by
david Chavalarias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force Atlas tunning
parent
0aa59dc6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
Graph.purs
src/Gargantext/Components/Graph.purs
+10
-10
No files found.
src/Gargantext/Components/Graph.purs
View file @
204ea9fa
...
@@ -204,7 +204,7 @@ type SigmaSettings =
...
@@ -204,7 +204,7 @@ type SigmaSettings =
-- selected nodes <=> special label
-- selected nodes <=> special label
sigmaSettings :: {|SigmaSettings}
sigmaSettings :: {|SigmaSettings}
sigmaSettings =
sigmaSettings =
{ animationsTime:
55
00.0
{ animationsTime:
300
00.0
, autoRescale: true
, autoRescale: true
, autoResize: true
, autoResize: true
, batchEdgesDrawing: true
, batchEdgesDrawing: true
...
@@ -217,7 +217,7 @@ sigmaSettings =
...
@@ -217,7 +217,7 @@ sigmaSettings =
, defaultLabelSize: 8.0 -- (old tina: showLabelsIfZoom)
, defaultLabelSize: 8.0 -- (old tina: showLabelsIfZoom)
, defaultNodeBorderColor : "#000" -- <- if nodeBorderColor = 'default'
, defaultNodeBorderColor : "#000" -- <- if nodeBorderColor = 'default'
, defaultNodeColor: "#FFF"
, defaultNodeColor: "#FFF"
, doubleClickEnabled: false
, doubleClickEnabled: false
-- indicates whether or not the graph can be zoomed on double-click
, drawEdgeLabels: true
, drawEdgeLabels: true
, drawEdges: true
, drawEdges: true
, drawLabels: true
, drawLabels: true
...
@@ -228,10 +228,10 @@ sigmaSettings =
...
@@ -228,10 +228,10 @@ sigmaSettings =
, edgeHoverPrecision: 2.0
, edgeHoverPrecision: 2.0
, edgeHoverSizeRatio: 2.0
, edgeHoverSizeRatio: 2.0
, enableHovering: true
, enableHovering: true
, font: "
Droid Sans
" -- font params
, font: "
arial
" -- font params
, fontStyle: "bold"
, fontStyle: "bold"
, hideEdgesOnMove: true
, hideEdgesOnMove: true
, labelSize : "
fixed"
, labelSize : "
proportional" -- alt : proportional
, labelSizeRatio: 2.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
...
@@ -256,7 +256,7 @@ sigmaSettings =
...
@@ -256,7 +256,7 @@ sigmaSettings =
, verbose : true
, verbose : true
, zoomMax: 1.7
, zoomMax: 1.7
, zoomMin: 0.0
, zoomMin: 0.0
, zoomingRatio:
3.2
, zoomingRatio:
1.7
}
}
type ForceAtlas2Settings =
type ForceAtlas2Settings =
...
@@ -280,17 +280,17 @@ type ForceAtlas2Settings =
...
@@ -280,17 +280,17 @@ type ForceAtlas2Settings =
forceAtlas2Settings :: {|ForceAtlas2Settings}
forceAtlas2Settings :: {|ForceAtlas2Settings}
forceAtlas2Settings =
forceAtlas2Settings =
{ adjustSizes :
fals
e
{ adjustSizes :
tru
e
, barnesHutOptimize : true
, barnesHutOptimize : true
, edgeWeightInfluence : 1.0
, edgeWeightInfluence : 1.0
-- fixedY : false
-- fixedY : false
, gravity : 1.0
, gravity : 1.0
, iterationsPerRender :
4
.0
, iterationsPerRender :
10
.0
, linLogMode : false -- false
, linLogMode : false -- false
, outboundAttractionDistribution: false
, outboundAttractionDistribution: false
, scalingRatio :
4
.0
, scalingRatio :
10
.0
, skipHidden: false
, skipHidden: false
, slowDown :
0.7
, slowDown :
1.0
, startingIterations :
2
.0
, startingIterations :
10
.0
, strongGravityMode : false
, strongGravityMode : false
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment