Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Przemyslaw Kaminski
haskell-gargantext
Commits
981f7d07
Commit
981f7d07
authored
Mar 18, 2019
by
Quentin Lobbé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add the view types for exporting a phylo
parent
10ac8353
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
Phylo.hs
src/Gargantext/Viz/Phylo.hs
+26
-1
No files found.
src/Gargantext/Viz/Phylo.hs
View file @
981f7d07
...
...
@@ -196,9 +196,34 @@ data Proximity = WeightedLogJaccard | Hamming | FromPairs
-- | A List of Clustering methods
data
Clustering
=
Louvain
|
RelatedComponents
data
PairTo
=
Childs
|
Parents
-- | Views type
data
EdgeType
=
Directed
|
UnDirected
data
ViewGraph
=
ViewGraph
{
_view_graphParam
::
PhyloParam
,
_view_graphLabel
::
Text
,
_view_graphEdgeType
::
EdgeType
,
_view_graphBranches
::
[(
PhyloBranchId
,
Text
)]
,
_view_graphNodes
::
[
ViewNode
]
,
_view_graphEdges
::
[
ViewEdge
]
}
data
ViewEdge
=
ViewEdge
{
_view_edgeSource
::
PhyloGroupId
,
_view_edgeTarget
::
PhyloGroupId
,
_view_edgeWeight
::
Weight
}
data
ViewNode
=
ViewNode
{
_view_nodeId
::
PhyloGroupId
,
_view_nodeLabel
::
Text
,
_view_nodeNgrams
::
[
Ngrams
]
,
_view_nodeMeta
::
Map
Text
Double
,
_view_nodeParent
::
PhyloGroupId
}
-- | Lenses
makeLenses
''
P
hylo
...
...
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