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

nodes ignore stacking order and overlap anything #23

Open
adonisra opened this issue Mar 16, 2024 · 1 comment
Open

nodes ignore stacking order and overlap anything #23

adonisra opened this issue Mar 16, 2024 · 1 comment

Comments

@adonisra
Copy link

Here is the source code to try: https://sourceb.in/zjLpqqytP4 and the output:
Screenshot_200.png

As you can see, the nodes cover up the sidebar (edges however do not) even though in the source code the sidebar is placed after the GraphCanvas.

@adonisra
Copy link
Author

adonisra commented Mar 16, 2024

I assume the problem is that currently nodes are being drawn within a window:
https://github.com/jsexauer/networkx_viewer/blob/master/networkx_viewer%2Fgraph_canvas.py#L205-L206 which is also why oval objects have a white background instead of a transparent one

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

1 participant