Skip to content

Instantly share code, notes, and snippets.

@zenware
Created December 3, 2015 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zenware/f2c43767041441672e4b to your computer and use it in GitHub Desktop.
Save zenware/f2c43767041441672e4b to your computer and use it in GitHub Desktop.
Graphed It
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
digraph BST {
subgraph before_delete {
style=filled;
color=lightgrey;
node [style=filled,color=white];
a0 -> a1;
a0 -> a2;
}
subgraph delete_attach_left {
node [style=filled];
b1 -> bnull;
b1 -> b2;
}
subgraph delete_attach_right {
node [style=filled];
c2 -> c1;
c2 -> cnull;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment