finalising cleaning/refactoring of cnograph.
updating tests.
add missing figure