Skip to content

Instantly share code, notes, and snippets.

@brecert
Created August 27, 2018 08:53
Show Gist options
  • Save brecert/d83aa05518f86568e9c07bd43ff7898e to your computer and use it in GitHub Desktop.
Save brecert/d83aa05518f86568e9c07bd43ff7898e to your computer and use it in GitHub Desktop.
draw
chip
fill
border
icon
image?
inputs
input
outputs
output
events
chip
draggable
output[i]
onDragStart
user.states.connecting.output = { active: true, node: this }
input[i]
onDragEnd
user.states.connecting.output.node.connections.push = this
user.states.connecting.output = { active: false, node: undefined }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment