See the path of the end effector

Hello everyone.
Is there a way to plot the Path of the end effector for a robot? For example, using RMPFlow, I want to display a trace for where the effector path