Last active
August 21, 2020 05:53
-
-
Save mgritter/7775e1a2adeef499a66dde9a88692142 to your computer and use it in GitHub Desktop.
Soffit grammar: binary tree with colored nodes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version" : "0.1", | |
| "N[leaf]" : | |
| "N[internal]; L1[leaf]; L2[leaf]; N->L1; N->L2", | |
| "N[leaf]; N1[leaf]; N2[leaf];" : | |
| "N[style=filled; fillcolor=green; label=\"\"; shape=circle]; N1[leaf]; N2[leaf];", | |
| "X[internal]": | |
| "X[style=filled; fillcolor=brown; label=\"\"; shape=circle];", | |
| "start" : "LEAF[leaf]" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment