S
Sergey Zamansky
Hi,
I use Visio 2003 ActiveX in order to create C++ application for automatic
drawing flowcharts/trees like organization chart. The application user may
change the chart layout style from top->bottom to left->right and
contrariwise. I need to keep relative positions of siblings while tree
layout. For example, a tree consists of root shape 'A' connected with
dynamic connectors to two child shapes 'B' and 'C'. Constant relative
position means that after multiple tree layouts:
1. 'B' is always on the left of 'C' for top->bottom layout and
2. 'B' is always lower than 'C' for left->right layout .
However, Visio change relative positions of siblings during layouts!
Is there a way to keep relative positions of siblings during tree layout?
Thank you in advance,
Sergey.
I use Visio 2003 ActiveX in order to create C++ application for automatic
drawing flowcharts/trees like organization chart. The application user may
change the chart layout style from top->bottom to left->right and
contrariwise. I need to keep relative positions of siblings while tree
layout. For example, a tree consists of root shape 'A' connected with
dynamic connectors to two child shapes 'B' and 'C'. Constant relative
position means that after multiple tree layouts:
1. 'B' is always on the left of 'C' for top->bottom layout and
2. 'B' is always lower than 'C' for left->right layout .
However, Visio change relative positions of siblings during layouts!
Is there a way to keep relative positions of siblings during tree layout?
Thank you in advance,
Sergey.