initial graph plotting
merge