public GraphView(Book choice, Interface i, ArrayList<Integer> selectedChapter) {
		//TODO: Figure out what type of graph to use and how to make the line straight/define distance.
		g = new UndirectedSparseMultigraph<Node, MyLink>();
		//Set the book attribute to be referenced.
		current = choice;
		//If a chapter was selected in particular.
		this.selectedChapters = selectedChapter;
		//Allocate memory for a new list of Terms. The indexes correspond with the node in graph.
		termsInGraph = new ArrayList<Node>();
		subtermsInGraph = new ArrayList<>();
		//Allocate memory for the list of search terms.
		rootTerms = new ArrayList<String>();
		menu = i;
	}