

// ------------------------------------------
// Control whether a precomputed file is loaded or if the graph is fetched from the backend
export const BACKEND = true;

// Control whether the first force simulation is shown animated or not
export const FIRST_PASS_ANIMATED = false;

export const COLOR = false;

// Control whether the recompuation happens dynamically or statically+transition animation
export const DYNAMIC_RECOMPUTATION = false;

export const VARIABLE_RECOMPUTATION_STRENGTH = true;

// ------------------------------------------
// PARAMETERS
// ------------------------------------------
export const MDS_X_SCALING = 2;
export const MDS_Y_SCALING = 1;

export const EDGE_BASE_THICKNESS = 1;
export const EDGE_SIMILARITY_THICKNESS = 9;
export const WORD_SIZE = 15;

// ------------------------------------------
// FORCE PARAMETERS
// ------------------------------------------

export const LINK_FORCE_STRENGTH = 0.05;
export const COLLISION_FORCE_STRENGTH = 2;
export const INITIAL_X_FORCE_STRENGTH = 0.01;
export const INITIAL_Y_FORCE_STRENGTH = 0.1;
export const FINAL_POSITION_FORCE_STRENGTH = 0.5;

export const ANCHORING_FORCE_STRENGTH = 0.5;


export const GRID_NUMBER_X = 15;
export const GRID_NUMBER_Y = 15;

// ------------------------------------------
// COLORS
// ------------------------------------------

export const DISTORTION_COLOR_SCALE = d3.interpolateYlGn;

export const REALIZED_ADJACENCIES_COLOR = "green";
export const UNREALIZED_ADJACENCIES_COLOR = "#f1a846";