Skip to content

Sorted graphviz output#28

Open
Pavel-Sedlacek wants to merge 1 commit into
skoudmar:graphsfrom
Pavel-Sedlacek:deterministic-ids
Open

Sorted graphviz output#28
Pavel-Sedlacek wants to merge 1 commit into
skoudmar:graphsfrom
Pavel-Sedlacek:deterministic-ids

Conversation

@Pavel-Sedlacek
Copy link
Copy Markdown
Contributor

This PR changes the Graphviz output so that it stays consistent across multiple analyses of the same application by sorting nodes, edges, clusters and attributes

Two traces of the same application should produce identical DOT graphs, and should therefore be drawn in the same way.

  • Nodes are sorted: Type > RosNode > Topic/Duration/Name
  • Edges are sorted: SourceNodeId > TargetNodeId
  • Clusters are sorted by Ros Node name
  • Attributes are sorted by name

This commit changes the Graphviz output so that it stays consistent
across multiple analyses of the same application by sorting nodes, edges
and clusters

Two traces of the same application should produce identical DOT graphs,
and should therefore be drawn in the same way.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant