openrca / orca-ui

Web UI for OpenRCA
https://openrca.io
Apache License 2.0
33 stars 4 forks source link

Moving graph helper functions to utils file #152

Closed k-jano closed 3 years ago

k-jano commented 3 years ago

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.