This PR move part of graph helper function to utils file. I tried to move as much code as possible, however any functions responsible for changing a component state wasn't able to move.
I still see little possibility to improve the main component code via generateGraph() function refactor, but I think that we should provide it in separate PR.
This PR move part of graph helper function to utils file. I tried to move as much code as possible, however any functions responsible for changing a component state wasn't able to move.
I still see little possibility to improve the main component code via
generateGraph()
function refactor, but I think that we should provide it in separate PR.