Use the figure for insertAfter as a template.