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

How to convert gephi Graph to adjacency matrix? #228

Open
yossisp opened this issue Jul 9, 2021 · 0 comments
Open

How to convert gephi Graph to adjacency matrix? #228

yossisp opened this issue Jul 9, 2021 · 0 comments

Comments

@yossisp
Copy link

yossisp commented Jul 9, 2021

I'm new to Gephi and I want to create new plugin which calculates Katz Centrrality using an adjacency matrix. I don't see that there's any API within Graph API which allows to convert graph to a matrix. Is there another class which does this? I couldn't find any such class in the Gephi repo.

I was wondering how to go about this if there's no Gephi helper to convert graph to matrix. Should I implement the logic which converts graph to matrix myself? Is there a 3rd party package that you know of which does this?

Maybe I'm missing something because I'd think the use case of adjacency matrix would be quite common with graphs.

In case I need to implement such functionality I thought to implement logic to convert graph to adjacency matrix and then use another 3rd party package (e.g. Apache Commons Math) in order to do matrix multiplication/transposition/inverse. Using 3rd party packages is allowed right? What license should those packages have?

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

No branches or pull requests

2 participants