This PR closes #91, by function order redefinition in first graph generating in orca-ui.
The problem was connected with scaleGraph() function, which we triggered 2 seconds after page load. Sometimes it occurred that there wasn't time enough to get response from backend server and apply it to graph definition. This PR makes, that timeout starts after getting a response.
Moreover if there is a situation that scaleGraph() function was triggered and no nodes were detected in the graph, transform operation isn't executed.
This PR closes #91, by function order redefinition in first graph generating in orca-ui.
The problem was connected with
scaleGraph()
function, which we triggered 2 seconds after page load. Sometimes it occurred that there wasn't time enough to get response from backend server and apply it to graph definition. This PR makes, that timeout starts after getting a response.Moreover if there is a situation that
scaleGraph()
function was triggered and no nodes were detected in the graph, transform operation isn't executed.