protected resolveFrom(from: RailNode | undefined) {
    if (this.from !== from) {
      this.unlinkFrom();
    }
    this.linkFrom(from);