fixed graph function implementation. cmakelist
Merge