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
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
Grégoire Locqueville
haskell-gargantext
Commits
5dbb665d
Commit
5dbb665d
authored
Nov 28, 2022
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[graph] add _camera_angle
parent
924aeb1c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Graph.hs
src/Gargantext/Core/Viz/Graph.hs
+4
-3
API.hs
src/Gargantext/Core/Viz/Graph/API.hs
+2
-3
No files found.
src/Gargantext/Core/Viz/Graph.hs
View file @
5dbb665d
...
@@ -203,7 +203,8 @@ data GraphV3 = GraphV3 { go_links :: [EdgeV3]
...
@@ -203,7 +203,8 @@ data GraphV3 = GraphV3 { go_links :: [EdgeV3]
$
(
deriveJSON
(
unPrefix
"go_"
)
''
G
raphV3
)
$
(
deriveJSON
(
unPrefix
"go_"
)
''
G
raphV3
)
-----------------------------------------------------------
-----------------------------------------------------------
data
Camera
=
Camera
{
_camera_ratio
::
Double
data
Camera
=
Camera
{
_camera_angle
::
Double
,
_camera_ratio
::
Double
,
_camera_x
::
Double
,
_camera_x
::
Double
,
_camera_y
::
Double
}
,
_camera_y
::
Double
}
deriving
(
Show
,
Generic
)
deriving
(
Show
,
Generic
)
...
...
src/Gargantext/Core/Viz/Graph/API.hs
View file @
5dbb665d
...
@@ -369,4 +369,3 @@ getGraphGexf :: FlowCmdM env err m
...
@@ -369,4 +369,3 @@ getGraphGexf :: FlowCmdM env err m
getGraphGexf
uId
nId
=
do
getGraphGexf
uId
nId
=
do
HyperdataGraphAPI
{
_hyperdataAPIGraph
=
graph
}
<-
getGraph
uId
nId
HyperdataGraphAPI
{
_hyperdataAPIGraph
=
graph
}
<-
getGraph
uId
nId
pure
$
addHeader
"attachment; filename=graph.gexf"
graph
pure
$
addHeader
"attachment; filename=graph.gexf"
graph
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