add top term graph