Class
JourneyDiagramBlock
ChartForgeX.VisualBlocks
An ordered user journey with scored tasks, explicit sections, and participating actors.
Inheritance
- VisualBlock<JourneyDiagramBlock>
- JourneyDiagramBlock
Usage
Explore 16 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 16
- Extension method MermaidJourneyDocument.ToJourneyDiagramBlock
- Method MermaidJourneyRendering.ToJourneyDiagramBlock
- Method JourneyDiagramBlock.AddSection
- Method JourneyDiagramBlock.AddTask
- Method JourneyDiagramBlock.ConfigureTheme
- Method JourneyDiagramBlock.Create
- Method JourneyDiagramBlock.WithCard
- Method JourneyDiagramBlock.WithHostFrame
- Method JourneyDiagramBlock.WithPadding
- Method JourneyDiagramBlock.WithPngOutputScale
- Method JourneyDiagramBlock.WithSize
- Method JourneyDiagramBlock.WithSubtitle
- Method JourneyDiagramBlock.WithTheme
- Method JourneyDiagramBlock.WithThemeMode
- Method JourneyDiagramBlock.WithTitle
- Method JourneyDiagramBlock.WithTransparentBackground
Constructors
Methods
public JourneyDiagramBlock AddSection(string id, string label) #Adds a section with a stable identity independent of its display label.
Parameters
- id string
- label string
Returns
JourneyDiagramBlockpublic JourneyDiagramBlock AddTask(string id, string label, double score, IEnumerable<string>? actors = null, string? sectionId = null) #Adds a task with a score from one through five and its participating actors.
Parameters
- id string
- label string
- score double
- actors System.Collections.Generic.IEnumerable<string>? = null
- sectionId string? = null
Returns
JourneyDiagramBlockInherited Methods
public JourneyDiagramBlock ConfigureTheme(Action<VisualThemeBuilder> configure) #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
Parameters
- configure Action<VisualThemeBuilder>
Returns
JourneyDiagramBlockpublic virtual RgbaImage RenderRgba() #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
Returns
RgbaImagepublic virtual string RenderSvg(string idScope) #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
Parameters
- idScope string
Returns
stringpublic JourneyDiagramBlock WithCard(bool enabled = true) #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
Parameters
- enabled bool = true
Returns
JourneyDiagramBlockpublic JourneyDiagramBlock WithHostFrame(bool hostOwnsFrame = true) #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
Parameters
- hostOwnsFrame bool = true
Returns
JourneyDiagramBlockWithPadding 2 overloads
public JourneyDiagramBlock WithPadding(double padding) #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
Parameters
- padding double
Returns
JourneyDiagramBlockpublic JourneyDiagramBlock WithPadding(double left, double top, double right, double bottom) #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
Parameters
- left double
- top double
- right double
- bottom double
Returns
JourneyDiagramBlockpublic JourneyDiagramBlock WithPngOutputScale(int scale) #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
Parameters
- scale int
Returns
JourneyDiagramBlockpublic JourneyDiagramBlock WithSize(int width, int height) #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
Parameters
- width int
- height int
Returns
JourneyDiagramBlockpublic JourneyDiagramBlock WithSubtitle(string subtitle) #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
Parameters
- subtitle string
Returns
JourneyDiagramBlockpublic JourneyDiagramBlock WithTheme(VisualTheme theme, VisualThemeMode? mode = null) #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
Parameters
- theme VisualTheme
- mode VisualThemeMode? = null
Returns
JourneyDiagramBlockpublic JourneyDiagramBlock WithThemeMode(VisualThemeMode mode) #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
Parameters
- mode VisualThemeMode
Returns
JourneyDiagramBlockpublic JourneyDiagramBlock WithTitle(string title) #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
Parameters
- title string
Returns
JourneyDiagramBlockpublic JourneyDiagramBlock WithTransparentBackground(bool enabled = true) #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
Parameters
- enabled bool = true
Returns
JourneyDiagramBlockProperties
Inherited Properties
public string Title { get; set; } #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
public string Subtitle { get; set; } #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]
public VisualBlockOptions Options { get; } #Inherited from VisualBlock<TSelf>[[JourneyDiagramBlock, ChartForgeX, Version=0, Culture=neutral, PublicKeyToken=null]]