Skip to content

canonical segments for graph edges #588

Closed

Description

@yakra

If a devel system has concurrent segments with an active/preview system and is listed before the a/p system in systems.csv, graph generation breaks.

  • Graph edges are never created for segments with devel systems at the front of their concurrency lists.
  • Some hidden points thus go from 2 incident edges to 0, and are thus included in collapsed & traveled graphs, with no edges connecting them.

This has never happened in real life AFAIK, but still.
Basing the canonical HGEdge segment not on the front of the concurrency list but instead on the first active/preview segment will prevent this from happening.
A quick little function in the HighwaySegment class and minor modification to initial HGEdge creation could be our insurance policy, hopefully not too expensive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions