2023-08-01 14:30:58 +02:00
|
|
|
// @ts-ignore: JISON doesn't support types
|
2023-03-11 14:54:21 +01:00
|
|
|
import gitGraphParser from './parser/gitGraph.jison';
|
|
|
|
import gitGraphDb from './gitGraphAst.js';
|
|
|
|
import gitGraphRenderer from './gitGraphRenderer.js';
|
|
|
|
import gitGraphStyles from './styles.js';
|
2023-08-22 10:14:11 +02:00
|
|
|
import type { DiagramDefinition } from '../../diagram-api/types.js';
|
2022-11-18 11:40:06 +01:00
|
|
|
|
|
|
|
export const diagram: DiagramDefinition = {
|
|
|
|
parser: gitGraphParser,
|
|
|
|
db: gitGraphDb,
|
|
|
|
renderer: gitGraphRenderer,
|
|
|
|
styles: gitGraphStyles,
|
|
|
|
};
|