This was a branch made to see if a wey of updating the diagram would work, and it ended that i used another method and have been using this branch since to do many things aside the main goal. Heres what i did, grossly:
Solved the diagram update problem (adding classes triggers a mermaid.render() call);
Tried to solve the saved diagram not being loaded problem, generating some methods that dont necessarily need to exist;
Changed the overall look of the app so developing it is a little more pleasant
This was a branch made to see if a wey of updating the diagram would work, and it ended that i used another method and have been using this branch since to do many things aside the main goal. Heres what i did, grossly: