mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-31 22:26:53 +02:00
14 lines
453 B
TypeScript
14 lines
453 B
TypeScript
// @ts-ignore: JISON doesn't support types
|
|
import gitGraphParser from './parser/gitGraph.jison';
|
|
import gitGraphDb from './gitGraphAst.js';
|
|
import gitGraphRenderer from './gitGraphRenderer.js';
|
|
import gitGraphStyles from './styles.js';
|
|
import type { DiagramDefinition } from '../../diagram-api/types.js';
|
|
|
|
export const diagram: DiagramDefinition = {
|
|
parser: gitGraphParser,
|
|
db: gitGraphDb,
|
|
renderer: gitGraphRenderer,
|
|
styles: gitGraphStyles,
|
|
};
|