Advertisement
Guest User

Untitled

a guest
Oct 21st, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. export const canvasHeight = 540;
  2. export const cellSize = 32;
  3. export const firstItemIndex = 5;
  4.  
  5. export const fontSize = cellSize / 3;
  6. export const currentCellSize = cellSize * 2;
  7. export const initialRadius = cellSize + 8;
  8. export const angle = 2.39982772; // Golden angle
  9.  
  10. export const scaleBy = 0.4;
  11. export const scaleMin = 0.5;
  12. export const scaleMax = 3;
  13. export const scaleActive = 1.8;
  14. export const scaleSpeed = 0.15;
  15.  
  16. export const filterTypes = {
  17. ip: 'ip',
  18. fingerprint: 'fingerprint',
  19. paymentAccount: 'paymentAccount',
  20. };
  21.  
  22. export const filterNames = {
  23. ip: 'IP Address',
  24. fingerprint: 'Device Fingerprint',
  25. paymentAccount: 'Payment Account',
  26. };
  27.  
  28. export const graphOptions = {
  29. autoResize: true,
  30. height: '100%',
  31. width: '100%',
  32. nodes: {
  33. shape: 'circularImage',
  34. borderWidth: 0,
  35. },
  36. edges: {
  37. smooth: {
  38. enabled: true,
  39. type: 'continuous',
  40. roundness: 1,
  41. },
  42. arrows: {
  43. to: {enabled: false},
  44. },
  45. color: {
  46. color: '#ee6a74',
  47. highlight: '#ee6a74',
  48. },
  49. selectionWidth: 1,
  50. width: 7,
  51. },
  52. physics: {
  53. barnesHut: {
  54. centralGravity: 1,
  55. gravitationalConstant: -50000,
  56. springConstant: 0.006,
  57. springLength: 300,
  58. },
  59. },
  60. };
  61.  
  62. export const unselectedWidth = 1.5;
  63. export const unselectedColor = {
  64. color: '#ccc',
  65. highlight: '#ccc',
  66. };
  67. export const selectedColor = {
  68. color: '#33c5d1',
  69. };
  70. export const connectionHighlightColor = {
  71. color: 'red',
  72. };
  73.  
  74. export const personAnonColor = '#525e64';
  75.  
  76. export const personNewbieColor = '#1bbc9b';
  77.  
  78. export const personBronzeColor = '#c49f47';
  79.  
  80. export const personSilverColor = '#bfbfbf';
  81.  
  82. export const personGoldColor = '#f1c40f';
  83.  
  84. export const personPlatinumColor = '#c49f47';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement