mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2025-03-02 03:15:35 +01:00
mindplot lint * fix eqeqeq * fix max-len * fix max-len, guard-for-in * fix import/no-named-as-default-member * misc fixes * fix no-shadow * fix no-param-reassign * fix issues introduced with "fix no-param-reassign" * Merge 'origin/develop' into feature/mindplot-lint * lint and docs fixes after merge Approved-by: Paulo Veiga
37 lines
652 B
JavaScript
37 lines
652 B
JavaScript
/**
|
|
* @constant
|
|
* @type {Number}
|
|
* @default
|
|
*/
|
|
const CONNECTOR_WIDTH = 6;
|
|
/**
|
|
* @constant
|
|
* @type {Object<String, Number>}
|
|
* @default
|
|
*/
|
|
const OUTER_SHAPE_ATTRIBUTES = {
|
|
fillColor: 'rgb(252,235,192)',
|
|
stroke: '1 dot rgb(241,163,39)',
|
|
x: 0,
|
|
y: 0,
|
|
};
|
|
/**
|
|
* @constant
|
|
* @type {Object<String, Number>}
|
|
* @default
|
|
*/
|
|
const OUTER_SHAPE_ATTRIBUTES_FOCUS = { fillColor: 'rgb(244,184,45)', x: 0, y: 0 };
|
|
/**
|
|
* @constant
|
|
* @type {Object<String>}
|
|
* @default
|
|
* */
|
|
const INNER_RECT_ATTRIBUTES = { stroke: '2 solid' };
|
|
|
|
export default {
|
|
CONNECTOR_WIDTH,
|
|
OUTER_SHAPE_ATTRIBUTES,
|
|
OUTER_SHAPE_ATTRIBUTES_FOCUS,
|
|
INNER_RECT_ATTRIBUTES,
|
|
};
|