aboutsummaryrefslogtreecommitdiff
path: root/dist/renderer.d.ts
blob: eb4102abb599d352e87d599d45c317854b1b9ab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * 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;