/** * Type for function draws diagram in the tag with id: id based on the graph definition in text. * * @paramtext - The text of the diagram. * @paramid - The id of the diagram which will be used as a DOM element id. * @paramversion - MermaidJS version from package.json. * @paramdiagramObject - A standard diagram containing the DB and the text and type etc of the diagram. */ exporttypeDrawDefinition = ( text: string, id: string, version: string, diagramObject: Diagram ) =>void | Promise<void>;
flowchart LR subgraph subgraph_zv2q8ucnp["Shape descriptions"] customer(("Customer")) Support["Support"] Technician{{"Technician"}} Decision{"Decision"} end A(("Reported issue")) --> B["Ticket is created"] B --> C{"Working hours?"} C -- Yes --> E{{"Tickets are sent to day team for response"}} C -- No --> F["Tickets are sent to on-call staff for response"] E --> Worked{"Ticket being worked on?"} F --> Worked Worked -- Yes --> G["Work on the tickets based on priority"] Worked -- No --> Reminder["Reminder is sent"] Reminder --> Worked G --> H["Team fixes the issue"] H --> I{"Is the issue resolved?"} I -- Yes --> Done["Ticket is closed and follow-up email is sent"] I -- No --> H