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
158
Issues
158
List
Board
Labels
Milestones
Merge Requests
11
Merge Requests
11
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
89c9ae26
Commit
89c9ae26
authored
Jul 19, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CodeType] Adding Python for reading
parent
68881fa0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
Corpus.hs
src/Gargantext/Database/Admin/Types/Hyperdata/Corpus.hs
+4
-3
Legend.hs
src/Gargantext/Viz/Graph/Legend.hs
+1
-1
No files found.
src/Gargantext/Database/Admin/Types/Hyperdata/Corpus.hs
View file @
89c9ae26
...
...
@@ -25,7 +25,7 @@ import Gargantext.Prelude
import
Gargantext.Database.Admin.Types.Hyperdata.Prelude
data
CodeType
=
JSON
|
Markdown
|
Haskell
data
CodeType
=
JSON
|
Markdown
|
Haskell
|
Python
deriving
(
Generic
,
Eq
)
instance
ToJSON
CodeType
instance
FromJSON
CodeType
...
...
@@ -33,8 +33,9 @@ instance ToSchema CodeType
------------------------------------------------------------------------
data
CorpusField
=
MarkdownField
{
_cf_text
::
!
Text
}
|
HaskellField
{
_cf_haskell
::
!
Text
}
|
JsonField
{
_cf_title
::
!
Text
|
HaskellField
{
_cf_haskell
::
!
Text
}
|
PythonField
{
_cf_python
::
!
Text
}
|
JsonField
{
_cf_title
::
!
Text
,
_cf_desc
::
!
Text
,
_cf_query
::
!
Text
,
_cf_authors
::
!
Text
...
...
src/Gargantext/Viz/Graph/Legend.hs
View file @
89c9ae26
...
...
@@ -13,6 +13,7 @@ Portability : POSIX
module
Gargantext.Viz.Graph.Legend
where
{-
import Data.Ord (Down(..))
import Gargantext.Prelude
import Data.Map (Map, fromListWith, lookup, toList, mapWithKey, elems)
...
...
@@ -23,7 +24,6 @@ import Gargantext.Viz.Graph.Louvain (LouvainNodeId, CommunityId, comId2nodeId)
{-
[LouvainNode] -> Map CommunityId LouvainNodeId
[(CommunityId, [LouvainNodeId])]
...
...
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