M1: hypergraph example II (GXL-Representation)
M0:
GXL
Graph
available instances:
hypergraph example II
M1:
GXL
Graph
UML
M2:
GXL
Graph
UML
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE gxl SYSTEM "http://www.gupro.de/GXL/gxl-1.0.dtd">
<!--
hypergraph II schema 05.02.2002
-->
<
gxl
xmlns:xlink
="
http://www.w3.org/1999/xlink
"
>
<
graph
id
="
hypergraph2-schema
"
edgeids
="
true
"
edgemode
="
defaultdirected
"
hypergraph
="
false
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#gxl-1.0
"
xlink:type
="
simple
"
/>
<
node
id
="
hypergraph2Schema
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#GraphClass
"
xlink:type
="
simple
"
/>
<
attr
name
="
name
"
>
<
string
>
hypergraph2Schema
</
string
>
</
attr
>
</
node
>
<
edge
id
="
c1
"
to
="
Function
"
from
="
hypergraph2Schema
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#contains
"
xlink:type
="
simple
"
/>
</
edge
>
<
node
id
="
Function
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#NodeClass
"
xlink:type
="
simple
"
/>
<
attr
name
="
name
"
>
<
string
>
Function
</
string
>
</
attr
>
<
attr
name
="
isabstract
"
>
<
bool
>
false
</
bool
>
</
attr
>
</
node
>
<
node
id
="
name
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#AttributeClass
"
xlink:type
="
simple
"
/>
<
attr
name
="
name
"
>
<
string
>
name
</
string
>
</
attr
>
</
node
>
<
node
id
="
domain_string
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#String
"
xlink:type
="
simple
"
/>
</
node
>
<
edge
id
="
e3
"
to
="
name
"
from
="
Function
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#hasAttribute
"
xlink:type
="
simple
"
/>
</
edge
>
<
edge
id
="
e1
"
to
="
domain_string
"
from
="
name
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#hasDomain
"
xlink:type
="
simple
"
/>
</
edge
>
<
edge
id
="
c2
"
to
="
Variable
"
from
="
hypergraph2Schema
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#contains
"
xlink:type
="
simple
"
/>
</
edge
>
<
node
id
="
Variable
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#NodeClass
"
xlink:type
="
simple
"
/>
<
attr
name
="
name
"
>
<
string
>
Variable
</
string
>
</
attr
>
<
attr
name
="
isabstract
"
>
<
bool
>
false
</
bool
>
</
attr
>
</
node
>
<
edge
id
="
e5
"
to
="
name
"
from
="
Variable
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#hasAttribute
"
xlink:type
="
simple
"
/>
</
edge
>
<
edge
id
="
c3
"
to
="
FunctionCall
"
from
="
hypergraph2Schema
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#contains
"
xlink:type
="
simple
"
/>
</
edge
>
<
node
id
="
FunctionCall
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#RelationClass
"
xlink:type
="
simple
"
/>
<
attr
name
="
name
"
>
<
string
>
FunctionCall
</
string
>
</
attr
>
<
attr
name
="
isabstract
"
>
<
bool
>
false
</
bool
>
</
attr
>
</
node
>
<
node
id
="
line
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#AttributeClass
"
xlink:type
="
simple
"
/>
<
attr
name
="
name
"
>
<
string
>
line
</
string
>
</
attr
>
</
node
>
<
node
id
="
domain_int
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#Int
"
xlink:type
="
simple
"
/>
</
node
>
<
edge
id
="
e4
"
to
="
line
"
from
="
FunctionCall
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#hasAttribute
"
xlink:type
="
simple
"
/>
</
edge
>
<
edge
id
="
e2
"
to
="
domain_int
"
from
="
line
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#hasDomain
"
xlink:type
="
simple
"
/>
</
edge
>
<
node
id
="
caller
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#RelationEndClass
"
xlink:type
="
simple
"
/>
<
attr
name
="
role
"
>
<
string
>
caller
</
string
>
</
attr
>
<
attr
name
="
directedto
"
>
<
enum
>
undirected
</
enum
>
</
attr
>
</
node
>
<
edge
id
="
e7
"
to
="
caller
"
from
="
FunctionCall
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#hasRelationEnd
"
xlink:type
="
simple
"
/>
</
edge
>
<
edge
id
="
rt1
"
to
="
Function
"
from
="
caller
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#relatesTo
"
xlink:type
="
simple
"
/>
<
attr
name
="
limits
"
>
<
tup
>
<
int
>
1
</
int
>
<
int
>
1
</
int
>
</
tup
>
</
attr
>
<
attr
name
="
isordered
"
>
<
bool
>
false
</
bool
>
</
attr
>
</
edge
>
<
node
id
="
callee
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#RelationEndClass
"
xlink:type
="
simple
"
/>
<
attr
name
="
role
"
>
<
string
>
callee
</
string
>
</
attr
>
<
attr
name
="
directedto
"
>
<
enum
>
undirected
</
enum
>
</
attr
>
</
node
>
<
edge
id
="
e6
"
to
="
callee
"
from
="
FunctionCall
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#hasRelationEnd
"
xlink:type
="
simple
"
/>
</
edge
>
<
edge
id
="
rt2
"
to
="
Function
"
from
="
callee
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#relatesTo
"
xlink:type
="
simple
"
/>
<
attr
name
="
limits
"
>
<
tup
>
<
int
>
1
</
int
>
<
int
>
1
</
int
>
</
tup
>
</
attr
>
<
attr
name
="
isordered
"
>
<
bool
>
false
</
bool
>
</
attr
>
</
edge
>
<
node
id
="
input
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#RelationEndClass
"
xlink:type
="
simple
"
/>
<
attr
name
="
role
"
>
<
string
>
input
</
string
>
</
attr
>
<
attr
name
="
directedto
"
>
<
enum
>
undirected
</
enum
>
</
attr
>
</
node
>
<
edge
id
="
e8
"
to
="
input
"
from
="
FunctionCall
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#hasRelationEnd
"
xlink:type
="
simple
"
/>
</
edge
>
<
edge
id
="
rt3
"
to
="
Variable
"
from
="
input
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#relatesTo
"
xlink:type
="
simple
"
/>
<
attr
name
="
limits
"
>
<
tup
>
<
int
>
1
</
int
>
<
int
>
-1
</
int
>
</
tup
>
</
attr
>
<
attr
name
="
isordered
"
>
<
bool
>
true
</
bool
>
</
attr
>
</
edge
>
<
node
id
="
output
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#RelationEndClass
"
xlink:type
="
simple
"
/>
<
attr
name
="
role
"
>
<
string
>
output
</
string
>
</
attr
>
<
attr
name
="
directedto
"
>
<
enum
>
undirected
</
enum
>
</
attr
>
</
node
>
<
edge
id
="
e9
"
to
="
output
"
from
="
FunctionCall
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#hasRelationEnd
"
xlink:type
="
simple
"
/>
</
edge
>
<
edge
id
="
rt4
"
to
="
Variable
"
from
="
output
"
>
<
type
xlink:href
="
http://www.gupro.de/GXL/gxl-1.0.gxl#relatesTo
"
xlink:type
="
simple
"
/>
<
attr
name
="
limits
"
>
<
tup
>
<
int
>
1
</
int
>
<
int
>
1
</
int
>
</
tup
>
</
attr
>
<
attr
name
="
isordered
"
>
<
bool
>
false
</
bool
>
</
attr
>
</
edge
>
</
graph
>
</
gxl
>