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
175b0065
Commit
175b0065
authored
Jan 28, 2021
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into dev-node-corpus-add-text-cells
parents
1576810f
cd54ce7b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
12 deletions
+13
-12
Settings.purs
src/Gargantext/Components/Forest/Tree/Node/Settings.purs
+1
-1
Graph.purs
src/Gargantext/Components/Graph.purs
+9
-9
SlideButton.purs
src/Gargantext/Components/GraphExplorer/SlideButton.purs
+3
-2
No files found.
src/Gargantext/Components/Forest/Tree/Node/Settings.purs
View file @
175b0065
...
@@ -130,7 +130,7 @@ settingsBox Team =
...
@@ -130,7 +130,7 @@ settingsBox Team =
, Annuaire
, Annuaire
, NodeFrameWrite
, NodeFrameWrite
, NodeFrameCalc
, NodeFrameCalc
, NodeFrameNotebook
--
, NodeFrameNotebook
, Team
, Team
, FolderShared
, FolderShared
]
]
...
...
src/Gargantext/Components/Graph.purs
View file @
175b0065
...
@@ -249,15 +249,15 @@ sigmaSettings =
...
@@ -249,15 +249,15 @@ 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:
9.0 -- 5.0 for more labels
-- min node cam size to start showing label
, maxEdgeSize: 1.0
, maxEdgeSize: 1.0
, maxNodeSize:
8
.0
, maxNodeSize:
10
.0
, minEdgeSize: 0.5 -- in fact used in tina as edge size
, minEdgeSize: 0.5 -- in fact used in tina as edge size
, minNodeSize: 1.0
, minNodeSize: 1.0
, mouseEnabled: true
, mouseEnabled: true
...
@@ -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.01
, iterationsPerRender : 10.0
, iterationsPerRender :
50.0 --
10.0
, linLogMode : false -- false
, linLogMode : false -- false
, outboundAttractionDistribution: false
, outboundAttractionDistribution: false
, scalingRatio : 10.0
, scalingRatio : 10
00
.0
, skipHidden: false
, skipHidden: false
, slowDown : 1.0
, slowDown : 1.0
, startingIterations : 10.0
, startingIterations : 10.0
...
...
src/Gargantext/Components/GraphExplorer/SlideButton.purs
View file @
175b0065
...
@@ -51,7 +51,7 @@ labelSizeButton sigmaRef state =
...
@@ -51,7 +51,7 @@ labelSizeButton sigmaRef state =
sizeButton {
sizeButton {
state
state
, caption: "Label Size"
, caption: "Label Size"
, min:
5
.0
, min:
1
.0
, max: 30.0
, max: 30.0
, onChange: \e -> do
, onChange: \e -> do
let sigma = R.readRef sigmaRef
let sigma = R.readRef sigmaRef
...
@@ -61,7 +61,8 @@ labelSizeButton sigmaRef state =
...
@@ -61,7 +61,8 @@ labelSizeButton sigmaRef state =
Sigma.setSettings s {
Sigma.setSettings s {
defaultLabelSize: newValue
defaultLabelSize: newValue
, drawLabels: true
, drawLabels: true
, labelSizeRatio: newValue / 2.5
, maxNodeSize: newValue / 2.5
--, labelSizeRatio: newValue / 2.5
}
}
setValue $ const newValue
setValue $ const newValue
}
}
...
...
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