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
197
Issues
197
List
Board
Labels
Milestones
Merge Requests
12
Merge Requests
12
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
ea21bbbe
Commit
ea21bbbe
authored
Aug 22, 2024
by
Karen Konou
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Graph API] fix cluster renaming
parent
7649e70b
Pipeline
#6522
passed with stages
in 73 minutes and 22 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
API.hs
src/Gargantext/Core/Viz/Graph/API.hs
+1
-1
Types.hs
src/Gargantext/Core/Viz/Graph/Types.hs
+1
-1
No files found.
src/Gargantext/Core/Viz/Graph/API.hs
View file @
ea21bbbe
...
@@ -303,7 +303,7 @@ updateGraphLegend :: HasNodeError err
...
@@ -303,7 +303,7 @@ updateGraphLegend :: HasNodeError err
=>
NodeId
=>
NodeId
->
GraphLegendAPI
->
GraphLegendAPI
->
DBCmd
err
NodeId
->
DBCmd
err
NodeId
updateGraphLegend
nId
(
GraphLegendAPI
{
_graphAPILegend
=
lg
}
)
=
do
updateGraphLegend
nId
(
GraphLegendAPI
lg
)
=
do
nodeGraph
<-
getNodeWith
nId
(
Proxy
::
Proxy
HyperdataGraph
)
nodeGraph
<-
getNodeWith
nId
(
Proxy
::
Proxy
HyperdataGraph
)
let
graph
=
nodeGraph
^.
node_hyperdata
.
hyperdataGraph
let
graph
=
nodeGraph
^.
node_hyperdata
.
hyperdataGraph
case
graph
of
case
graph
of
...
...
src/Gargantext/Core/Viz/Graph/Types.hs
View file @
ea21bbbe
...
@@ -243,7 +243,7 @@ instance FromField HyperdataGraphAPI
...
@@ -243,7 +243,7 @@ instance FromField HyperdataGraphAPI
-----------------------------------------------------------
-----------------------------------------------------------
data
GraphLegendAPI
=
GraphLegendAPI
{
_graphAPILegend
::
[
LegendField
]
}
data
GraphLegendAPI
=
GraphLegendAPI
[
LegendField
]
deriving
(
Show
,
Generic
)
deriving
(
Show
,
Generic
)
$
(
deriveJSON
(
unPrefix
"_graphAPI"
)
''
G
raphLegendAPI
)
$
(
deriveJSON
(
unPrefix
"_graphAPI"
)
''
G
raphLegendAPI
)
instance
ToSchema
GraphLegendAPI
where
instance
ToSchema
GraphLegendAPI
where
...
...
Przemyslaw Kaminski
@cgenie
mentioned in commit
5660aec0
·
Oct 08, 2024
mentioned in commit
5660aec0
mentioned in commit 5660aec07ec5a0a0a5468f440092c1a8f57a864e
Toggle commit list
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