meemoo / dataflow

Archive. Current work happening at https://github.com/the-grid/the-graph
GNU General Public License v2.0
169 stars 35 forks source link

universal dataflow graph editor? #1

Open forresto opened 12 years ago

forresto commented 12 years ago

I have been working on the Meemoo graph editor for a year or so, and I'm pretty happy with it. I have been thinking that it would benefit my project if I abstracted out all of the graph editing code from the Meemoo-specific code. Then I was thinking that all of the dataflow js projects could potentially benefit from working on a common editor.

Things that I would keep:

  1. JSON graph format
  2. Save to localStorage / gist
  3. Selectable, draggable, droppable, resizable
  4. Cut, copy, paste, with x,c,v keyboard shortcuts
  5. Module library

Things to add:

  1. Polishing touchscreen UX (lots of potential and room for improvement here)
  2. Cleaning CSS, making it possible to look like Pure Data, Meemoo, or beyond using mostly CSS (+ some JS for SVG edge drawing)
  3. Abstracting all data flow stuff from the views
  4. Testing (:flushed:)
  5. Abstract out save local/gist as optional plugins, to make it easy to extend to other services, implement auth, etc.

Questions:

  1. Macros / subgraphs. How to represent this in the graph JSON?
  2. Stick with Backbone.js?
  3. Stick with jQueryUI?
  4. Best interface to define how the different versions of source.connect(destination) is called from the GUI.
    • Named inputs/outputs

What do you think? Would this benefit your JS dataflow projects? Would you contribute to a common kickass graph editor?

@forresto - https://github.com/meemoo/iframework @sebpiq - https://github.com/sebpiq/WebPd @oampo - https://github.com/oampo/Audiolet @brianchirls - https://github.com/brianchirls/Seriously.js @dashersw - https://github.com/dashersw/pedalboard.js @cwilso - https://github.com/cwilso/WebAudio @bergie - https://github.com/bergie/noflo @idflood - https://github.com/idflood/ThreeNodes.js @daeken - https://github.com/daeken/Qtzweb

(Feel free to tag other related projects to this conversation.)

bergie commented 11 years ago

@subtleGradient it will take us some time to get there, but seeing QC properly in action (instead of fiddling with it myself) was certainly enlightening!

I just created tracking bug bergie/noflo#66 for collecting the requirements and changes related to QC-like web prototyping in NoFlo.