I am creating a visio 2007 page with almost 900 shapes that represent a geneology tree. The creation of the page is done programatically with the following steps:
1) opening a new visio doc
2) dropping the shapes
3) connecting parents to childs
4) re layout the page with visPLOPlaceHierarchyTopToBottomCenter and visLORouteSimpleSN
The problem is that the layout is not 100% succesfull. Some shapes get on top of others. I 've tested my code thoroughly but I haven't figure out something.
I 've even used the visio sdks sample (WBSTreeView.sln) which has a similar output but nothing there too. Practically with no code changes in this project, I have inserted the data in the mpd file and changed the page layoyt but still no luck.
Therefore I am concluding that the Hierarchy layout in visio 2007 has a problem. Any suggestions?
Thanks in advance