Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dist/dagre.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Graph as ImportedGraph, Node as GraphNode, Edge as GraphEdge } from '@d
// --- Graphlib Exports (Public API of dagre.graphlib) ---

export namespace graphlib {
export import Graph = ImportedGraph;
export { ImportedGraph as Graph };

export namespace json {
function read(graph: any): Graph;
Expand Down Expand Up @@ -101,4 +101,4 @@ export type Node<T = {}> = T & {
rx?: number | undefined;
ry?: number | undefined;
shape?: string | undefined;
};
};
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Graph as ImportedGraph, Node as GraphNode, Edge as GraphEdge } from '@d
// --- Graphlib Exports (Public API of dagre.graphlib) ---

export namespace graphlib {
export import Graph = ImportedGraph;
export { ImportedGraph as Graph };

export namespace json {
function read(graph: any): Graph;
Expand Down Expand Up @@ -101,4 +101,4 @@ export type Node<T = {}> = T & {
rx?: number | undefined;
ry?: number | undefined;
shape?: string | undefined;
};
};