TreeSDMLink
represents
the links of the graph. Its definition is as shown in the following
code example.public class TreeSDMLink implements IlvSDMLink { ...
private TreeSDMNode parent, child; public TreeSDMLink(TreeSDMNode parent, TreeSDMNode child) { this.parent = parent; this.child = child; } public IlvSDMNode getFrom() { return parent; } public IlvSDMNode getTo() { return child; }
treelink
.
and this value can be retrieved using the getTag
method,
see the following code example.public String getTag() { return "treelink"; }