Skip to content

Layout of nodes slightly different compared to graphviz #42

@FloWi

Description

@FloWi

Hi!

First of all I'd like to leave a big thank you for providing and maintaining such a nice library! Much appreciated!

I've played around with it to visualize a supply chain for the api-game spacetraders. I've noticed that the ordering of the nodes could be improved and wrote up a summary in my repo where I compared the output of graphviz and layout-rs.

Would you mind taking a look? The readme has both images.

https://github.com/FloWi/hierarchical_graph_layout/blob/b9bfb07a93b78fccb8ca76e28526f9d2d2438fac/README.md

I also experimented with the crate and tried to extract some infos after the layout has been arranged, but I didn't get far.

I don't really know why it behaves that way and how it could be improved as I don't understand the layout algorithm. Maybe you can use this as an example.

So, not really an issue, but rather an example for optimization.

Happy to give it a try if someone with more knowledge of the topic could point me in the right direction (if you think this is a good first issue for people with not much prior knowledge)

Cheers, Florian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions