more comments amd para,eters in graph_detector