Buenas,
files DGML, which talked about enough in previous posts have incorporated a couple of interesting new features in Visual Studio 11.
One that have called me attention to is that we can now edit the position of the nodes of the graph and that information is stored within it.
If for example, create a DGML file with the following information:
1: <DirectedGraph xmlns="http://schemas.microsoft.com/vs/2009/dgml">
2: <Links>
3: <Link Source="Bruno" Target="Valentino" />
4: <Link Source="Bruno" Target="Martina" />
5: <Link Source="Pao" Target="Valentino" />
6: <Link Source="Pao" Target="Martina" />
7: </Links>
8: </DirectedGraph>
We can see the following in the graphic viewer
Now we can move the contents of the chart at our discretion. For example in this case I have also incorporated the "intelligent connectors" for automatic chart.
If we see the information that has been generated in the contents of the DGML we see that we now have much more to work.
1: <?xml version='1.0' encoding='utf-8'?>
2: <DirectedGraph xmlns="http://schemas.microsoft.com/vs/2009/dgml">
3: <Nodes>
4: <Node Id="Bruno" Bounds="99.7241031138102,-9.33186195373535,51.6633333333333,25.96" Label="Bruno" UseManualLocation="True" />
5: <Node Id="Martina" Bounds="11.4679100863139,103.543610028076,60.9266666666667,25.96" Label="Martina" UseManualLocation="True" />
6: <Node Id="Pao" Bounds="3.25611114501953,-8.40670049756368,50,25.96" Label="Pao" UseManualLocation="True" />
7: <Node Id="Valentino" Bounds="8.41111859003703,47.5835100280762,70.3266666666667,25.96" Label="Valentino" UseManualLocation="True" />
8: </Nodes>
9: <Links>
10: <Link Source="Bruno" Target="Martina" Bounds="68.7575836181641,16.628137588501,48.8051223754883,79.2549724578857" />
11: <Link Source="Bruno" Target="Valentino" Bounds="69.6639488796923,16.6281380462646,37.1953348604241,25.8227892240103" />
12: <Link Source="Pao" Target="Martina" Bounds="-3.06789708137512,17.5532989501953,23.9082214832306,79.9630508422852" />
13: <Link Source="Pao" Target="Valentino" Bounds="31.8073044893709,17.553299407959,5.84093040266691,21.3492393330849" />
14: </Links>
15: <Properties>
16: <Property Id="Bounds" DataType="System.Windows.Rect" />
17: <Property Id="Label" Label="Label" Description="Displayable label of an Annotatable object" DataType="System.String" />
18: <Property Id="UseManualLocation" DataType="System.Boolean" />
19: </Properties>
20: </DirectedGraph>
That said, nice feature for VS11.
Saludos @ Home
El Bruno
Leave a reply to breaking news Cancel reply