Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkX adapter for a mapper K-complex #204

Open
he-chen-95 opened this issue Dec 2, 2020 · 1 comment
Open

NetworkX adapter for a mapper K-complex #204

he-chen-95 opened this issue Dec 2, 2020 · 1 comment

Comments

@he-chen-95
Copy link

Dear developers,

I'm now working with the mapper algorithm. I read the documentation and find that "kmapper.adapter" only works for a mapper 1-complex. I wonder if it possible for you to update the "kmapper.adapter" for a mapper k-complex? (i.e., k=1, 2, 3, .., K).

Thanks a lot,
Sincerely

@sauln
Copy link
Member

sauln commented Dec 2, 2020

Unfortunately, networkx only supports graphs. I'm not familiar with any way of converting a >1-complex to a graph except to just take the 1 skeleton.

Possibly we could put together an adapter for HyperNetX (a library intended to model hypergraphs with a similar API to networkx). If you'd like to explore this option and submit a PR, we would gladly work with you to get it complete.

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

No branches or pull requests

2 participants