API Reference
MermaidGanttTask
Describes one Mermaid Gantt task or milestone.
Inheritance
- MermaidAstNode
- MermaidGanttTask
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property MermaidGanttDocument.Tasks
Constructors
public MermaidGanttTask(String title, String? id, String? section, DateTime start, DateTime end, Double progress, Boolean milestone, IReadOnlyList<String> tags, IReadOnlyList<String> dependencies, String rawMetadata, MermaidSourceSpan span) #Initializes a Gantt task.
Parameters
- title System.String
- id System.String?
- section System.String?
- start System.DateTime
- end System.DateTime
- progress System.Double
- milestone System.Boolean
- tags System.Collections.Generic.IReadOnlyList<System.String>
- dependencies System.Collections.Generic.IReadOnlyList<System.String>
- rawMetadata System.String
- span ChartForgeX.Mermaid.MermaidSourceSpan
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public DateTime Start { get; } #Gets the authored/resolved task start date/time, including a milestone's range start.
public DateTime End { get; } #Gets the scheduling end used by dependencies, including a milestone's range end and excluded dates.
public DateTime RenderEnd { get; internal set; } #Gets the visible bar endpoint before trailing excluded days; milestone rendering uses the scheduling range midpoint.
public Double Progress { get; } #Gets the rendered progress value from zero to one.
public Boolean IsMilestone { get; } #Gets whether the task is a milestone.
public Boolean IsVerticalMarker { get; } #Gets whether this source task paints a vertical guide instead of reserving a task row.
public List<String> Tags { get; } #Gets Mermaid tags such as active, done, crit, milestone, and vert.
public List<String> DependencyIds { get; } #Gets referenced dependency ids from after clauses.
public List<String> UntilTaskIds { get; } #Gets referenced task ids from until end clauses.
public Int32 DependencyIndex { get; internal set; } #Gets the resolved zero-based dependency index, or -1 when none is rendered.
public String RawMetadata { get; } #Gets raw Mermaid metadata after the task colon.