Hello,
Sitemap Generator has a built-in crawler that "browses" your site similar to normal visitor, i.e. it opens your homepages and finds all links on it, then it opens all found links one-by-one and finds links on them too etc.
That's why there must be a "path" to reach your pages, starting from your main page, like having a catalog/directory of your products pages.