Himanshu Mishra

Results 122 comments of Himanshu Mishra

> I was thinking that the user would simply pass a nx.Graph to lemon.shortest_path, and things would just work. Yes, that's the plan and we have to make that work....

Well.. To be honest it's just that I can't see how a networkx Graph class will work similar to a lemon Graph class and how the functions are going to...

I kinda feel that we need to have the LEMON Graph classes wrapped up even if the API would ask the user to input a NetworkX Graph. Consider [this](https://github.com/networkx/networkx-lemon/blob/master/src/lemon/bellman_ford.h#L332-L335) constructor...

We still have to do a ``` cython cdef extern from "lemon/concepts/digraph.h" namespace "lemon" ``` right? I can't think of any other way. Please explain if any.

I think there can't be a better way of instantiation than wrapping the class and `cimport`ing it in the required algorithmic wrapper module.

Okay great, we'll start with that!

@backstage/maintainers Please merge this! 🙏

Context from Internal Slack: https://harness.slack.com/archives/C066C0AH4DU/p1721065085930089?thread_ts=1721059219.517469&cid=C066C0AH4DU