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 String Title { get; } #Gets the display title.
public String? Id { get; } #Gets the optional task id.
public String? Section { get; } #Gets the optional section name.
public DateTime Start { get; } #Gets the task start date/time.
public DateTime End { get; } #Gets the task end date/time.
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 List<String> Tags { get; } #Gets Mermaid tags such as active, done, crit, and milestone.
public List<String> DependencyIds { get; } #Gets referenced dependency ids from after 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.
Inherited Properties
public MermaidSourceSpan Span { get; } #