UNPKG

higlass

Version:

HiGlass Hi-C / genomic / large data viewer

21 lines (20 loc) 936 B
export const DEFAULT_VIEW_MARGIN: 0; export const DEFAULT_VIEW_PADDING: 5; export const DEFAULT_CONTAINER_PADDING_X: 10; export const DEFAULT_CONTAINER_PADDING_Y: 10; export const MAX_CLICK_DELAY: 300; export const MOUSE_TOOL_MOVE: "move"; export const MOUSE_TOOL_SELECT: "select"; export const MOUSE_TOOL_TRACK_SELECT: "track-select"; export const TILE_FETCH_DEBOUNCE: 100; export const ZOOM_DEBOUNCE: 10; export const SHORT_DRAG_TIMEOUT: 110; export const LONG_DRAG_TIMEOUT: 3000; export const LOCATION_LISTENER_PREFIX: "locationListenerPrefix"; export const ZOOM_TRANSITION_DURATION: 1000; export const DEFAULT_SERVER: "http://higlass.io/api/v1"; export const VIEW_HEADER_MED_WIDTH_SEARCH_BAR: 400; export const VIEW_HEADER_MIN_WIDTH_SEARCH_BAR: 300; export const TRACK_LOCATIONS: readonly ["top", "left", "right", "bottom", "center", "whole", "gallery"]; export const MIN_HORIZONTAL_HEIGHT: 20; export const MIN_VERTICAL_WIDTH: 20;