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

Python kernel dies when adding to subgraph after layout() has been called #492

Open
astrofitz opened this issue Jan 3, 2024 · 0 comments

Comments

@astrofitz
Copy link

I have found an issue with pygraphviz that occurs when adding a node to a subgraph after the layout() method has been called on the main graph. The kernel dies when attempting to add the node.

This snippet is able to produce the error:
import pygraphviz as pgv
G = pgv.AGraph()
SG = G.add_subgraph()
G.layout()
SG.add_node('A') # causes python kernel to die

Occurs with pgv version 1.9 on Python 3.10.

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

No branches or pull requests

1 participant