element graph

element {http://graphml.graphdrawing.org/xmlns/1.0rc}graph

Type Heirarchy
{http://graphml.graphdrawing.org/xmlns/1.0rc}graph.type (by type)
 {http://graphml.graphdrawing.org/xmlns/1.0rc}graph
Abstractfalse (This can be used in an instance)
Block Substitutionsextension, restriction, substitution
Nillablefalse (Instance values cannot use xsi:nil)
Target Namespacehttp://graphml.graphdrawing.org/xmlns/1.0rc
Declared Namespacesxmlns:xlink=http://www.w3.org/1999/xlink
xmlns:xs=http://www.w3.org/2001/XMLSchema
xmlns:g=http://graphml.graphdrawing.org/xmlns/1.0rc
xmlns=http://graphml.graphdrawing.org/xmlns/1.0rc


Source

<xs:element name="graph" type="graph.type" block="#all">
    <
xs:annotation>
        <
xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
Description: Describes one graph in this document.
Occurence: <graphml>, <node>, <edge>, <hyperedge>.
        
</xs:documentation>
    </
xs:annotation>
    <
xs:unique name="graph_data_key_unique">
        <
xs:annotation>
            <
xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
Ensures: uniqueness of the key attributes of <data> children
of this <graph> element.
            
</xs:documentation>
        </
xs:annotation>
        <
xs:selector xpath="./g:data"/>
        <
xs:field xpath="@key"/>
    </
xs:unique>
    <
xs:key name="node_id_key">
        <
xs:annotation>
            <
xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
Ensures: existence and uniqueness of the id attributes of
each <node> element in this graph.
            
</xs:documentation>
        </
xs:annotation>
        <
xs:selector xpath=".//g:node"/>
        <
xs:field xpath="@id"/>
    </
xs:key>
    <
xs:unique name="edge_id_unique">
        <
xs:annotation>
            <
xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
Ensures: uniqueness of the id attributes of
each <edge> element in this graph.
            
</xs:documentation>
        </
xs:annotation>
        <
xs:selector xpath=".//g:edge"/>
        <
xs:field xpath="@id"/>
    </
xs:unique>
    <
xs:unique name="hyperedge_id_unique">
        <
xs:annotation>
            <
xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
Ensures: uniqueness of the id attributes of
each <hyperedge> element in this graph.
            
</xs:documentation>
        </
xs:annotation>
        <
xs:selector xpath=".//g:hyperedge"/>
        <
xs:field xpath="@id"/>
    </
xs:unique>
    <
xs:unique name="endpoint_id_unique">
        <
xs:annotation>
            <
xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
Ensures: uniqueness of the id attributes of
each <endpoint> element in this graph.
            
</xs:documentation>
        </
xs:annotation>
        <
xs:selector xpath=".//g:endpoint"/>
        <
xs:field xpath="@id"/>
    </
xs:unique>
    <
xs:keyref name="edge_source_ref" refer="node_id_key">
        <
xs:annotation>
            <
xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
Ensures: for the source attribute of each <edge> in this graph,
the existence of an id attribute of
<node> which matches the value of it.
            
</xs:documentation>
        </
xs:annotation>
        <
xs:selector xpath=".//g:edge"/>
        <
xs:field xpath="@source"/>
    </
xs:keyref>
    <
xs:keyref name="edge_target_ref" refer="node_id_key">
        <
xs:annotation>
            <
xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
Ensures: for the target attribute of each <edge> in this graph,
the existence of an id attribute of
<node> which matches the value of it.
            
</xs:documentation>
        </
xs:annotation>
        <
xs:selector xpath=".//g:edge"/>
        <
xs:field xpath="@target"/>
    </
xs:keyref>
    <
xs:keyref name="endpoint_node_ref" refer="node_id_key">
        <
xs:annotation>
            <
xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
Ensures: for the node attribute of each <endpoint> in this graph,
the existence of an id attribute of
<node> which matches the value of it.
            
</xs:documentation>
        </
xs:annotation>
        <
xs:selector xpath=".//g:endpoint"/>
        <
xs:field xpath="@node"/>
    </
xs:keyref>
</
xs:element>


Documentation

See also: http://graphml.graphdrawing.org/
Description: Describes one graph in this document.
Occurence: <graphml>, <node>, <edge>, <hyperedge>.


element graph


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.