Workflow diagram for directives