Skip to content

Instantly share code, notes, and snippets.

@pier-oliviert
Last active February 21, 2018 18:29
Show Gist options
  • Select an option

  • Save pier-oliviert/54b40a4aaa20445a41a28191f65a0516 to your computer and use it in GitHub Desktop.

Select an option

Save pier-oliviert/54b40a4aaa20445a41a28191f65a0516 to your computer and use it in GitHub Desktop.
let index = -1
do {
index += 1
const nodes = walker.currentNodes
for (const node of nodes) {
row.addNode(node)
}
walker.nextStep()
} while (!walker.isDone)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment