if (insertAtSpec != null) {
port.insertLink(insertAt, relation);
} else if (insertInsideAtSpec != null) {
port.insertInsideLink(insertInsideAt, relation);
} else {
port.link(relation);
}
// Propagate. Get the derived list for the relation,
// then use its container as the context in which to
// find the port. NOTE: The relation can be null