# Diagram

## Overview

The Diagram widget category provides visual tools for documenting laboratory workflows, project schedules, record relationships, and stage-based progress directly within Labii ELN and LIMS records. These section widgets help teams turn complex processes into diagrams that are easier to review, communicate, and maintain alongside the underlying scientific data. Whether you are mapping an experimental workflow, planning project timelines, tracing linked records, or showing where a sample sits in a review process, these widgets make visual documentation part of the record itself.

## Widgets

* [Mermaid](/widgets/section-widgets/diagram/mermaid.md) - Create custom diagrams from text-based Mermaid syntax
* [Gantt Chart](/widgets/section-widgets/diagram/gantt-chart.md) - Visualize project schedules, tasks, milestones, and timelines
* [Relation Flowchart](/widgets/section-widgets/diagram/relation-flowchart.md) - Show record relationships from ForeignKey and ForeignKeys columns
* [Stage Flowchart](/widgets/section-widgets/diagram/stage-flowchart.md) - Track Select-column progress through predefined workflow stages


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.labii.com/widgets/section-widgets/diagram.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
