MermaidGanttTask
ChartForgeX.Mermaid
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, bool milestone, IReadOnlyList<string> tags, IReadOnlyList<string> dependencies, string rawMetadata, MermaidSourceSpan span) #Initializes a Gantt task.
Parameters
- title string
- id string?
- section string?
- start System.DateTime
- end System.DateTime
- progress double
- milestone bool
- tags System.Collections.Generic.IReadOnlyList<string>
- dependencies System.Collections.Generic.IReadOnlyList<string>
- rawMetadata string
- span ChartForgeX.Mermaid.MermaidSourceSpan
Inherited Methods
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 bool 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 int 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.