@Nonnull
	public InheritanceGraph getOrCreateInheritanceGraph(@Nonnull Workspace workspace) {
		return workspaceManager.getCurrent() == workspace ?
				Objects.requireNonNull(getCurrentWorkspaceInheritanceGraph(), "Failed to get current workspace graph") :
				newInheritanceGraph(workspace);
	}
Gets an existing graph if present for the workspace,
or makes a new one if there is no associated graph for the workspace.

@param workspace
		Workspace to pull classes from.

@return Inheritance graph model for the given workspace.
recaf-core/src/main/java/software/coley/recaf/services/inheritance/InheritanceGraphService.java