Skip to content

Conversation

@oscargus
Copy link
Contributor

@oscargus oscargus commented Nov 12, 2025

The (very) easy part of #287. I have tried to do something similar to edges, but to no avail so I just add this method.

The reason is that one can then color a node programmatically and then restore it without knowing the default color.

The naming can be discussed, but I thought unset was at least better than reset.

Edit: the second commit adds a color member to EdgeProps and the corresponding methods to Edge. However, I have not been able to figure out how to fetch this information in the correct location. But FWIW.

@oscargus oscargus changed the title Add unset_color to Node Add unset_color to Node (and start for Edge) Nov 12, 2025
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

Successfully merging this pull request may close these issues.

1 participant