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

Hierarchical Config questions #45

Open
zednis opened this issue Jul 7, 2023 · 2 comments
Open

Hierarchical Config questions #45

zednis opened this issue Jul 7, 2023 · 2 comments

Comments

@zednis
Copy link

zednis commented Jul 7, 2023

I am interested in being able to format a hierarchical graph in ways similar to what is available at https://marvelous-graph.streamlit.app/. Does anyone know if there is documentation or sample code available to show to how use the hierarchical config options shown in the demo such as blockShifting, edgeMinimization, parentCentralization, sortMethod, shakeTowards, etc successfully? I've tried to include them as keys in the Config (kwargs) but they didn't seem to do anything.

@aza1200
Copy link

aza1200 commented Jul 19, 2023

I think it's relevent to the physics setting in config... but it doesn't work too,

But if i just follow the https://marvelous-graph.streamlit.app/ like that
by using the

from streamlit_agraph import data
and data.load_data()

It works...

I don't know how to use hierarchical structure like that ..

@amaralcs
Copy link

If anyone comes across this issue in the future, I figured out that having both physics = True and hierarchical = True in the definition of Config causes the hierarchical option to be ignored. Try setting physics = False.

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

3 participants