Interval Notation Using Graph