mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-09 18:39:41 +02:00
fix: build issues for cose - bilkent
on-behalf-of: @Mermaid-Chart <hello@mermaidchart.com>
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import { insertNode } from './rendering-elements/nodes.js';
|
||||
import type { LayoutData } from './types.ts';
|
||||
import type { LayoutData, NonClusterNode } from './types.ts';
|
||||
import type { Selection } from 'd3';
|
||||
import { getConfig } from '../diagram-api/diagramAPI.js';
|
||||
import * as graphlib from 'dagre-d3-es/src/graphlib/index.js';
|
||||
import type { NonClusterNode } from '../../dist/rendering-util/types.js';
|
||||
|
||||
// Update type:
|
||||
type D3Selection<T extends SVGElement = SVGElement> = Selection<
|
||||
|
4
packages/mermaid/src/types/cytoscape-cose-bilkent.d.ts
vendored
Normal file
4
packages/mermaid/src/types/cytoscape-cose-bilkent.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
declare module 'cytoscape-cose-bilkent' {
|
||||
const coseBilkent: any;
|
||||
export default coseBilkent;
|
||||
}
|
Reference in New Issue
Block a user