Title: Graph equation for line graphs and m-step graphs