nitdoc: Fix name mangling for graphs.

Fix #881.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>