blob: 5653a8d3b245ad89fff29a4ad1c589b9f9550b31 [file] [log] [blame]
@namespace(uri="Graph", prefix="Graph")
package Graph;
class Graph {
val Node[*] nodes;
}
class Node {
attr String name;
val Edge[*]#source outgoing;
ref Edge[*]#target incoming;
}
class Edge {
ref Node#outgoing source;
ref Node#incoming target;
}