Added compose and condense graphs