How does widgets comminucate with each other?

Currently, I have three custom pluggable web widgets, Diagram Editor A, Button B, Table C. Because I can not get the instance of other widget, how to manage the state of temporary data between widgets How can I implement the functionality like these: Use mouse to create a node in Diagram A  →  A emit a  Arrary data like [{ name: ‘xx’ }, { name: ‘xxx’ }]  →  Table C receive the data, and update the context Click Button B  → Trigger function in Diagram A Can I inject a global variable like __MOBX_STORE into window to manage the temporary state? Thks.
1 answers

if these are different widgets, there is no connection between them. 

Use the way Mendix works using data widgets to capture the context in a page.