Write function to generate 'biophysically motivated' graph.