prev_n can only appear in basic templates.
- Consider the edge or node represented by a single-edge/node template shown in (a) and (b), their
prev_nrefers to their preceding node;
- Consider the edges or nodes represented by a multiple-edge template shown in (c) and (d), their
prev_nrefers to their respective preceding node.