Commit 5dbb665d authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[graph] add _camera_angle

parent 924aeb1c
Pipeline #3429 passed with stage
in 91 minutes and 43 seconds
......@@ -203,7 +203,8 @@ data GraphV3 = GraphV3 { go_links :: [EdgeV3]
$(deriveJSON (unPrefix "go_") ''GraphV3)
-----------------------------------------------------------
data Camera = Camera { _camera_ratio :: Double
data Camera = Camera { _camera_angle :: Double
, _camera_ratio :: Double
, _camera_x :: Double
, _camera_y :: Double }
deriving (Show, Generic)
......
......@@ -369,4 +369,3 @@ getGraphGexf :: FlowCmdM env err m
getGraphGexf uId nId = do
HyperdataGraphAPI { _hyperdataAPIGraph = graph } <- getGraph uId nId
pure $ addHeader "attachment; filename=graph.gexf" graph
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment