isoflow/src/config.ts

21 lines
500 B
TypeScript
Raw Normal View History

import { Size } from 'src/types';
import { customVars } from './styles/theme';
2023-07-21 21:26:08 +00:00
export const UNPROJECTED_TILE_SIZE = 100;
export const TILE_PROJECTION_MULTIPLIERS: Size = {
width: 1.415,
height: 0.819
};
export const DEFAULT_COLOR = customVars.diagramPalette.blue;
2023-07-27 13:51:18 +00:00
export const CONNECTOR_DEFAULTS = {
width: 4
};
2023-07-21 20:29:55 +00:00
export const NODE_DEFAULTS = {
label: '',
2023-07-21 21:26:08 +00:00
labelHeight: 100,
color: DEFAULT_COLOR
2023-07-21 20:29:55 +00:00
};
export const ZOOM_INCREMENT = 0.2;
export const MIN_ZOOM = 0.2;
export const MAX_ZOOM = 1;