Diodes usually come in glass or plastic cylindrical packages, marked with a stripe on one side to indicate polarity. In a perfectly ideal diode, current flows in one direction only, from the anode (positive side) to the cathode (negative side) which is marked with the stripe.Jan 12, 2012