@diagrammo/dgmo 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -996,7 +996,9 @@ declare function layoutERDiagram(parsed: ParsedERDiagram): ERLayoutResult;
996
996
  declare function renderERDiagram(container: HTMLDivElement, parsed: ParsedERDiagram, layout: ERLayoutResult, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: {
997
997
  width?: number;
998
998
  height?: number;
999
- }, activeTagGroup?: string | null): void;
999
+ }, activeTagGroup?: string | null,
1000
+ /** When false, semantic role colors are suppressed and entities use a neutral color. */
1001
+ semanticColorsActive?: boolean): void;
1000
1002
  declare function renderERDiagramForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
1001
1003
 
1002
1004
  interface InlineSpan {
@@ -1783,6 +1785,7 @@ interface InfraLayoutResult {
1783
1785
  groups: InfraLayoutGroup[];
1784
1786
  /** Diagram-level options (e.g., default-latency-ms, default-uptime). */
1785
1787
  options: Record<string, string>;
1788
+ direction: 'LR' | 'TB';
1786
1789
  width: number;
1787
1790
  height: number;
1788
1791
  }
package/dist/index.d.ts CHANGED
@@ -996,7 +996,9 @@ declare function layoutERDiagram(parsed: ParsedERDiagram): ERLayoutResult;
996
996
  declare function renderERDiagram(container: HTMLDivElement, parsed: ParsedERDiagram, layout: ERLayoutResult, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: {
997
997
  width?: number;
998
998
  height?: number;
999
- }, activeTagGroup?: string | null): void;
999
+ }, activeTagGroup?: string | null,
1000
+ /** When false, semantic role colors are suppressed and entities use a neutral color. */
1001
+ semanticColorsActive?: boolean): void;
1000
1002
  declare function renderERDiagramForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
1001
1003
 
1002
1004
  interface InlineSpan {
@@ -1783,6 +1785,7 @@ interface InfraLayoutResult {
1783
1785
  groups: InfraLayoutGroup[];
1784
1786
  /** Diagram-level options (e.g., default-latency-ms, default-uptime). */
1785
1787
  options: Record<string, string>;
1788
+ direction: 'LR' | 'TB';
1786
1789
  width: number;
1787
1790
  height: number;
1788
1791
  }