Connection(this.from, this.to) { depth = max(from.depth, to.depth) + 1; identifier = "(${from.identifier},${to.identifier})"; }