Dynamic connectors in Visio.vdx files

I am currently trying to understand .vdx files because in the future I want to create my own. I have problems with dynamic connectors. Defining them as follows:

<Shape ID="46" Type="Shape" Master="10">
<Geom IX="0">
<MoveTo IX='1'></MoveTo><LineTo IX='23'></LineTo></Geom>
</Shape>
....
<Connect FromSheet="45" FromCell="BeginX" FromPart="9" ToSheet="1" ToCell="PinX" ToPart="3" /> 
<Connect FromSheet="45" FromCell="EndX" FromPart="12" ToSheet="23" ToCell="PinX" ToPart="3" /> 

they are not displayed. After moving the node, the connectors are displayed. What am I missing?

When using the minimum settings from a .vdx file created by Visio, there are many coordinates that I want to avoid:

<Shape ID="47" Type="Shape" Master="10">
<XForm>
  <PinX F="Inh">1.669258233656828</PinX> 
  <PinY F="Inh">7.519214852067909</PinY> 
  </XForm>
<XForm1D>
  <BeginX F="_WALKGLUE(BegTrigger,EndTrigger,WalkPreference)">1.737275462308963</BeginX> 
  <BeginY F="_WALKGLUE(BegTrigger,EndTrigger,WalkPreference)">7.671541057367827</BeginY> 
  <EndX F="_WALKGLUE(EndTrigger,BegTrigger,WalkPreference)">1.601241005004693</EndX> 
  <EndY F="_WALKGLUE(EndTrigger,BegTrigger,WalkPreference)">7.366888646767992</EndY> 
</XForm1D>
<Geom IX="0">
<LineTo IX="2"><X>-0.1664424255025283</X><Y>-0.3046524105998358</Y></LineTo>
</Geom>
</Shape>

What is the best and easiest way to work with dynamic connectors in .vdx files?

EDIT: In Visio 2010, this is much better and connectors are displayed most of the time. So it really looks like a Visio error ...

+3
source share
2 answers

Visio 2010 , , Visio.

0

:

XML , Visio , Connect , GlueTo Automation. , ​​, , , .

0

Source: https://habr.com/ru/post/1763459/


All Articles