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

Support dark mode, add graph link #139

Merged
merged 3 commits into from
Feb 28, 2024
Merged

Conversation

danvk
Copy link
Contributor

@danvk danvk commented Feb 27, 2024

Fixes #138

I also added in a few tweaks that got dropped from #134. Feel free to remove the external link if you like — one nice thing about it is that it lets you pan and zoom around the control flow graph, which can be helpful if it gets large and is cut off in the ts-ast-viewer panel.

image

Copy link
Owner

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @danvk!

I temporarily removed the link to GraphvizOnline because it wasn't working in dark mode. I just realized right now as I'm typing it that it was probably loading the graph as white on a white background on the other website (maybe the graph link should be done in light mode when in dark mode?). Going to merge this fix without it for the time being, but it would be good to get your other changes in a separate PR if you're up for it.

@dsherret dsherret merged commit 8131fac into dsherret:main Feb 28, 2024
1 check passed
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.

FlowNode doesn't display well in dark mode
2 participants