Two click events

I’m trying to generate three graphs connected with click events.
graph 1 → click button → graph2 → click button → graph 3

I already successfully generate graph 2 by click button in graph 1, but I don’t know how to generate graph 3.
Can we put callbacks within callbacks?

Thank you!

Hello @fyc1993,

Welcome to the community!

Have you looked into pattern-matching yet?

thanks for the suggestion. Are you able to share some examples or tutorials about this? Thanks

Sure, check out here: