ni_nitdoc: Generate dot file in overview page

Created a function to generate the graph of MModules tree in a program

Signed-off-by: Stefan Lage <lagestfan@gmail.com>