feature: vor und nachteile

This commit is contained in:
Hikyu
2026-05-31 13:54:31 +02:00
parent 552a947a1c
commit e3dad17446
23270 changed files with 3024794 additions and 200 deletions
@@ -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;