Skip to content
Snippets Groups Projects
Commit c69d2999 authored by Damian Romano Haj-Houssin's avatar Damian Romano Haj-Houssin
Browse files
parents cb53b1b9 82a8cee8
No related branches found
No related tags found
No related merge requests found
Pipeline #24406 passed
...@@ -88,8 +88,15 @@ update msg ( global, local ) = ...@@ -88,8 +88,15 @@ update msg ( global, local ) =
ViewChange newView -> ViewChange newView ->
case newView of case newView of
ForceDirectedGraph -> ForceDirectedGraph ->
let
fdg =
local.forcedirectedgraph
loadingfdg =
{ fdg | loading = True }
in
( ( { global | view = newView }, local ) ( ( { global | view = newView }, local )
, ForceDirectedGraphView.calculateModel global.data local.forcedirectedgraph |> Cmd.map ForceDirectedGraphView.propagate , ForceDirectedGraphView.calculateModel global.data loadingfdg |> Cmd.map ForceDirectedGraphView.propagate
) )
_ -> _ ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment