First commit.

Signed-off-by: Chen Xiao <abigwc@gmail.com>
This commit is contained in:
Chen Xiao
2026-05-08 14:43:16 +08:00
commit 0b64e2de94
10989 changed files with 2253791 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import type { DrawDefinition } from '../../diagram-api/types.js';
/**
* Map a raw branch index to a CSS color-class index.
* When avoidMainColor is true (redux-color / redux-dark-color themes only),
* non-main branches cycle through 1…(limit-1) so color 0 is never reused.
* For all other themes the plain modulo is used.
*/
export declare const calcColorIndex: (rawIndex: number, limit: number, avoidDefaultColor?: boolean) => number;
export declare const draw: DrawDefinition;
declare const _default: {
draw: DrawDefinition;
};
export default _default;