Live data from Hacker News

Show HN: Python library for embedding large graphs (Written in Rust)

github.com

1–10 of 26 posts

Re: Show HN: Python library for embedding large graphs (Written in Rust)

#3
Is it compatible with graphviz? https://graphviz.readthedocs.io/en/stable/

The graphviz python library works great I've found with the sole exception of not having straightforward ways to edit the graph after creation. It's really more intended for packaging it up to pass to the command line application.

Will you have file import/export for .dot and similar?

Re: Show HN: Python library for embedding large graphs (Written in Rust)

#4

Is it compatible with graphviz? https://graphviz.readthedocs.io/en/stable/ The graphviz python library works great I've found with the sole exception of not having straightforward ways to edit the graph after creation. It's really more intended for packaging it up to pass to the command line application. Will you have file import/export for .dot and similar?

Have not used it with graphviz yet. There is an example how to use it in combination with networkx, which probably can be adjusted quiet easily.

I'm planning to better integrate it with other graph libraries, but at the moment you have manually translate between graph-force and you library of choice.

Re: Show HN: Python library for embedding large graphs (Written in Rust)

#5

A lib generating 2D artifacts might benefit from showcasing these artifacts using image technology for the curious minds.

Thanks for the feedback. The library only calculates the positions and has no graphical output.

As an example: I created this to build this embedding of Mastodon instances. https://h4kor.github.io/fediverse-explorer/

Re: Show HN: Python library for embedding large graphs (Written in Rust)

#7
post #5

A lib generating 2D artifacts might benefit from showcasing these artifacts using image technology for the curious minds.

Thanks for the feedback. The library only calculates the positions and has no graphical output. As an example: I created this to build this embedding of Mastodon instances. https://h4kor.github.io/fediverse-explorer/

I'm looking at the Fediverse explorer and I'm curious how to interpret the embeddings (or the distances between points). What does it mean when two instances are near each other (e.g., sigmoid.social and mastodon-belgium.be)? Is it related to the number of follows?

Re: Show HN: Python library for embedding large graphs (Written in Rust)

#10
post #5

Earlier quoted context omitted.

Thanks for the feedback. The library only calculates the positions and has no graphical output. As an example: I created this to build this embedding of Mastodon instances. https://h4kor.github.io/fediverse-explorer/

I'm looking at the Fediverse explorer and I'm curious how to interpret the embeddings (or the distances between points). What does it mean when two instances are near each other (e.g., sigmoid.social and mastodon-belgium.be)? Is it related to the number of follows?

Currently I only use the peering information of instances. Instances are places close to each other when they are peering.

As a next step I want to refine this as peering itself does not say anything about how much users of these instances interact. For this I will have to sample the users of instances and who they follow.

Post reply on HN