Mouse Sorting

digraph D {

start        [label="START HERE", fontsize="11", shape="box", style="bold"]

ps2          [label="Is a PS/2 mouse?", fontsize="11"] optical      [label="Is an optical mouse?", fontsize="11"] wireless     [label="Is an wireless mouse?", fontsize="11"] usb          [label="Is a USB mouse?", fontsize="11"]

recycle      [label="RECYCLE that mouse!", fontsize="11", shape="box", style="bold"] build        [label="Send that mouse\nto BUILD", fontsize="11", shape="box", style="bold"] store        [label="Send that mouse\nto the STORE", fontsize="11", shape="box", style="bold"]

start       -> optical optical     -> store [label="YES"] optical     -> usb [label="NO"] usb         -> wireless [label="NO"] usb         -> store [label="YES"] wireless    -> ps2 [label="NO"] wireless    -> store [label="YES"] ps2         -> build [label="YES"] ps2         -> recycle [label="NO"] }