At the moment I'm struggling to make it look better on phones, if you have an idea, just please post here.
But since I'm using mermaidjs to render the graphs, I don't see that I can do too much other than "simply" find a mobile friendly way to render such graph without mermaidjs.