Merge remote-tracking branch 'origin/patch'

This commit is contained in:
Ryan Kurtz 2022-08-31 22:15:00 -04:00
commit 6911befabb

View File

@ -172,6 +172,13 @@ public class FcgProvider
if (!graphData.hasResults()) {
return;
}
// The graph component won't contain valid perspective information if it's not 'initialized'
// (i.e. rendered or displayed to the user). It may happen if the graph has been kept minimized
// in the separate tab. Related method: `GraphComponent::viewerInitialized`
if (view.getGraphComponent().isUninitialized()) {
return;
}
GraphPerspectiveInfo<FcgVertex, FcgEdge> info = view.generateGraphPerspective();
graphData.setGraphPerspective(info);