Proximity stores layout information when you save a query
in the Query Editor, letting the Query Editor re-display the query as
currently laid out the next time it’s opened. Layout information, in
the form of x and y
coordinates, is stored in the
editor-data element in the query
XML file.
The editor-data element
contains one vertex-location
element for each vertex in the query. Each
vertex-location element includes
three required attributes, representing the
name and coordinates of the vertex.
Proximity currently only saves the location of vertices in the Query Editor; edge location is determined by vertex location and is thus not saved.
<editor-data>Attributes None.
Children
vertex-location |
one or more | Vertex location in the query editor |
Content Model
(vertex-location+)
Example
See vertex-location.
<vertex-location>Attributes
name |
required | Vertex name as used in the query; vertex names are case sensitive |
x |
required | The x coordinate describing the vertex’s location in the Query Editor |
y |
required | The y coordinate describing the vertex’s location in the Query Editor |
Children None.
Content Model
EMPTY
<editor-data> <vertex-location name="vertex1" x="514" y="99" /> <vertex-location name="vertex2" x="314" y="232" /> </editor-data>