The azimuthal anisotropy of electrons from heavy flavor decays is a powerful tool to study heavy quark production in ultra-relativistic nuclear collisions. Previous measurements of $v_{2}$ for hadrons made of light quarks, such as pions and kaons, suggest that the $v_{2}$ is formed in the partonic phase for hadrons made of light quarks. If the $v_{2}$ for heavy flavor is non-zero, it would support partonic level thermalization not only for light quarks but also heavy quarks. In addition, the $v_{2}$ at high $p_{T}$ is thought to reflect the energy loss of partons in dense matter. Therefore the measurement at high $p_{T}$ provides information about the energy loss of heavy quarks. In this presentation, we will show the azimuthal anisotropy of electrons from heavy flavor decays from Au+Au collisions at $\sqrt{s_{NN}}$ = 200 GeV in RHIC-RUN4 and compare with several theoretical predictions of electrons from heavy flavor decays.