mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-23 01:09:42 +02:00
Merge branch 'elk-migration' into sidv/cleanupLayoutElk
* elk-migration: chore: Use spaces docs: Add Readme chore: Use default export [autofix.ci] apply automated fixes
This commit is contained in:
@@ -3,7 +3,7 @@ import type { LayoutLoaderDefinition } from 'mermaid';
|
||||
const loader = async () => await import(`./render.js`);
|
||||
const algos = ['elk.stress', 'elk.force', 'elk.mrtree', 'elk.sporeOverlap'];
|
||||
|
||||
export const layouts: LayoutLoaderDefinition[] = [
|
||||
const layouts: LayoutLoaderDefinition[] = [
|
||||
{
|
||||
name: 'elk',
|
||||
loader,
|
||||
@@ -15,3 +15,5 @@ export const layouts: LayoutLoaderDefinition[] = [
|
||||
algorithm: algo,
|
||||
})),
|
||||
];
|
||||
|
||||
export default layouts;
|
||||
|
Reference in New Issue
Block a user