add diagram in design document

draw.io is good site.