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
05dfd66f
Commit
05dfd66f
authored
Jan 03, 2019
by
Mael NICOLAS
Committed by
Alexandre Delanoë
Feb 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#43 added settings in the type
parent
8af48b15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
Graph.purs
src/Gargantext/Pages/Corpus/Graph.purs
+14
-12
No files found.
src/Gargantext/Pages/Corpus/Graph.purs
View file @
05dfd66f
...
@@ -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"
...
...
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