USEPA / the-manifest-game

Interactive decision tree to help e-Manifest users
https://usepa.github.io/the-manifest-game/
MIT License
1 stars 1 forks source link

Indicate Selected Form Elements and Label Path #40

Closed dpgraham4401 closed 6 months ago

dpgraham4401 commented 8 months ago

Description

We need to make the user's paths clearer through textual labels. We currently highlight the nodes and edges where a user has made a decision, however we don't label the edges, and we don't indicate which button the user selected.

Scope out what it would take to add labels to the node edges (arrows connecting the nodes in the DAG tree).

for Boolean nodes, the edges should simply have a 'yes' & 'no' label used. Right now, that's the only custom node type we have, however, any method used to accept an edge label should allow for an arbitraty string if we decide to create differenet node types in the future.

Examples Image

See the react flow documentation.

Requirements

dpgraham4401 commented 7 months ago

should be considered pre-req for the shareable URL

dpgraham4401 commented 6 months ago

closed with #111