fix: build issues for cose - bilkent

on-behalf-of: @Mermaid-Chart <hello@mermaidchart.com>
This commit is contained in:
darshanr0107
2025-08-05 19:16:02 +05:30
parent 2f1860386a
commit d7308b0f43
2 changed files with 5 additions and 2 deletions

View File

@@ -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<

View File

@@ -0,0 +1,4 @@
declare module 'cytoscape-cose-bilkent' {
const coseBilkent: any;
export default coseBilkent;
}