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

Research and choose a graph layout tool #2

Closed
mfero opened this issue Feb 19, 2022 · 5 comments
Closed

Research and choose a graph layout tool #2

mfero opened this issue Feb 19, 2022 · 5 comments
Assignees
Labels
Type: UX Design Purely design issues and suggestions.

Comments

@mfero
Copy link
Contributor

mfero commented Feb 19, 2022

Daniel Bryce at SIFT.net has created a nice alpha for a directed graph style protocol editor for PAML (see screenshot). We should investigate tooling that fits better with our pretty-much pure JS development environment. @tgadam has suggested the following:

Let's check them out and pick one to move forward as a provisional choice by the next BioMADE meeting on Feb 25.

Dan's visualization of a 96-96 well plate stamp:
image

@mfero mfero changed the title Figma mockup for Node-RED style protocol editor Research and choose a graph layout tool Feb 19, 2022
@mfero mfero added the Type: UX Design Purely design issues and suggestions. label Feb 19, 2022
@eabeliuk
Copy link
Contributor

Had a meeting last week on this. Making progress.

@tgadam
Copy link
Contributor

tgadam commented Mar 8, 2022

@tgreen7 and @christopher-lamkin has been trying React Flow. The current focus is seeing if it could handle multiple input and output connector ports per node.

@mfero mfero mentioned this issue Mar 18, 2022
17 tasks
@mfero
Copy link
Contributor Author

mfero commented Mar 18, 2022

@tgreen7 has tested React Flow, it seems to be presenting basic graphs nicely!
image

@mfero
Copy link
Contributor Author

mfero commented Mar 18, 2022

@tgreen7 perhaps we list some of the boxes we think this tool will check off?

  • Can represent a basic acyclic directed graphs
  • Can accommodate multiple inputs and outputs (a la Node-RED graphs)
    requires a bit more work for custom nodes but is possible
  • Can be viewed vertically or horizontally
  • Can be zoomed and moved within a view
  • Has a snap-to grid function for box size and location
  • Has ability to move connector to different locations on the node (optional)
  • Has an auto-layout function
    with a separate package (dagre) this can be accomplished.
  • Compatible with generating exportable graphical representations (.pdf, .png, .svg)

@mfero
Copy link
Contributor Author

mfero commented Mar 18, 2022

I think we have provisionally chosen React Flow, So I'll close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: UX Design Purely design issues and suggestions.
Projects
None yet
Development

No branches or pull requests

7 participants