Displaying the site map markup based on the nnNavItems array is a simple function call. Check out the code in NNSampleUsage.incl to learn how.
This page also illustrates use of $nnpage->nnDoDirectory();
This page's title is: Sample Page #01 and there are 36 total items in the nnNavItems array