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
138
Issues
138
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
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
96160a7b
Commit
96160a7b
authored
Oct 19, 2021
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[sidebar] fixes to min/max node size computation
parent
38bcf911
Pipeline
#1988
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Sidebar.purs
src/Gargantext/Components/GraphExplorer/Sidebar.purs
+4
-4
No files found.
src/Gargantext/Components/GraphExplorer/Sidebar.purs
View file @
96160a7b
...
...
@@ -185,8 +185,8 @@ selectedNodesCpt = here.component "selectedNodes" cpt
selectedNodeIds' <- T.useLive T.unequal selectedNodeIds
let badges' = neighbourBadges graph selectedNodeIds'
minSize = F.foldl Math.min 0.0 (Seq.map _.size
badges'
)
maxSize = F.foldl Math.max 0.0 (Seq.map _.size
badges'
)
minSize = F.foldl Math.min 0.0 (Seq.map _.size
(SigmaxT.graphNodes graph)
)
maxSize = F.foldl Math.max 0.0 (Seq.map _.size
(SigmaxT.graphNodes graph)
)
pure $ R2.row
[ R2.col 12
...
...
@@ -230,8 +230,8 @@ neighborhoodCpt = here.component "neighborhood" cpt
selectedNodeIds' <- T.useLive T.unequal selectedNodeIds
let badges' = neighbourBadges graph selectedNodeIds'
minSize = F.foldl Math.min 0.0 (Seq.map _.size
badges'
)
maxSize = F.foldl Math.max 0.0 (Seq.map _.size
badges'
)
minSize = F.foldl Math.min 0.0 (Seq.map _.size
(SigmaxT.graphNodes graph)
)
maxSize = F.foldl Math.max 0.0 (Seq.map _.size
(SigmaxT.graphNodes graph)
)
pure $ RH.div { className: "tab-content", id: "myTabContent" }
[ RH.div { -- className: "flex-space-around d-flex justify-content-center"
...
...
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