@SuppressWarnings("unchecked")
	public VisualizationViewer<V, E> getGraphViewer(MouseEvent e) {
		VisualizationViewer<V, E> viewer = (VisualizationViewer<V, E>) e.getSource();

		// is this the satellite viewer? 
		if (viewer instanceof SatelliteVisualizationViewer) {
			return ((SatelliteVisualizationViewer<V, E>) viewer).getMaster();
		}

		return viewer;
	}
Returns the <b>primary/master</b> graph viewer.

@param e the mouse event from which to get the viewer
@return the viewer
Ghidra/Features/GraphServices/src/main/java/ghidra/graph/visualization/mouse/AbstractJgtGraphMousePlugin.java