Coupled Widgets & Visualization #2461
Unanswered
habemus-papadum
asked this question in
Pluto development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Currently a widget and a dependent visualization should be rendered in separate cells. Coupling a widget and a visualization into the same output cell leads to problems: e.g.
leads to a slider that that can only be clicked but not dragged.
Alternatively,
does not error, but does not work as the author likely intended.
While displaying widgets and visualizations in separate outputs are often sufficient, it would be nice to create highly interactive presentations in which widgets and visualizations are woven into a single graphical output. Some input widgets e.g. mouse handlers have to be displayed alongside the visualization.
This discussion is meant to explore and consider possible solutions to effectively coupling widgets and visualizations.
(lmk if this conversation is already happening somewhere else!)
Possible subtopics:
Context
A description of the current reactivity/dependency semantics (at sufficient details to provide explanations of the observered behavior of above snippets)
Current Solutions/Approaches
PlutoUI.ExperimentalLayout.Layoutor@initiallyAlternate Approaches
HypertextLiteralto recognize bindings; TODO: flesh out this proposal during the Pluto developers meetingGPUCompiler.jland various Autodiff packages, hook into the compiler rather using meta programming (not well though out, needs a discussion)Goals & Rationale
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions