Update doxygen to use dot
move render call to initialise function