"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.DEFAULT_MINIMUM_STROKE_WIDTH = exports.ADDITIONAL_SELECTED_STROKE_WIDTH = exports.DEFAULT_STROKE_WIDTH_RATIO = exports.NODE_PATH_REGEXP = exports.NODE_PATH_SEPARATOR = exports.COLOR_LEAVES_CONFIDENCE_UNDEFINED = exports.COLOR_LEAVES_CONFIDENCE_1 = exports.COLOR_LEAVES_CONFIDENCE_0 = exports.SELECTED_BORDER_WIDTH = exports.COLOR_NODES = exports.DEFAULT_COLOR_EDGES = exports.SELECTED_COLOR_EDGES = exports.NODE_PADDING = exports.NODE_DEPTH = exports.NODE_HEIGHT = exports.NODE_WIDTH = exports.NODE_WIDTH_MARGIN = exports.MARGIN = exports.ZOOM_EXTENT = void 0;

var _polished = require("polished");

// Zoom
var ZOOM_EXTENT = [0.05, 1.2]; // Fit to screen

exports.ZOOM_EXTENT = ZOOM_EXTENT;
var MARGIN = {
  top: 10,
  bottom: 10,
  left: 10,
  right: 10
}; // Nodes

exports.MARGIN = MARGIN;
var NODE_WIDTH_MARGIN = 20; // margin between two nodes - needed by the layout

exports.NODE_WIDTH_MARGIN = NODE_WIDTH_MARGIN;
var NODE_WIDTH = 100;
exports.NODE_WIDTH = NODE_WIDTH;
var NODE_HEIGHT = 30;
exports.NODE_HEIGHT = NODE_HEIGHT;
var NODE_DEPTH = 100;
exports.NODE_DEPTH = NODE_DEPTH;
var NODE_PADDING = 15; // Color of the nodes and edges

exports.NODE_PADDING = NODE_PADDING;
var SELECTED_COLOR_EDGES = '#FF7F00';
exports.SELECTED_COLOR_EDGES = SELECTED_COLOR_EDGES;
var DEFAULT_COLOR_EDGES = '#ddd';
exports.DEFAULT_COLOR_EDGES = DEFAULT_COLOR_EDGES;
var COLOR_NODES = '#ddd';
exports.COLOR_NODES = COLOR_NODES;
var SELECTED_BORDER_WIDTH = 5; // Color of the leaves

exports.SELECTED_BORDER_WIDTH = SELECTED_BORDER_WIDTH;
var COLOR_LEAVES_CONFIDENCE_0 = '#FEF3C2';
exports.COLOR_LEAVES_CONFIDENCE_0 = COLOR_LEAVES_CONFIDENCE_0;
var COLOR_LEAVES_CONFIDENCE_1 = '#FFBC00';
exports.COLOR_LEAVES_CONFIDENCE_1 = COLOR_LEAVES_CONFIDENCE_1;
var COLOR_LEAVES_CONFIDENCE_UNDEFINED = (0, _polished.lighten)(0, '#A5F2E3'); // Node path

exports.COLOR_LEAVES_CONFIDENCE_UNDEFINED = COLOR_LEAVES_CONFIDENCE_UNDEFINED;
var NODE_PATH_SEPARATOR = '-';
exports.NODE_PATH_SEPARATOR = NODE_PATH_SEPARATOR;
var NODE_PATH_REGEXP = new RegExp("^0(".concat(NODE_PATH_SEPARATOR, "\\d*)*$")); // Edges width

exports.NODE_PATH_REGEXP = NODE_PATH_REGEXP;
var DEFAULT_STROKE_WIDTH_RATIO = 30;
exports.DEFAULT_STROKE_WIDTH_RATIO = DEFAULT_STROKE_WIDTH_RATIO;
var ADDITIONAL_SELECTED_STROKE_WIDTH = 1;
exports.ADDITIONAL_SELECTED_STROKE_WIDTH = ADDITIONAL_SELECTED_STROKE_WIDTH;
var DEFAULT_MINIMUM_STROKE_WIDTH = 1.5;
exports.DEFAULT_MINIMUM_STROKE_WIDTH = DEFAULT_MINIMUM_STROKE_WIDTH;