# Sample XML 2

```
$xmldoc = @"
<directedgraph> 
  <page>
  <renderoptions
      usedynamicconnectors="true"
      scalingfactor="20" />
  <shapes>
    <shape id="n1" label="8761|Gus" stencil="basflo_u.vss" master="Process" />
    <shape id="n2" label="0|ProABCS" stencil="basflo_u.vss" master="Process" />
    <shape id="n3" label="ABCS" stencil="basflo_u.vss" master="Stored data" />
    <shape id="n4" label="Global Underwriting" stencil="basflo_u.vss" master="Stored data" />
  </shapes>

  <connectors>
    <connector id="c1"  from="n1" to="n2" label="" />
    <connector id="c2" from="n2" to="n3" label="" />
    <connector id="c3" from="n4" to="n2" label="" />
  </connectors>

  </page>

  <page>

    <renderoptions
      usedynamicconnectors="true"
      scalingfactor="20"
    />
    <shapes>
      <shape id="n1" label="A" stencil="basflo_u.vss" master="Process" />
      <shape id="n2" label="B" stencil="basflo_u.vss" master="Process" />
      <shape id="n3" label="C" stencil="basflo_u.vss" master="Stored data" />
      <shape id="n4" label="D" stencil="basflo_u.vss" master="Stored data" />
    </shapes>

    <connectors>
      <connector id="c1"  from="n1" to="n2" label="" />
      <connector id="c2" from="n2" to="n3" label="" />
      <connector id="c3" from="n4" to="n2" label="" />
    </connectors>

  </page>
</directedgraph>
"@

$filename = "d:\model.xml"
$xmldoc | out-file $filename
$model = Import-VisioModel -Filename $filename
$model | Out-Visio
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://saveenr.gitbook.io/visiopowershell/visiops_v3/automatic-diagrams-1/directed-graphs-from-xml/sample-directed-graph-xml-2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
