API Reference
Class
MermaidGitGraphCommit
Describes one Mermaid git graph commit.
Inheritance
- Object
- MermaidGitGraphCommit
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 MermaidGitGraphDocument.Commits
Constructors
public MermaidGitGraphCommit(String id, String branchName, IEnumerable<String>? parentIds, GitGraphCommitType type, String label, String tag, String sourceCommitId, MermaidSourceSpan span) #Initializes a Mermaid git graph commit.
Parameters
- id System.String
- branchName System.String
- parentIds System.Collections.Generic.IEnumerable<System.String>?
- type ChartForgeX.VisualBlocks.GitGraphCommitType
- label System.String
- tag System.String
- sourceCommitId System.String
- span ChartForgeX.Mermaid.MermaidSourceSpan
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String Id { get; set; } #Gets or sets the commit id.
public String BranchName { get; set; } #Gets or sets the branch name.
public IReadOnlyList<String> ParentIds { get; } #Gets parent commit ids.
public GitGraphCommitType Type { get; } #Gets the commit type.
public String Label { get; set; } #Gets or sets the display label.
public String Tag { get; set; } #Gets or sets the optional tag label.
public String SourceCommitId { get; set; } #Gets or sets the cherry-pick source commit id.
public MermaidSourceSpan Span { get; } #Gets the source span for the commit statement.