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
af7295ab
Commit
af7295ab
authored
Jun 23, 2022
by
Alexandre Delanoë
Committed by
Karen Konou
Jun 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Graph] Read Type
parent
a688cad7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
Update.purs
...Gargantext/Components/Forest/Tree/Node/Action/Update.purs
+1
-1
Types.purs
...text/Components/Forest/Tree/Node/Action/Update/Types.purs
+1
-0
No files found.
src/Gargantext/Components/Forest/Tree/Node/Action/Update.purs
View file @
af7295ab
...
@@ -90,7 +90,7 @@ updateGraphCpt = here.component "updateGraph" cpt where
...
@@ -90,7 +90,7 @@ updateGraphCpt = here.component "updateGraph" cpt where
, default: methodGraphMetric'
, default: methodGraphMetric'
, callback: \val -> T.write_ val methodGraphMetric
, callback: \val -> T.write_ val methodGraphMetric
, print: show } []
, print: show } []
, formChoiceSafe { items: [
Infomap, Spinglass
, Confluence]
, formChoiceSafe { items: [
Spinglass, Infomap
, Confluence]
, default: methodGraphClustering'
, default: methodGraphClustering'
, callback: \val -> T.write_ val methodGraphClustering
, callback: \val -> T.write_ val methodGraphClustering
, print: show } []
, print: show } []
...
...
src/Gargantext/Components/Forest/Tree/Node/Action/Update/Types.purs
View file @
af7295ab
...
@@ -78,6 +78,7 @@ instance Show PartitionMethod where show = genericShow
...
@@ -78,6 +78,7 @@ instance Show PartitionMethod where show = genericShow
instance Read PartitionMethod where
instance Read PartitionMethod where
read "Spinglass" = Just Spinglass
read "Spinglass" = Just Spinglass
read "Confluence" = Just Confluence
read "Confluence" = Just Confluence
read "Infomap" = Just Infomap
read _ = Nothing
read _ = Nothing
instance JSON.ReadForeign PartitionMethod where readImpl = JSONG.enumSumRep
instance JSON.ReadForeign PartitionMethod where readImpl = JSONG.enumSumRep
instance JSON.WriteForeign PartitionMethod where writeImpl = JSON.writeImpl <<< show
instance JSON.WriteForeign PartitionMethod where writeImpl = JSON.writeImpl <<< show
...
...
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