I am creating the diagram programmatically (which is working). Now, for
the connections, I would like to represent it with the Relationship class
instead of the default edge. How can I do this? I have seen the
createConnections method in the extended class of
CanonicalConnectionEditPolicy, but am not sure what change to make.