Skip to content

Conversation

ldm0
Copy link
Contributor

@ldm0 ldm0 commented Sep 17, 2024

Address #1157 (comment)

This branch is based on #1157.

@ldm0 ldm0 force-pushed the boxed_break_nested branch from eecd233 to 13f0b78 Compare September 20, 2024 10:36
Copy link
Contributor

@caspermeijn caspermeijn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is an interesting problem to fix.

  • Is nested the correct term to use? I would use recursive, but I am not proficient in graph theory.
  • I would like user documentation about how this works.
  • This is a breaking change, so it has to wait for the next breaking release.

}

/// Check two nodes is connected with edge filter
fn is_connected_with_edge_filter<F, N, E>(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very nifty, but it is not the core strength of prost. I understand what the function is supposed to do, but I don't understand how it works. This should either be documented better or move to petgraph library.


package nesting_complex;

// ----- Directly nested
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to have more documentation explaining how this structure is nested.

@caspermeijn
Copy link
Contributor

@ldm0 I am preparing a breaking release. Are you still interested in this? If so, please update the code.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants