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

feat: funman parameter graph interactions #5163

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open

Conversation

shawnyama
Copy link
Contributor

@shawnyama shawnyama commented Oct 16, 2024

Description

  • Clicking on a parameter tick has you view its bounds and status. Corresponding ticks in other parameter charts activate as well
  • I set up the logic for highlighting a specific line in the state graph that would use a boxId. However getting the boxId I want from the parameter graph is what I am missing. So that needs to be handled later. I am stuck on emitting the boxId out of the parameter graph, I posted a stackoverflow question to a vega-lite slack channel (since that's how they wanted it): https://stackoverflow.com/questions/79094839/trying-to-get-scoped-param-value-out-of-vega-lite-spec
  • Using the chart-click emit to pass the parameter chart's boxId to highlight the state chart's corresponding line.
Screen.Recording.2024-10-17.at.1.58.46.PM.mov

@shawnyama shawnyama changed the base branch from main to funman-graph-improvements October 16, 2024 16:41
Base automatically changed from funman-graph-improvements to main October 16, 2024 17:02
@shawnyama shawnyama linked an issue Oct 16, 2024 that may be closed by this pull request
7 tasks
@shawnyama shawnyama marked this pull request as ready for review October 17, 2024 14:49
@shawnyama shawnyama changed the title feat: funman graph interactions feat: funman parameter graph interactions Oct 17, 2024
<vega-chart
:visualization-spec="parameterCharts"
:are-embed-actions-visible="false"
@chart-click="onParameterChartClick"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain a bit how the visual encodings work with respect to click on the parameters' rug plot? I played around with it and it is confusing what had been selected.

Copy link
Member

@mwdchang mwdchang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not directly related to this PR, but since you are working in the area: There is something strange with how you are collecting the trajectories for funman results. Notice below you have several markers on the same x-axis (eg at 80 and 90) - this means it is no longer a function of time and is therefore incorrect.

image

See: https://app.staging.terarium.ai/projects/33f364c1-1da2-4cf7-a176-9870ef1a3ab6/workflow/25bde950-a3c3-41b1-bf32-bfee8add72ae?operator=648f4cb2-ff15-4c01-907a-4b1b4e241dbc

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

Successfully merging this pull request may close these issues.

[FEAT]: funman graph interactions and improvements
3 participants