naming.js 879 B

123456789101112131415161718192021
  1. export const EDGE_ID_SEPARATOR = '---';
  2. // NOTE: Inconsistent naming is a consequence of
  3. // keeping it backwards-compatible with the old URLs.
  4. export const GRAPH_VIEW_MODE = 'topo';
  5. export const TABLE_VIEW_MODE = 'grid';
  6. export const RESOURCE_VIEW_MODE = 'resource';
  7. // Named constants to avoid typos that would result in hard-to-detect bugs.
  8. export const BLURRED_EDGES_LAYER = 'blurred-edges';
  9. export const BLURRED_NODES_LAYER = 'blurred-nodes';
  10. export const NORMAL_EDGES_LAYER = 'normal-edges';
  11. export const NORMAL_NODES_LAYER = 'normal-nodes';
  12. export const HIGHLIGHTED_EDGES_LAYER = 'highlighted-edges';
  13. export const HIGHLIGHTED_NODES_LAYER = 'highlighted-nodes';
  14. export const HOVERED_EDGES_LAYER = 'hovered-edges';
  15. export const HOVERED_NODES_LAYER = 'hovered-nodes';
  16. export const CONTENT_INCLUDED = 'content-included';
  17. export const CONTENT_COVERING = 'content-covering';