Help, window information is not updated unless you click "Reload Window"

Hello, I am making a custom window to display information in the form of a graph, for this I am using GraphView. To save and load the information, I created a “Load” and “Save” function and added them to a dropDown, everything is fine so far, it loads and saves without problems.

but… the view is not updated, I tried suar repaint, dirty and other solutions but nothing seems to update the window, I can only do it by right clicking > reload Window (f5).

My question is, can this “reload” function be called from code so that it gets updated when I execute my “load” function? If not, is there any other way to update the information that you haven’t considered?

8417529--1113318--Captura de pantalla 2022-09-05 173745.png 8417529--1113321--Captura de pantalla 2022-09-05 173848.png

You could try calling Repaint() on the EditorWindow. This is what I’d try first without knowing more about the loading mechanism.