Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
149
Issues
149
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
haskell-gargantext
Commits
565c34d4
Commit
565c34d4
authored
Jun 17, 2022
by
Alp Mestanogullari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
forgot a file
parent
0cbd5099
Pipeline
#2916
failed with stage
in 53 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
Infomap.hs
src/Gargantext/Core/Viz/Graph/Tools/Infomap.hs
+15
-0
No files found.
src/Gargantext/Core/Viz/Graph/Tools/Infomap.hs
0 → 100644
View file @
565c34d4
module
Gargantext.Core.Viz.Graph.Tools.Infomap
where
import
Data.Map
(
Map
)
import
Graph.Types
import
Prelude
import
qualified
Data.Graph.Infomap
as
I
import
qualified
Data.Graph.Infomap.Internal
as
I
infomap
::
String
->
Map
(
Int
,
Int
)
Double
->
IO
[
ClusterNode
]
infomap
infomapCfg
gr
=
map
mkClustNode
<$>
I
.
infomap
infomapCfg
gr
where
mkClustNode
(
I
.
CNode
nid
cid
)
=
ClusterNode
(
fromIntegral
nid
)
(
fromIntegral
cid
)
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