add diagram use case