divided the sequenceDiagram directive in the element type and attribute types.