Plotly Custom Callbacks -- Open Plea For Clarification - I'm Still A Newbie

Thanks for the resource, and I did look at Interactive Graphing.

The problem is that figures have built-in attributes, like SelectedData โ€“ so doing a callback for that is easy.

My problem is I want to define CUSTOM attributes and pass that to a callback.

At this point, I may have to do the very-hacky-and-inelegant-method of using dcc.Store or something similar, which really blows my mind โ€“ why canโ€™t I do this all in memory instead of tasking a slow I/O process (comparatively) to do this?

If you could point me to an example that does this:

Custom Function โ†’ Callback Definition Listening for attribute of custom function โ†’ Triggered action causes output to pass data to children

Then Iโ€™d be very thankful. Otherwise, it seems that Plotly never considered something like this scenario which is mind-boggling to me.

Edit โ€“ I suppose the closest my request comes to is this โ€“ Can Data Attributes Be Created In Dash? except I want to have a custom function return an attribute. This is pretty depressing if true.