Myasthenia gravis is a type of autoimmune condition that affects the diaphragm. Extreme muscle weakness, especially in the respiratory muscles of the chest and diaphragm, characterizes this condition. As a result, breathing may become inefficient or shallow.