MermaidHtmlGenerator Class

Summary

Generate html for mermaid graphs of tasks
Namespace
Cake.Graph.Generators
Interfaces
Base Types
  • object
graph TD Base0["object"]-->Type Interface0["ITaskGraphGenerator"]-.->Type click Interface0 "/Cake.Graph/api/Cake.Graph.Generators/ITaskGraphGenerator" Type["MermaidHtmlGenerator"] class Type type-node

Syntax

public class MermaidHtmlGenerator : ITaskGraphGenerator

Constructors

Name Summary
MermaidHtmlGenerator() MermaidHtmlGenerator
MermaidHtmlGenerator(IGraphTemplateManager) MermaidHtmlGenerator

Properties

Name Value Summary
Extension string
The file extension to use for this type of graph file
MermaidJsSource string
Url/path for the mermaid js file

Methods

Name Value Summary
Serialize(ICakeContext, ICakeTaskInfo, IReadOnlyList<ICakeTaskInfo>) string
Converts the task to a graph and outputs the string for displaying