better-mermaid
Version:
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
24 lines (23 loc) • 553 B
TypeScript
export function draw(txt: any, id: any, ver: any, diagObj: any): {
graph: {
commits: CommitMap;
branches: any;
branchPos: {};
commitPos: {};
gitGraphConfig: import("../../config.type.js").GitGraphDiagramConfig | undefined;
};
diagramType: string;
};
declare namespace _default {
export { draw };
}
export default _default;
export type CommitMap = Map<string, {
id: string;
message: string;
seq: number;
type: number;
tag: string;
parents: string[];
branch: string;
}>;