add option graph_path for more flexible URL designing