Containers

Containers are groups of subgraphs sharing some common characteristic. Containers are usually created as a result of running a query on a Proximity database.

Containers in the database are represented by CONTAINER elements, all of which must be included in a single CONTAINERS element. The CONTAINER element includes a list of subgraph items, subgraph attributes, and any nested containers within the parent container.

<CONTAINERS>

Attributes  None.

Children 

CONTAINER zero or more The data file includes one CONTAINER element for each container in the data. Nested containers are represented by nested CONTAINER elements in the data file.

Content Model 

(CONTAINER*)

Example  See CONTAINER.

<CONTAINER>

Attributes 

NAME required The name of the container
ID required The ID of the container. ID values must be unique non-negative integers.

Children 

SUBG-ITEMS zero or one A list of database objects and links within this container and the subgraphs to which they belong. Individual database entities can appear multiple times in this list if they appear in multiple subgraphs or if they appear in multiple locations within a single subgraph.
SUBG-ATTRIBUTES zero or one A list of attributes for subgraphs in this container
CONTAINER zero or more A nested container within this container

Content Model 

(SUBG-ITEMS?, SUBG-ATTRIBUTES?, CONTAINER*)

Example 

<CONTAINERS>
   <CONTAINER>
      <SUBG-ITEMS>...</SUBG-ITEMS>
      <SUBG-ATTRIBUTES>...</SUBG-ATTRIBUTES>
      <CONTAINER>...</CONTAINER>
   </CONTAINER>
</CONTAINERS>