Commit 3737821e authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FEAT] Infomap clustering

parent eb148629
...@@ -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: [Spinglass, Confluence] , formChoiceSafe { items: [Infomap, Spinglass, Confluence]
, default: methodGraphClustering' , default: methodGraphClustering'
, callback: \val -> T.write_ val methodGraphClustering , callback: \val -> T.write_ val methodGraphClustering
, print: show } [] , print: show } []
......
...@@ -71,7 +71,7 @@ instance Read GraphMetric where ...@@ -71,7 +71,7 @@ instance Read GraphMetric where
instance JSON.ReadForeign GraphMetric where readImpl = JSONG.enumSumRep instance JSON.ReadForeign GraphMetric where readImpl = JSONG.enumSumRep
instance JSON.WriteForeign GraphMetric where writeImpl = JSON.writeImpl <<< show instance JSON.WriteForeign GraphMetric where writeImpl = JSON.writeImpl <<< show
data PartitionMethod = Spinglass | Confluence data PartitionMethod = Spinglass | Infomap | Confluence
derive instance Generic PartitionMethod _ derive instance Generic PartitionMethod _
derive instance Eq PartitionMethod derive instance Eq PartitionMethod
instance Show PartitionMethod where show = genericShow instance Show PartitionMethod where show = genericShow
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment