ni_nitdoc: Introduced function to generate dot file

Adding a function in HTMLPage to generate dot file

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