adds another style of functionGraph