private boolean removeFromEdgesList(int fromNode, int toNode) {
		int index = -1;
		for(GraphEdge cursor : edges) {
			if(cursor.getFromNode().id() == fromNode && cursor.getToNode().id() == toNode)
				index = edges.indexOf(cursor);
			if(!isDirected()) // if graph is directed doesn't need to check toNode -> fromNode
				if(cursor.getFromNode().id() == toNode && cursor.getToNode().id() == fromNode)
					index = edges.indexOf(cursor);
		}
		if(index == -1)
			return false;

		edges.remove(index);
		return true;
	}