Problem: Hyperflow doesn't have a mode to compose agents and subgraphs - graph mode
sjmackenzie opened this issue · comments
Stewart Mackenzie commented
Solution: Graph mode makes use of pasteboard% to compose agents and subgraphs into apps. This mode is typically for domain experts who don't know how to program but are able to concatenate agents and subgraphs together to form an application.
This is a long standing issue which'll be referenced by many other issues.
Mode behaviour
- When opening a file, if the file contains only one
provide
d graph attribute (or whatever method we use to determine a graph) then it'll open in graph mode. If a graph is not exported then the file will opened innode
mode. - If the file is only a graph but contains no GUI rendering then the entire canvas will be dedicated to the graph.
- The graph is live and changes the gui as you change the graph. You need to click the red lock button in run mode. When the red lock button is clicked then whatever you do in the graph will be rendered on the fly in the run mode. To test out your edits to the graph you'll need to switch between
run
mode andgraph
mode. - If you edit the graph in
node
mode then switch tograph
mode and the code is out of date. Pressing will reload the graph from the src. Editing the graph innode
mode doesn't exhibit live editing ingraph
mode. - We need a sane way to search, add and remove nodes to the graph.
@dapyh17d4 we'll need to design a better way of representing the graph, better than my rough graph
Version history
Version 1.0, May 30, 2018
- Removed bar on the left, we're adding dependencies directly to the source code and thus bar is not needed
- Removed bar at the top.
file
->open
or is good enough to open a new tab - Removed the live rendering of the application, because the graph needs a lot of space.