Skip to content

Allow transposed edge data when building networkx.graph

What does this MR do?

This MR adds a try-except block around the step where the edge data is passed to NetworkX. If graph creation fails, it attempts to do the same with transposed data.

Can this MR be accepted?

  • Implemented the changes
  • Tests added or adjusted
  • Pipeline passes
  • Changelog entry added
  • Version bumped to 0.5.2

Anything to double-check?

Nope.

Related issues

utopia/utopia#216 and associated MR, utopia/utopia!182

Edited by Utopia Developers

Merge request reports