cytoscape / cytoscape-explore

Network visualization webapp.
MIT License
13 stars 4 forks source link

Implement bypass UI #52

Closed maxkfranz closed 2 years ago

maxkfranz commented 3 years ago

When in bypass mode (#51), the style tool bar sets bypasses rather than global styles. This may require additional bypass-related function props in the style components.

Depends on: Global mode, bypass mode for style #51

maxkfranz commented 3 years ago

Bypasses don't give feedback for the current state in the popovers:

Screen Shot 2021-01-08 at 10 00 18

This may be difficult to support in an intuitive way. There could be multiple values, e.g. three selected nodes each have a different colour. You could get away with showing multiple colours selected, but it may not work for other properties like node size: You can't show multiple values on a slider.

I don't think this issue should be addressed now, but I just wanted to raise it in case we think of a simple way to address it.

maxkfranz commented 3 years ago

Discussion re. simplification of bypass mental model:

We could simplify the global/bypass system for users by just using selection. We don't necessarily need to expose users to the underlying global/bypass model.

Let's assume that the style UI looks the same, whether you have a selection or not. You can always choose a single value or a mapping.

This should be compatible with portable styles.

maxkfranz commented 3 years ago

History of Cytoscape desktop:

Brainstorming:

Hypotheses