Skip to content
ChartForgeX

Sequence examples in C#

Sequence examples rendered by ChartForgeX: a live chart, variants in light and dark themes, the C# source and the options to configure it.

All charts Relationships

Request processing sequence

The interactive HTML page ChartForgeX writes for this diagram. Drag to pan, use the wheel to zoom, and select a node for its details.

Build it in C#

This is the code for the chart above. Show setup adds the imports before it and the few lines that write SVG, PNG and HTML after it, so it reads as one program; the download is the complete console program, ready to run with the ChartForgeX package.

C# Program.cs Download
Loading source…

Variants

Options

Common SequenceArtifact builder calls for this family. Every member is listed in the API reference.

MethodWhat it does
WithTitleSets the title.
WithSizeSets the natural preview size.
AddParticipantAdds or updates a participant.
AddMessageAdds a message.
AddBlockAdds a block span.