added/fixed relay graph rendering, added search limit, TODO: weights
added history graph support