blob: bf14bfbd9520164d97e0e050c362981f71f10346 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/**
* Render a parsed Wardley map to a canvas context
* @param {ParsedMap} map - Parsed map object from wmap-parser
* @param {CanvasRenderingContext2D} ctx - Canvas context to render to
* @param {StageType} stageType - The labels to use for each stage in the map.
* @param {tConfiguration} configuration - Configuration object
* @returns {Promise<void>}
*/
export function render(
map: ParsedMap,
ctx: CanvasRenderingContext2D,
stageType: StageType,
configuration: tConfiguration,
): Promise<void>;
export type tConfiguration = import("./configuration.js").tConfiguration;
export type StageType = import("./stage_type.js").StageType;
export type ParsedMap = import("wmap-parser").Map;
|