How to create a gantt diagram with ComboStrap

About

The gantt component is a diagram component that permits to create a gantt diagram

Example

  • The markup
<gantt>
gantt
    title A Gantt Diagram
    dateFormat  YYYY-MM-DD
    section Section
    A task           :a1, 2014-01-01, 30d
    Another task     :after a1  , 20d
    section Another
    Task in sec      :2014-01-12  , 12d
    another task      : 24d
</gantt>
  • The output:
gantt title A Gantt Diagram dateFormat YYYY-MM-DD section Section A task :a1, 2014-01-01, 30d Another task :after a1 , 20d section Another Task in sec :2014-01-12 , 12d another task : 24d

Syntax

The syntax is based on the mermaid Gantt definition

<gantt>
   ... Mermaid Gantt definition ...
</gantt>

Mermaid offers a live editor that you can use to validate and develop your diagrams.

This component is based on the mermaid component.




Showcase yourself and your brand

Get free news, tips, and tricks
to create a remarkable experience for your readers.




Recommended Pages
Undraw My Documents
Create diagram with mermaid

This component will render mermaid diagram
Diagram

ComboStrap is able to create and render diagrams . Example with a sequence . If your diagrams are in a svg format, you can just render them with the svg component. Otherwise, you can use the following...



Task Runner