Skip to main content

Sequence

Namespace: Wisej.Web.Ext.jSequence

Assembly: Wisej.Web.Ext.jSequence

The Sequence control turns text into UML sequence diagrams: https://bramp.github.io/js-sequence-diagrams/.

public class Sequence : Widget

Constructors

Instance memberSequence()

Constructs a new Sequence control.

Properties

Instance memberInitScript

String: Overridden to create our initialization script.

Instance memberPackages

List<Package>: Overridden to return our list of script resources.

Instance memberTheme

String: Returns or sets the name of the theme to use to draw the UML diagram. (Default: "Simple")

Instance memberUML

String: Returns or sets the UML definition of the diagram using this syntax: grammar. (Default: "")

Methods

Instance memberGetImage(callback)

Returns the sequence image.

ParameterTypeDescription
callbackAction<Image>Callback method that receives the Image object.

Throws:

Instance memberGetImageAsync()

Asynchronously returns the sequence image.

Returns: Task<Image>. An awaitable Task that contains the image.

Events

Instance memberElementClick

ElementClickEventHandler Triggered when the user clicks an element in the sequence.