chore: put initialisation of graph renderers in separate file