Skip to content

Instantly share code, notes, and snippets.

@cbeust
Created February 7, 2017 20:15
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 cbeust/9ebbafb9014929681ea85b270002a7b6 to your computer and use it in GitHub Desktop.
Save cbeust/9ebbafb9014929681ea85b270002a7b6 to your computer and use it in GitHub Desktop.
val node = Node(“Root”, listOf(
Node(“A”, listOf(
Node(“A1”),
Node(“A2”),
Node(“A3”))
),
Node(“B”, listOf(
Node(“B1”),
Node(“B2”, listOf(
Node(“B21”),
Node(“B22”))
)))))
displayGraph(listOf(node))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment