Setting graph route