G
gkarras
I am creating a visio 2007 page with almost 900 shapes that represent a
geneology tree. The creation of the page is done programatically in vb.net
with the following steps:
1) opening a new visio doc
2) dropping the shapes
3) looping on the shapes collection and 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 layout
but still no luck.
Any suggestions how to overcome this problem?
Another interesting thing is that different output is achieved depending on
which shapes I connect first (eg: when I connect parents to childs I have a
diferrent output than when I connect childs to parents. both outputs though
have similar problems with overlapps)...
Thanks in advance!
geneology tree. The creation of the page is done programatically in vb.net
with the following steps:
1) opening a new visio doc
2) dropping the shapes
3) looping on the shapes collection and 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 layout
but still no luck.
Any suggestions how to overcome this problem?
Another interesting thing is that different output is achieved depending on
which shapes I connect first (eg: when I connect parents to childs I have a
diferrent output than when I connect childs to parents. both outputs though
have similar problems with overlapps)...
Thanks in advance!