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
, default: methodGraphMetric'
, callback: \val -> T.write_ val methodGraphMetric
, print: show } []
, formChoiceSafe { items: [Spinglass, Confluence]
, formChoiceSafe { items: [Infomap, Spinglass, Confluence]
, default: methodGraphClustering'
, callback: \val -> T.write_ val methodGraphClustering
, print: show } []
......
......@@ -71,7 +71,7 @@ instance Read GraphMetric where
instance JSON.ReadForeign GraphMetric where readImpl = JSONG.enumSumRep
instance JSON.WriteForeign GraphMetric where writeImpl = JSON.writeImpl <<< show
data PartitionMethod = Spinglass | Confluence
data PartitionMethod = Spinglass | Infomap | Confluence
derive instance Generic PartitionMethod _
derive instance Eq PartitionMethod
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