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
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
gargantext
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
Hide 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 =
-- selected nodes <=> special label
sigmaSettings :: {|SigmaSettings}
sigmaSettings =
{ animationsTime:
55
00.0
{ animationsTime:
300
00.0
, autoRescale: true
, autoResize: true
, batchEdgesDrawing: true
...
...
@@ -217,7 +217,7 @@ sigmaSettings =
, defaultLabelSize: 8.0 -- (old tina: showLabelsIfZoom)
, defaultNodeBorderColor : "#000" -- <- if nodeBorderColor = 'default'
, defaultNodeColor: "#FFF"
, doubleClickEnabled: false
, doubleClickEnabled: false
-- indicates whether or not the graph can be zoomed on double-click
, drawEdgeLabels: true
, drawEdges: true
, drawLabels: true
...
...
@@ -228,10 +228,10 @@ sigmaSettings =
, edgeHoverPrecision: 2.0
, edgeHoverSizeRatio: 2.0
, enableHovering: true
, font: "
Droid Sans
" -- font params
, font: "
arial
" -- font params
, fontStyle: "bold"
, hideEdgesOnMove: true
, labelSize : "
fixed"
, labelSize : "
proportional" -- alt : proportional
, labelSizeRatio: 2.0 -- label size in ratio of node size
, labelThreshold: 5.0 -- min node cam size to start showing label
, maxEdgeSize: 1.0
...
...
@@ -256,7 +256,7 @@ sigmaSettings =
, verbose : true
, zoomMax: 1.7
, zoomMin: 0.0
, zoomingRatio:
3.2
, zoomingRatio:
1.7
}
type ForceAtlas2Settings =
...
...
@@ -280,17 +280,17 @@ type ForceAtlas2Settings =
forceAtlas2Settings :: {|ForceAtlas2Settings}
forceAtlas2Settings =
{ adjustSizes :
fals
e
{ adjustSizes :
tru
e
, barnesHutOptimize : true
, edgeWeightInfluence : 1.0
-- fixedY : false
, gravity : 1.0
, iterationsPerRender :
4
.0
, iterationsPerRender :
10
.0
, linLogMode : false -- false
, outboundAttractionDistribution: false
, scalingRatio :
4
.0
, scalingRatio :
10
.0
, skipHidden: false
, slowDown :
0.7
, startingIterations :
2
.0
, slowDown :
1.0
, startingIterations :
10
.0
, 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