Hello! I recently joined a project which is developing a plugin for Kibana, in this project, we use the Visualizations plugin to generate some presentations using data stored in ES indices.
I'm trying to understand better how it works and how to improve on it, for that I have a few questions about the start methods defined in the visualization plugin kibana/plugin.ts at 7.13 · elastic/kibana · GitHub
createVis method takes two arguments, a
visType and a
visState. I think I understand the
visType, but where can I learn more about the
visState objects? Like what they contain, what are they used for, etc. Im also not sure how the return of the
createVis function can be used, how would show the visualization in my page with a react component?
And what are the methods
convertFromSerializedVis ? What is a
serializedVis and how can I use them?