Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: Hyperflow doesn't have a mode to compose agents and subgraphs - graph mode #224

Open
sjmackenzie opened this issue May 29, 2018 · 0 comments
Assignees

Comments

@sjmackenzie
Copy link
Member

sjmackenzie commented May 29, 2018

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.

frc-graph

Mode behaviour

  • When opening a file, if the file contains only one provided 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 in node 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 and graph mode.
  • If you edit the graph in node mode then switch to graph mode and the code is out of date. Pressing will reload the graph from the src. Editing the graph in node mode doesn't exhibit live editing in graph 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.
@sjmackenzie sjmackenzie changed the title Problem: Hyperflow doesn't have a graph mode Problem: Hyperflow doesn't have a mode to compose agents and subgraphs - graph mode Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants