LinearX graph gen fix

Now load graph_data instead graph G
LinearX graph gen fix

Now load graph_data instead graph G