@neo4j-ndl/react-graph 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/lib/cjs/graph-visualization-buttons.js +85 -20
  2. package/lib/cjs/graph-visualization-buttons.js.map +1 -1
  3. package/lib/esm/graph-visualization-buttons.js +85 -20
  4. package/lib/esm/graph-visualization-buttons.js.map +1 -1
  5. package/lib/types/graph-visualization-buttons.d.ts +13 -5
  6. package/lib/types/graph-visualization-buttons.d.ts.map +1 -1
  7. package/lib/types/graph-visualization.d.ts +58 -3
  8. package/lib/types/graph-visualization.d.ts.map +1 -1
  9. package/package.json +1 -1
  10. package/lib/cjs/stories/graph-visualization-barebones.story.js +0 -93
  11. package/lib/cjs/stories/graph-visualization-barebones.story.js.map +0 -1
  12. package/lib/cjs/stories/graph-visualization-custom.story.js +0 -77
  13. package/lib/cjs/stories/graph-visualization-custom.story.js.map +0 -1
  14. package/lib/cjs/stories/graph-visualization-default.story.js +0 -93
  15. package/lib/cjs/stories/graph-visualization-default.story.js.map +0 -1
  16. package/lib/cjs/stories/graph-visualization-highlighting.story.js +0 -30
  17. package/lib/cjs/stories/graph-visualization-highlighting.story.js.map +0 -1
  18. package/lib/cjs/stories/graph-visualization-maximalist.story.js +0 -107
  19. package/lib/cjs/stories/graph-visualization-maximalist.story.js.map +0 -1
  20. package/lib/cjs/stories/graph-visualization-range-styling.story.js +0 -100
  21. package/lib/cjs/stories/graph-visualization-range-styling.story.js.map +0 -1
  22. package/lib/cjs/stories/graph-visualization-rule-based-styling-advanced.story.js +0 -270
  23. package/lib/cjs/stories/graph-visualization-rule-based-styling-advanced.story.js.map +0 -1
  24. package/lib/cjs/stories/graph-visualization-rule-based-styling-datetime.story.js +0 -181
  25. package/lib/cjs/stories/graph-visualization-rule-based-styling-datetime.story.js.map +0 -1
  26. package/lib/cjs/stories/graph-visualization-rule-based-styling.story.js +0 -81
  27. package/lib/cjs/stories/graph-visualization-rule-based-styling.story.js.map +0 -1
  28. package/lib/cjs/stories/graph-visualization-search.story.js +0 -36
  29. package/lib/cjs/stories/graph-visualization-search.story.js.map +0 -1
  30. package/lib/cjs/stories/graph-visualization-simple-styling.story.js +0 -59
  31. package/lib/cjs/stories/graph-visualization-simple-styling.story.js.map +0 -1
  32. package/lib/cjs/stories/graph-visualization-unique-colors-styling.story.js +0 -71
  33. package/lib/cjs/stories/graph-visualization-unique-colors-styling.story.js.map +0 -1
  34. package/lib/cjs/stories/index.js +0 -80
  35. package/lib/cjs/stories/index.js.map +0 -1
  36. package/lib/cjs/stories/preview-graph-visualization.story.js +0 -68
  37. package/lib/cjs/stories/preview-graph-visualization.story.js.map +0 -1
  38. package/lib/cjs/stories/story-data.js +0 -992
  39. package/lib/cjs/stories/story-data.js.map +0 -1
  40. package/lib/esm/stories/graph-visualization-barebones.story.js +0 -90
  41. package/lib/esm/stories/graph-visualization-barebones.story.js.map +0 -1
  42. package/lib/esm/stories/graph-visualization-custom.story.js +0 -74
  43. package/lib/esm/stories/graph-visualization-custom.story.js.map +0 -1
  44. package/lib/esm/stories/graph-visualization-default.story.js +0 -90
  45. package/lib/esm/stories/graph-visualization-default.story.js.map +0 -1
  46. package/lib/esm/stories/graph-visualization-highlighting.story.js +0 -28
  47. package/lib/esm/stories/graph-visualization-highlighting.story.js.map +0 -1
  48. package/lib/esm/stories/graph-visualization-maximalist.story.js +0 -104
  49. package/lib/esm/stories/graph-visualization-maximalist.story.js.map +0 -1
  50. package/lib/esm/stories/graph-visualization-range-styling.story.js +0 -97
  51. package/lib/esm/stories/graph-visualization-range-styling.story.js.map +0 -1
  52. package/lib/esm/stories/graph-visualization-rule-based-styling-advanced.story.js +0 -267
  53. package/lib/esm/stories/graph-visualization-rule-based-styling-advanced.story.js.map +0 -1
  54. package/lib/esm/stories/graph-visualization-rule-based-styling-datetime.story.js +0 -178
  55. package/lib/esm/stories/graph-visualization-rule-based-styling-datetime.story.js.map +0 -1
  56. package/lib/esm/stories/graph-visualization-rule-based-styling.story.js +0 -78
  57. package/lib/esm/stories/graph-visualization-rule-based-styling.story.js.map +0 -1
  58. package/lib/esm/stories/graph-visualization-search.story.js +0 -34
  59. package/lib/esm/stories/graph-visualization-search.story.js.map +0 -1
  60. package/lib/esm/stories/graph-visualization-simple-styling.story.js +0 -56
  61. package/lib/esm/stories/graph-visualization-simple-styling.story.js.map +0 -1
  62. package/lib/esm/stories/graph-visualization-unique-colors-styling.story.js +0 -69
  63. package/lib/esm/stories/graph-visualization-unique-colors-styling.story.js.map +0 -1
  64. package/lib/esm/stories/index.js +0 -61
  65. package/lib/esm/stories/index.js.map +0 -1
  66. package/lib/esm/stories/preview-graph-visualization.story.js +0 -66
  67. package/lib/esm/stories/preview-graph-visualization.story.js.map +0 -1
  68. package/lib/esm/stories/story-data.js +0 -989
  69. package/lib/esm/stories/story-data.js.map +0 -1
  70. package/lib/types/stories/graph-visualization-barebones.story.d.ts +0 -24
  71. package/lib/types/stories/graph-visualization-barebones.story.d.ts.map +0 -1
  72. package/lib/types/stories/graph-visualization-custom.story.d.ts +0 -24
  73. package/lib/types/stories/graph-visualization-custom.story.d.ts.map +0 -1
  74. package/lib/types/stories/graph-visualization-default.story.d.ts +0 -24
  75. package/lib/types/stories/graph-visualization-default.story.d.ts.map +0 -1
  76. package/lib/types/stories/graph-visualization-highlighting.story.d.ts +0 -23
  77. package/lib/types/stories/graph-visualization-highlighting.story.d.ts.map +0 -1
  78. package/lib/types/stories/graph-visualization-maximalist.story.d.ts +0 -24
  79. package/lib/types/stories/graph-visualization-maximalist.story.d.ts.map +0 -1
  80. package/lib/types/stories/graph-visualization-range-styling.story.d.ts +0 -25
  81. package/lib/types/stories/graph-visualization-range-styling.story.d.ts.map +0 -1
  82. package/lib/types/stories/graph-visualization-rule-based-styling-advanced.story.d.ts +0 -33
  83. package/lib/types/stories/graph-visualization-rule-based-styling-advanced.story.d.ts.map +0 -1
  84. package/lib/types/stories/graph-visualization-rule-based-styling-datetime.story.d.ts +0 -25
  85. package/lib/types/stories/graph-visualization-rule-based-styling-datetime.story.d.ts.map +0 -1
  86. package/lib/types/stories/graph-visualization-rule-based-styling.story.d.ts +0 -25
  87. package/lib/types/stories/graph-visualization-rule-based-styling.story.d.ts.map +0 -1
  88. package/lib/types/stories/graph-visualization-search.story.d.ts +0 -23
  89. package/lib/types/stories/graph-visualization-search.story.d.ts.map +0 -1
  90. package/lib/types/stories/graph-visualization-simple-styling.story.d.ts +0 -25
  91. package/lib/types/stories/graph-visualization-simple-styling.story.d.ts.map +0 -1
  92. package/lib/types/stories/graph-visualization-unique-colors-styling.story.d.ts +0 -23
  93. package/lib/types/stories/graph-visualization-unique-colors-styling.story.d.ts.map +0 -1
  94. package/lib/types/stories/index.d.ts +0 -47
  95. package/lib/types/stories/index.d.ts.map +0 -1
  96. package/lib/types/stories/preview-graph-visualization.story.d.ts +0 -23
  97. package/lib/types/stories/preview-graph-visualization.story.d.ts.map +0 -1
  98. package/lib/types/stories/story-data.d.ts +0 -31
  99. package/lib/types/stories/story-data.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"story-data.js","sourceRoot":"","sources":["../../../src/stories/story-data.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAIU,QAAA,UAAU,GAAyC;IAC9D,KAAK,EAAE;QACL;YACE,EAAE,EAAE,OAAO;YACX,MAAM,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC;YAChC,UAAU,EAAE;gBACV,mBAAmB,EAAE;oBACnB,WAAW,EAAE,oBAAoB;oBACjC,IAAI,EAAE,UAAU;iBACjB;gBACD,cAAc,EAAE;oBACd,WAAW,EAAE,0BAA0B;oBACvC,IAAI,EAAE,MAAM;iBACb;gBACD,UAAU,EAAE;oBACV,WAAW,EAAE,MAAM;oBACnB,IAAI,EAAE,MAAM;iBACb;gBACD,SAAS,EAAE;oBACT,WAAW,EAAE,MAAM;oBACnB,IAAI,EAAE,SAAS;iB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AAE,SAAS;YACb,IAAI,EAAE,WAAW;YACjB,EAAE,EAAE,WAAW;YACf,IAAI,EAAE,YAAY;YAClB,UAAU,EAAE;gBACV,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE;gBAC7C,MAAM,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE;aACnD;SACF;KACF;CACF,CAAC;AAEW,QAAA,gBAAgB,GAC3B,oEAAoE,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { type NeoNode, type NeoRel } from '../graph-visualization-context';\n\nexport const StoryGraph: { nodes: NeoNode[]; rels: NeoRel[] } = {\n nodes: [\n {\n id: 'node1',\n labels: ['Pokemon', 'Legendary'],\n properties: {\n durationToWinBattle: {\n stringified: 'P0M0DT0.000000001S',\n type: 'duration',\n },\n favoriteColors: {\n stringified: '[\"red\", \"blue\", \"green\"]',\n type: 'list',\n },\n getsBeatBy: {\n stringified: 'null',\n type: 'null',\n },\n isAwesome: {\n stringified: 'true',\n type: 'boolean',\n },\n location: {\n stringified: 'point({srid:1, x:100, y:200, z:300})',\n type: 'point',\n },\n name: {\n stringified: '\"Rayquaza\"',\n type: 'string',\n },\n weight: {\n stringified: '392.0',\n type: 'float',\n },\n },\n },\n {\n id: 'node2',\n labels: ['Type'],\n properties: { name: { stringified: '\"Dragon\"', type: 'string' } },\n },\n {\n id: 'node3',\n labels: ['Type'],\n properties: { name: { stringified: '\"Flying\"', type: 'string' } },\n },\n {\n id: 'node4',\n labels: ['Pokemon'],\n properties: { name: { stringified: '\"Pidgey\"', type: 'string' } },\n },\n ],\n rels: [\n {\n from: 'node1',\n id: 'rel1',\n properties: {},\n to: 'node2',\n type: 'HAS_TYPE',\n },\n {\n from: 'node1',\n id: 'rel2',\n properties: {},\n to: 'node3',\n type: 'HAS_TYPE',\n },\n {\n from: 'node4',\n id: 'rel3',\n properties: {},\n to: 'node3',\n type: 'HAS_TYPE',\n },\n ],\n};\n\nexport const advancedStoryGraph: { nodes: NeoNode[]; rels: NeoRel[] } = {\n nodes: [\n // Trainers\n {\n id: 'trainer1',\n labels: ['Trainer'],\n properties: {\n name: { stringified: '\"Ash\"', type: 'string' },\n level: { stringified: '85', type: 'integer' },\n badges: { stringified: '8', type: 'integer' },\n reputation: { stringified: '\"Champion\"', type: 'string' },\n },\n },\n {\n id: 'trainer2',\n labels: ['Trainer'],\n properties: {\n name: { stringified: '\"Misty\"', type: 'string' },\n level: { stringified: '72', type: 'integer' },\n badges: { stringified: '8', type: 'integer' },\n reputation: { stringified: '\"Gym Leader\"', type: 'string' },\n },\n },\n {\n id: 'trainer3',\n labels: ['Trainer'],\n properties: {\n name: { stringified: '\"Gary\"', type: 'string' },\n level: { stringified: '80', type: 'integer' },\n badges: { stringified: '8', type: 'integer' },\n reputation: { stringified: '\"Rival\"', type: 'string' },\n },\n },\n {\n id: 'trainer4',\n labels: ['Trainer'],\n properties: {\n name: { stringified: '\"Brock\"', type: 'string' },\n level: { stringified: '68', type: 'integer' },\n badges: { stringified: '2', type: 'integer' },\n reputation: { stringified: '\"Breeder\"', type: 'string' },\n },\n },\n // Gyms\n {\n id: 'gym1',\n labels: ['Gym'],\n properties: {\n name: { stringified: '\"Cerulean Gym\"', type: 'string' },\n city: { stringified: '\"Cerulean City\"', type: 'string' },\n type: { stringified: '\"Water\"', type: 'string' },\n badge: { stringified: '\"Cascade Badge\"', type: 'string' },\n },\n },\n // Ash's Pokemon\n {\n id: 'pokemon1',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Pikachu\"', type: 'string' },\n level: { stringified: '88', type: 'integer' },\n is_starter: { stringified: 'true', type: 'boolean' },\n catch_rate: { stringified: '190.0', type: 'float' },\n },\n },\n {\n id: 'pokemon2',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Charizard\"', type: 'string' },\n level: { stringified: '82', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '45.0', type: 'float' },\n },\n },\n {\n id: 'pokemon3',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Greninja\"', type: 'string' },\n level: { stringified: '80', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '45.0', type: 'float' },\n },\n },\n // Misty's Pokemon\n {\n id: 'pokemon4',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Starmie\"', type: 'string' },\n level: { stringified: '75', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '60.0', type: 'float' },\n },\n },\n {\n id: 'pokemon5',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Psyduck\"', type: 'string' },\n level: { stringified: '65', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '190.0', type: 'float' },\n },\n },\n {\n id: 'pokemon6',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Gyarados\"', type: 'string' },\n level: { stringified: '78', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '45.0', type: 'float' },\n },\n },\n // Gary's Pokemon\n {\n id: 'pokemon7',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Blastoise\"', type: 'string' },\n level: { stringified: '83', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '45.0', type: 'float' },\n },\n },\n {\n id: 'pokemon8',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Umbreon\"', type: 'string' },\n level: { stringified: '79', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '45.0', type: 'float' },\n },\n },\n {\n id: 'pokemon9',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Electivire\"', type: 'string' },\n level: { stringified: '81', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '30.0', type: 'float' },\n },\n },\n // Brock's Pokemon\n {\n id: 'pokemon10',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Onix\"', type: 'string' },\n level: { stringified: '70', type: 'integer' },\n is_starter: { stringified: 'true', type: 'boolean' },\n catch_rate: { stringified: '45.0', type: 'float' },\n },\n },\n // Evolution Pokemon (pre-evolutions and uncaught)\n {\n id: 'pokemon11',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Pichu\"', type: 'string' },\n level: { stringified: '1', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '190.0', type: 'float' },\n },\n },\n {\n id: 'pokemon12',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Raichu\"', type: 'string' },\n level: { stringified: '1', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '75.0', type: 'float' },\n },\n },\n {\n id: 'pokemon13',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Charmander\"', type: 'string' },\n level: { stringified: '1', type: 'integer' },\n is_starter: { stringified: 'true', type: 'boolean' },\n catch_rate: { stringified: '45.0', type: 'float' },\n },\n },\n {\n id: 'pokemon14',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Charmeleon\"', type: 'string' },\n level: { stringified: '1', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '45.0', type: 'float' },\n },\n },\n {\n id: 'pokemon15',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Staryu\"', type: 'string' },\n level: { stringified: '1', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '225.0', type: 'float' },\n },\n },\n {\n id: 'pokemon16',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Golduck\"', type: 'string' },\n level: { stringified: '1', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '75.0', type: 'float' },\n },\n },\n {\n id: 'pokemon17',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Magikarp\"', type: 'string' },\n level: { stringified: '1', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '255.0', type: 'float' },\n },\n },\n {\n id: 'pokemon18',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Eevee\"', type: 'string' },\n level: { stringified: '1', type: 'integer' },\n is_starter: { stringified: 'true', type: 'boolean' },\n catch_rate: { stringified: '45.0', type: 'float' },\n },\n },\n {\n id: 'pokemon19',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Steelix\"', type: 'string' },\n level: { stringified: '1', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '25.0', type: 'float' },\n },\n },\n // Uncaught evolution line: Bulbasaur line\n {\n id: 'pokemon20',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Bulbasaur\"', type: 'string' },\n level: { stringified: '1', type: 'integer' },\n is_starter: { stringified: 'true', type: 'boolean' },\n catch_rate: { stringified: '45.0', type: 'float' },\n },\n },\n {\n id: 'pokemon21',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Ivysaur\"', type: 'string' },\n level: { stringified: '1', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '45.0', type: 'float' },\n },\n },\n {\n id: 'pokemon22',\n labels: ['Pokemon'],\n properties: {\n name: { stringified: '\"Venusaur\"', type: 'string' },\n level: { stringified: '1', type: 'integer' },\n is_starter: { stringified: 'false', type: 'boolean' },\n catch_rate: { stringified: '45.0', type: 'float' },\n },\n },\n // Types\n {\n id: 'type1',\n labels: ['Type'],\n properties: {\n name: { stringified: '\"Electric\"', type: 'string' },\n },\n },\n {\n id: 'type2',\n labels: ['Type'],\n properties: {\n name: { stringified: '\"Fire\"', type: 'string' },\n },\n },\n {\n id: 'type3',\n labels: ['Type'],\n properties: {\n name: { stringified: '\"Flying\"', type: 'string' },\n },\n },\n {\n id: 'type4',\n labels: ['Type'],\n properties: {\n name: { stringified: '\"Water\"', type: 'string' },\n },\n },\n {\n id: 'type5',\n labels: ['Type'],\n properties: {\n name: { stringified: '\"Dark\"', type: 'string' },\n },\n },\n {\n id: 'type6',\n labels: ['Type'],\n properties: {\n name: { stringified: '\"Psychic\"', type: 'string' },\n },\n },\n {\n id: 'type7',\n labels: ['Type'],\n properties: {\n name: { stringified: '\"Rock\"', type: 'string' },\n },\n },\n {\n id: 'type8',\n labels: ['Type'],\n properties: {\n name: { stringified: '\"Ground\"', type: 'string' },\n },\n },\n {\n id: 'type9',\n labels: ['Type'],\n properties: {\n name: { stringified: '\"Grass\"', type: 'string' },\n },\n },\n {\n id: 'type10',\n labels: ['Type'],\n properties: {\n name: { stringified: '\"Poison\"', type: 'string' },\n },\n },\n {\n id: 'type11',\n labels: ['Type'],\n properties: {\n name: { stringified: '\"Steel\"', type: 'string' },\n },\n },\n {\n id: 'type12',\n labels: ['Type'],\n properties: {\n name: { stringified: '\"Normal\"', type: 'string' },\n },\n },\n ],\n rels: [\n // Trainer -> Pokemon relationships (CAUGHT)\n // Ash's Pokemon\n {\n id: 'rel_p1',\n from: 'trainer1',\n to: 'pokemon1',\n type: 'CAUGHT',\n properties: {\n at: { stringified: '\"1997-04-01\"', type: 'string' },\n level: { stringified: '5', type: 'integer' },\n },\n },\n {\n id: 'rel_p2',\n from: 'trainer1',\n to: 'pokemon2',\n type: 'CAUGHT',\n properties: {\n at: { stringified: '\"1997-06-15\"', type: 'string' },\n level: { stringified: '7', type: 'integer' },\n },\n },\n {\n id: 'rel_p3',\n from: 'trainer1',\n to: 'pokemon3',\n type: 'CAUGHT',\n properties: {\n at: { stringified: '\"2015-10-22\"', type: 'string' },\n level: { stringified: '5', type: 'integer' },\n },\n },\n // Misty's Pokemon\n {\n id: 'rel_p4',\n from: 'trainer2',\n to: 'pokemon4',\n type: 'CAUGHT',\n properties: {\n at: { stringified: '\"1996-08-10\"', type: 'string' },\n level: { stringified: '20', type: 'integer' },\n },\n },\n {\n id: 'rel_p5',\n from: 'trainer2',\n to: 'pokemon5',\n type: 'CAUGHT',\n properties: {\n at: { stringified: '\"1997-09-12\"', type: 'string' },\n level: { stringified: '15', type: 'integer' },\n },\n },\n {\n id: 'rel_p6',\n from: 'trainer2',\n to: 'pokemon6',\n type: 'CAUGHT',\n properties: {\n at: { stringified: '\"1998-02-18\"', type: 'string' },\n level: { stringified: '10', type: 'integer' },\n },\n },\n // Gary's Pokemon\n {\n id: 'rel_p7',\n from: 'trainer3',\n to: 'pokemon7',\n type: 'CAUGHT',\n properties: {\n at: { stringified: '\"1997-04-01\"', type: 'string' },\n level: { stringified: '5', type: 'integer' },\n },\n },\n {\n id: 'rel_p8',\n from: 'trainer3',\n to: 'pokemon8',\n type: 'CAUGHT',\n properties: {\n at: { stringified: '\"1999-12-14\"', type: 'string' },\n level: { stringified: '12', type: 'integer' },\n },\n },\n {\n id: 'rel_p9',\n from: 'trainer3',\n to: 'pokemon9',\n type: 'CAUGHT',\n properties: {\n at: { stringified: '\"2008-05-29\"', type: 'string' },\n level: { stringified: '30', type: 'integer' },\n },\n },\n // Brock's Pokemon\n {\n id: 'rel_p10',\n from: 'trainer4',\n to: 'pokemon10',\n type: 'CAUGHT',\n properties: {\n at: { stringified: '\"1995-03-20\"', type: 'string' },\n level: { stringified: '8', type: 'integer' },\n },\n },\n // Gym leadership\n {\n id: 'rel1',\n from: 'trainer2',\n to: 'gym1',\n type: 'LEADS',\n properties: {\n since: { stringified: '\"1998-03-15\"', type: 'string' },\n },\n },\n // Gym -> Type specialization\n {\n id: 'rel_gym_type',\n from: 'gym1',\n to: 'type4',\n type: 'SPECIALIZES_IN',\n properties: {},\n },\n // Ash's gym battle\n {\n id: 'rel2',\n from: 'trainer1',\n to: 'gym1',\n type: 'BATTLED',\n properties: {\n date: { stringified: '\"2024-05-10\"', type: 'string' },\n won: { stringified: 'true', type: 'boolean' },\n attempt: { stringified: '1', type: 'integer' },\n },\n },\n // Gary's first gym battle (lost)\n {\n id: 'rel3',\n from: 'trainer3',\n to: 'gym1',\n type: 'BATTLED',\n properties: {\n date: { stringified: '\"2024-04-15\"', type: 'string' },\n won: { stringified: 'false', type: 'boolean' },\n attempt: { stringified: '1', type: 'integer' },\n },\n },\n // Gary's second gym battle (won)\n {\n id: 'rel4',\n from: 'trainer3',\n to: 'gym1',\n type: 'BATTLED',\n properties: {\n date: { stringified: '\"2024-06-20\"', type: 'string' },\n won: { stringified: 'true', type: 'boolean' },\n attempt: { stringified: '2', type: 'integer' },\n },\n },\n // Rival battles between Ash and Gary\n {\n id: 'rel5',\n from: 'trainer1',\n to: 'trainer3',\n type: 'BATTLED',\n properties: {\n date: { stringified: '\"2024-03-10\"', type: 'string' },\n won: { stringified: 'false', type: 'boolean' },\n location: { stringified: '\"Pallet Town\"', type: 'string' },\n },\n },\n {\n id: 'rel6',\n from: 'trainer1',\n to: 'trainer3',\n type: 'BATTLED',\n properties: {\n date: { stringified: '\"2024-05-22\"', type: 'string' },\n won: { stringified: 'true', type: 'boolean' },\n location: { stringified: '\"Viridian City\"', type: 'string' },\n },\n },\n {\n id: 'rel7',\n from: 'trainer1',\n to: 'trainer3',\n type: 'BATTLED',\n properties: {\n date: { stringified: '\"2024-07-15\"', type: 'string' },\n won: { stringified: 'true', type: 'boolean' },\n location: { stringified: '\"Indigo Plateau\"', type: 'string' },\n },\n },\n // Pokemon -> Type relationships (OF_TYPE)\n {\n id: 'rel_t1',\n from: 'pokemon1',\n to: 'type1',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t2',\n from: 'pokemon2',\n to: 'type2',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t3',\n from: 'pokemon2',\n to: 'type3',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t4',\n from: 'pokemon3',\n to: 'type4',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t5',\n from: 'pokemon3',\n to: 'type5',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t6',\n from: 'pokemon4',\n to: 'type4',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t7',\n from: 'pokemon4',\n to: 'type6',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t8',\n from: 'pokemon5',\n to: 'type4',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t9',\n from: 'pokemon6',\n to: 'type4',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t10',\n from: 'pokemon6',\n to: 'type3',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t11',\n from: 'pokemon7',\n to: 'type4',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t12',\n from: 'pokemon8',\n to: 'type5',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t13',\n from: 'pokemon9',\n to: 'type1',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t14',\n from: 'pokemon10',\n to: 'type7',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t15',\n from: 'pokemon10',\n to: 'type8',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t16',\n from: 'pokemon11',\n to: 'type1',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t17',\n from: 'pokemon12',\n to: 'type1',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t18',\n from: 'pokemon13',\n to: 'type2',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t19',\n from: 'pokemon14',\n to: 'type2',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t20',\n from: 'pokemon15',\n to: 'type4',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t21',\n from: 'pokemon16',\n to: 'type4',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t22',\n from: 'pokemon17',\n to: 'type4',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t23',\n from: 'pokemon18',\n to: 'type12',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t24',\n from: 'pokemon19',\n to: 'type11',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t25',\n from: 'pokemon19',\n to: 'type8',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t26',\n from: 'pokemon20',\n to: 'type9',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t27',\n from: 'pokemon20',\n to: 'type10',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t28',\n from: 'pokemon21',\n to: 'type9',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t29',\n from: 'pokemon21',\n to: 'type10',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t30',\n from: 'pokemon22',\n to: 'type9',\n type: 'OF_TYPE',\n properties: {},\n },\n {\n id: 'rel_t31',\n from: 'pokemon22',\n to: 'type10',\n type: 'OF_TYPE',\n properties: {},\n },\n // Evolution relationships (EVOLVES_TO)\n {\n id: 'rel_e1',\n from: 'pokemon11',\n to: 'pokemon1',\n type: 'EVOLVES_TO',\n properties: {\n level: { stringified: '0', type: 'integer' },\n method: { stringified: '\"Friendship\"', type: 'string' },\n },\n },\n {\n id: 'rel_e2',\n from: 'pokemon1',\n to: 'pokemon12',\n type: 'EVOLVES_TO',\n properties: {\n level: { stringified: '0', type: 'integer' },\n method: { stringified: '\"Thunder Stone\"', type: 'string' },\n },\n },\n {\n id: 'rel_e3',\n from: 'pokemon13',\n to: 'pokemon14',\n type: 'EVOLVES_TO',\n properties: {\n level: { stringified: '16', type: 'integer' },\n method: { stringified: '\"Level\"', type: 'string' },\n },\n },\n {\n id: 'rel_e4',\n from: 'pokemon14',\n to: 'pokemon2',\n type: 'EVOLVES_TO',\n properties: {\n level: { stringified: '36', type: 'integer' },\n method: { stringified: '\"Level\"', type: 'string' },\n },\n },\n {\n id: 'rel_e5',\n from: 'pokemon15',\n to: 'pokemon4',\n type: 'EVOLVES_TO',\n properties: {\n level: { stringified: '0', type: 'integer' },\n method: { stringified: '\"Water Stone\"', type: 'string' },\n },\n },\n {\n id: 'rel_e6',\n from: 'pokemon5',\n to: 'pokemon16',\n type: 'EVOLVES_TO',\n properties: {\n level: { stringified: '33', type: 'integer' },\n method: { stringified: '\"Level\"', type: 'string' },\n },\n },\n {\n id: 'rel_e7',\n from: 'pokemon17',\n to: 'pokemon6',\n type: 'EVOLVES_TO',\n properties: {\n level: { stringified: '20', type: 'integer' },\n method: { stringified: '\"Level\"', type: 'string' },\n },\n },\n {\n id: 'rel_e8',\n from: 'pokemon18',\n to: 'pokemon8',\n type: 'EVOLVES_TO',\n properties: {\n level: { stringified: '0', type: 'integer' },\n method: { stringified: '\"Friendship (Night)\"', type: 'string' },\n },\n },\n {\n id: 'rel_e9',\n from: 'pokemon10',\n to: 'pokemon19',\n type: 'EVOLVES_TO',\n properties: {\n level: { stringified: '0', type: 'integer' },\n method: { stringified: '\"Trade with Metal Coat\"', type: 'string' },\n },\n },\n {\n id: 'rel_e10',\n from: 'pokemon20',\n to: 'pokemon21',\n type: 'EVOLVES_TO',\n properties: {\n level: { stringified: '16', type: 'integer' },\n method: { stringified: '\"Level\"', type: 'string' },\n },\n },\n {\n id: 'rel_e11',\n from: 'pokemon21',\n to: 'pokemon22',\n type: 'EVOLVES_TO',\n properties: {\n level: { stringified: '32', type: 'integer' },\n method: { stringified: '\"Level\"', type: 'string' },\n },\n },\n ],\n};\n\nexport const containerClasses =\n 'n-w-full n-border-neutral-border-weak n-mx-2 n-rounded-lg n-border';\n"]}
@@ -1,90 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- *
4
- * Copyright (c) "Neo4j"
5
- * Neo4j Sweden AB [http://neo4j.com]
6
- *
7
- * This file is part of Neo4j.
8
- *
9
- * Neo4j is free software: you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation, either version 3 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
- */
22
- import { GraphVisualization } from '../graph-visualization';
23
- const nodes = [
24
- {
25
- id: 'node1',
26
- labels: ['Pokemon', 'Legendary'],
27
- properties: {
28
- durationToWinBattle: {
29
- stringified: 'P0M0DT0.000000001S',
30
- type: 'duration',
31
- },
32
- favoriteColors: {
33
- stringified: '["red", "blue", "green"]',
34
- type: 'list',
35
- },
36
- getsBeatBy: {
37
- stringified: 'null',
38
- type: 'null',
39
- },
40
- isAwesome: {
41
- stringified: 'true',
42
- type: 'boolean',
43
- },
44
- location: {
45
- stringified: 'point({srid:1, x:100, y:200, z:300})',
46
- type: 'point',
47
- },
48
- name: {
49
- stringified: '"Rayquaza"',
50
- type: 'string',
51
- },
52
- weight: {
53
- stringified: '392.0',
54
- type: 'float',
55
- },
56
- },
57
- },
58
- {
59
- id: 'node2',
60
- labels: ['Type'],
61
- properties: { name: { stringified: 'Dragon', type: 'String' } },
62
- },
63
- {
64
- id: 'node3',
65
- labels: ['Type'],
66
- properties: { name: { stringified: 'Flying', type: 'String' } },
67
- },
68
- ];
69
- const rels = [
70
- {
71
- from: 'node1',
72
- id: 'rel1',
73
- properties: {},
74
- to: 'node2',
75
- type: 'HAS_TYPE',
76
- },
77
- {
78
- from: 'node1',
79
- id: 'rel2',
80
- properties: {},
81
- to: 'node3',
82
- type: 'HAS_TYPE',
83
- },
84
- ];
85
- export const containerClasses = 'n-w-full n-border-neutral-border-weak n-mx-2 n-rounded-lg n-border';
86
- const Component = () => {
87
- return (_jsx("div", { style: { height: '600px' }, children: _jsx(GraphVisualization, { bottomLeftIsland: null, bottomCenterIsland: null, bottomRightIsland: null, nodes: nodes, rels: rels, sidepanel: null, topLeftIsland: null, topRightIsland: null, className: containerClasses }) }));
88
- };
89
- export default Component;
90
- //# sourceMappingURL=graph-visualization-barebones.story.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph-visualization-barebones.story.js","sourceRoot":"","sources":["../../../src/stories/graph-visualization-barebones.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D,MAAM,KAAK,GAAc;IACvB;QACE,EAAE,EAAE,OAAO;QACX,MAAM,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC;QAChC,UAAU,EAAE;YACV,mBAAmB,EAAE;gBACnB,WAAW,EAAE,oBAAoB;gBACjC,IAAI,EAAE,UAAU;aACjB;YACD,cAAc,EAAE;gBACd,WAAW,EAAE,0BAA0B;gBACvC,IAAI,EAAE,MAAM;aACb;YACD,UAAU,EAAE;gBACV,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;aACb;YACD,SAAS,EAAE;gBACT,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,SAAS;aAChB;YACD,QAAQ,EAAE;gBACR,WAAW,EAAE,sCAAsC;gBACnD,IAAI,EAAE,OAAO;aACd;YACD,IAAI,EAAE;gBACJ,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,QAAQ;aACf;YACD,MAAM,EAAE;g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* This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { GraphVisualization } from '../graph-visualization';\nimport { type NeoNode } from '../graph-visualization-context';\n\nconst nodes: NeoNode[] = [\n {\n id: 'node1',\n labels: ['Pokemon', 'Legendary'],\n properties: {\n durationToWinBattle: {\n stringified: 'P0M0DT0.000000001S',\n type: 'duration',\n },\n favoriteColors: {\n stringified: '[\"red\", \"blue\", \"green\"]',\n type: 'list',\n },\n getsBeatBy: {\n stringified: 'null',\n type: 'null',\n },\n isAwesome: {\n stringified: 'true',\n type: 'boolean',\n },\n location: {\n stringified: 'point({srid:1, x:100, y:200, z:300})',\n type: 'point',\n },\n name: {\n stringified: '\"Rayquaza\"',\n type: 'string',\n },\n weight: {\n stringified: '392.0',\n type: 'float',\n },\n },\n },\n {\n id: 'node2',\n labels: ['Type'],\n properties: { name: { stringified: 'Dragon', type: 'String' } },\n },\n {\n id: 'node3',\n labels: ['Type'],\n properties: { name: { stringified: 'Flying', type: 'String' } },\n },\n];\n\nconst rels = [\n {\n from: 'node1',\n id: 'rel1',\n properties: {},\n to: 'node2',\n type: 'HAS_TYPE',\n },\n {\n from: 'node1',\n id: 'rel2',\n properties: {},\n to: 'node3',\n type: 'HAS_TYPE',\n },\n];\nexport const containerClasses =\n 'n-w-full n-border-neutral-border-weak n-mx-2 n-rounded-lg n-border';\n\nconst Component = () => {\n return (\n <div style={{ height: '600px' }}>\n <GraphVisualization\n bottomLeftIsland={null}\n bottomCenterIsland={null}\n bottomRightIsland={null}\n nodes={nodes}\n rels={rels}\n sidepanel={null}\n topLeftIsland={null}\n topRightIsland={null}\n className={containerClasses}\n />\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -1,74 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /**
3
- *
4
- * Copyright (c) "Neo4j"
5
- * Neo4j Sweden AB [http://neo4j.com]
6
- *
7
- * This file is part of Neo4j.
8
- *
9
- * Neo4j is free software: you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation, either version 3 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
- */
22
- import { IconButtonArray, TextInput } from '@neo4j-ndl/react';
23
- import { useState } from 'react';
24
- import { GraphVisualization } from '../graph-visualization';
25
- const nodes = [
26
- {
27
- id: 'node1',
28
- labels: ['Pokemon', 'Legendary'],
29
- properties: {},
30
- },
31
- {
32
- id: 'node2',
33
- labels: ['Type'],
34
- properties: { name: { stringified: 'Dragon', type: 'String' } },
35
- },
36
- {
37
- id: 'node3',
38
- labels: ['Type'],
39
- properties: { name: { stringified: 'Flying', type: 'String' } },
40
- },
41
- ];
42
- const rels = [
43
- {
44
- from: 'node1',
45
- id: 'rel1',
46
- properties: {},
47
- to: 'node2',
48
- type: 'HAS_TYPE',
49
- },
50
- {
51
- from: 'node1',
52
- id: 'rel2',
53
- properties: {},
54
- to: 'node3',
55
- type: 'HAS_TYPE',
56
- },
57
- ];
58
- export const containerClasses = 'n-w-full n-border-neutral-border-weak n-mx-2 n-rounded-lg n-border';
59
- const Component = () => {
60
- const [gesture, setGesture] = useState('box');
61
- const [isSidePanelOpen, setIsSidePanelOpen] = useState(false);
62
- const [search, setSearch] = useState('');
63
- return (_jsx("div", { style: { height: '600px' }, children: _jsx(GraphVisualization, { gesture: gesture, setGesture: setGesture, bottomLeftIsland: _jsx("div", { children: "\u2199\uFE0F" }), bottomCenterIsland: _jsx("div", { children: "\u2B07\uFE0F" }), bottomRightIsland: _jsxs(IconButtonArray, { size: "small", children: [_jsx(GraphVisualization.LassoSelectButton, {}), _jsx(GraphVisualization.SingleSelectButton, {}), _jsx(GraphVisualization.BoxSelectButton, {})] }), nodes: nodes, rels: rels, sidepanel: {
64
- children: (_jsx(TextInput, { label: "Search in custom panel", value: search, onChange: (e) => setSearch(e.target.value) })),
65
- isSidePanelOpen,
66
- setIsSidePanelOpen,
67
- onSidePanelResize: () => {
68
- /* no op */
69
- },
70
- sidePanelWidth: 300,
71
- }, topLeftIsland: _jsx("div", { children: "\u2196\uFE0F" }), topRightIsland: _jsx(GraphVisualization.ToggleSidePanelButton, {}), className: containerClasses }) }));
72
- };
73
- export default Component;
74
- //# sourceMappingURL=graph-visualization-custom.story.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph-visualization-custom.story.js","sourceRoot":"","sources":["../../../src/stories/graph-visualization-custom.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D,MAAM,KAAK,GAAc;IACvB;QACE,EAAE,EAAE,OAAO;QACX,MAAM,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC;QAChC,UAAU,EAAE,EAAE;KACf;IACD;QACE,EAAE,EAAE,OAAO;QACX,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,UAAU,EAAE,EAAE,IAAI,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;KAChE;IACD;QAC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ACT,QAAQ,EAAE,CACR,KAAC,SAAS,IACR,KAAK,EAAC,wBAAwB,EAC9B,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,GAC1C,CACH;gBACD,eAAe;gBACf,kBAAkB;gBAClB,iBAAiB,EAAE,GAAG,EAAE;oBACtB,WAAW;gBACb,CAAC;gBACD,cAAc,EAAE,GAAG;aACpB,EACD,aAAa,EAAE,yCAAa,EAC5B,cAAc,EAAE,KAAC,kBAAkB,CAAC,qBAAqB,KAAG,EAC5D,SAAS,EAAE,gBAAgB,GAC3B,GACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { IconButtonArray, TextInput } from '@neo4j-ndl/react';\nimport { useState } from 'react';\n\nimport { GraphVisualization } from '../graph-visualization';\nimport { type Gesture, type NeoNode } from '../graph-visualization-context';\n\nconst nodes: NeoNode[] = [\n {\n id: 'node1',\n labels: ['Pokemon', 'Legendary'],\n properties: {},\n },\n {\n id: 'node2',\n labels: ['Type'],\n properties: { name: { stringified: 'Dragon', type: 'String' } },\n },\n {\n id: 'node3',\n labels: ['Type'],\n properties: { name: { stringified: 'Flying', type: 'String' } },\n },\n];\n\nconst rels = [\n {\n from: 'node1',\n id: 'rel1',\n properties: {},\n to: 'node2',\n type: 'HAS_TYPE',\n },\n {\n from: 'node1',\n id: 'rel2',\n properties: {},\n to: 'node3',\n type: 'HAS_TYPE',\n },\n];\nexport const containerClasses =\n 'n-w-full n-border-neutral-border-weak n-mx-2 n-rounded-lg n-border';\n\nconst Component = () => {\n const [gesture, setGesture] = useState<Gesture>('box');\n const [isSidePanelOpen, setIsSidePanelOpen] = useState(false);\n const [search, setSearch] = useState('');\n\n return (\n <div style={{ height: '600px' }}>\n <GraphVisualization\n gesture={gesture}\n setGesture={setGesture}\n bottomLeftIsland={<div>↙️</div>}\n bottomCenterIsland={<div>⬇️</div>}\n bottomRightIsland={\n <IconButtonArray size=\"small\">\n <GraphVisualization.LassoSelectButton />\n <GraphVisualization.SingleSelectButton />\n <GraphVisualization.BoxSelectButton />\n </IconButtonArray>\n }\n nodes={nodes}\n rels={rels}\n sidepanel={{\n children: (\n <TextInput\n label=\"Search in custom panel\"\n value={search}\n onChange={(e) => setSearch(e.target.value)}\n />\n ),\n isSidePanelOpen,\n setIsSidePanelOpen,\n onSidePanelResize: () => {\n /* no op */\n },\n sidePanelWidth: 300,\n }}\n topLeftIsland={<div>↖️</div>}\n topRightIsland={<GraphVisualization.ToggleSidePanelButton />}\n className={containerClasses}\n />\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -1,90 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- *
4
- * Copyright (c) "Neo4j"
5
- * Neo4j Sweden AB [http://neo4j.com]
6
- *
7
- * This file is part of Neo4j.
8
- *
9
- * Neo4j is free software: you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation, either version 3 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
- */
22
- import { GraphVisualization } from '../graph-visualization';
23
- const nodes = [
24
- {
25
- id: 'node1',
26
- labels: ['Pokemon', 'Legendary'],
27
- properties: {
28
- durationToWinBattle: {
29
- stringified: 'P0M0DT0.000000001S',
30
- type: 'duration',
31
- },
32
- favoriteColors: {
33
- stringified: '["red", "blue", "green"]',
34
- type: 'list',
35
- },
36
- getsBeatBy: {
37
- stringified: 'null',
38
- type: 'null',
39
- },
40
- isAwesome: {
41
- stringified: 'true',
42
- type: 'boolean',
43
- },
44
- location: {
45
- stringified: 'point({srid:1, x:100, y:200, z:300})',
46
- type: 'point',
47
- },
48
- name: {
49
- stringified: '"Rayquaza"',
50
- type: 'string',
51
- },
52
- weight: {
53
- stringified: '392.0',
54
- type: 'float',
55
- },
56
- },
57
- },
58
- {
59
- id: 'node2',
60
- labels: ['Type'],
61
- properties: { name: { stringified: 'Dragon', type: 'String' } },
62
- },
63
- {
64
- id: 'node3',
65
- labels: ['Type'],
66
- properties: { name: { stringified: 'Flying', type: 'String' } },
67
- },
68
- ];
69
- const rels = [
70
- {
71
- from: 'node1',
72
- id: 'rel1',
73
- properties: {},
74
- to: 'node2',
75
- type: 'HAS_TYPE',
76
- },
77
- {
78
- from: 'node1',
79
- id: 'rel2',
80
- properties: {},
81
- to: 'node3',
82
- type: 'HAS_TYPE',
83
- },
84
- ];
85
- export const containerClasses = 'n-w-full n-border-neutral-border-weak n-mx-2 n-rounded-lg n-border';
86
- const Component = () => {
87
- return (_jsx("div", { style: { height: '600px' }, children: _jsx(GraphVisualization, { nodes: nodes, rels: rels, className: containerClasses }) }));
88
- };
89
- export default Component;
90
- //# sourceMappingURL=graph-visualization-default.story.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph-visualization-default.story.js","sourceRoot":"","sources":["../../../src/stories/graph-visualization-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,E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UAAU,EAAE,EAAE;QACd,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,UAAU;KACjB;CACF,CAAC;AACF,MAAM,CAAC,MAAM,gBAAgB,GAC3B,oEAAoE,CAAC;AAEvE,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,cAAK,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,YAC7B,KAAC,kBAAkB,IACjB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,gBAAgB,GAC3B,GACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { GraphVisualization } from '../graph-visualization';\nimport { type NeoNode } from '../graph-visualization-context';\n\nconst nodes: NeoNode[] = [\n {\n id: 'node1',\n labels: ['Pokemon', 'Legendary'],\n properties: {\n durationToWinBattle: {\n stringified: 'P0M0DT0.000000001S',\n type: 'duration',\n },\n favoriteColors: {\n stringified: '[\"red\", \"blue\", \"green\"]',\n type: 'list',\n },\n getsBeatBy: {\n stringified: 'null',\n type: 'null',\n },\n isAwesome: {\n stringified: 'true',\n type: 'boolean',\n },\n location: {\n stringified: 'point({srid:1, x:100, y:200, z:300})',\n type: 'point',\n },\n name: {\n stringified: '\"Rayquaza\"',\n type: 'string',\n },\n weight: {\n stringified: '392.0',\n type: 'float',\n },\n },\n },\n {\n id: 'node2',\n labels: ['Type'],\n properties: { name: { stringified: 'Dragon', type: 'String' } },\n },\n {\n id: 'node3',\n labels: ['Type'],\n properties: { name: { stringified: 'Flying', type: 'String' } },\n },\n];\n\nconst rels = [\n {\n from: 'node1',\n id: 'rel1',\n properties: {},\n to: 'node2',\n type: 'HAS_TYPE',\n },\n {\n from: 'node1',\n id: 'rel2',\n properties: {},\n to: 'node3',\n type: 'HAS_TYPE',\n },\n];\nexport const containerClasses =\n 'n-w-full n-border-neutral-border-weak n-mx-2 n-rounded-lg n-border';\n\nconst Component = () => {\n return (\n <div style={{ height: '600px' }}>\n <GraphVisualization\n nodes={nodes}\n rels={rels}\n className={containerClasses}\n />\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -1,28 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- *
4
- * Copyright (c) "Neo4j"
5
- * Neo4j Sweden AB [http://neo4j.com]
6
- *
7
- * This file is part of Neo4j.
8
- *
9
- * Neo4j is free software: you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation, either version 3 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
- */
22
- import { GraphVisualization } from '../graph-visualization';
23
- import { containerClasses, StoryGraph } from './story-data';
24
- const Component = () => {
25
- return (_jsx("div", { style: { height: '600px' }, children: _jsx(GraphVisualization, { nodes: StoryGraph.nodes, rels: StoryGraph.rels, className: containerClasses, highlightedNodeIds: ['node1'], highlightedRelationshipIds: [] }) }));
26
- };
27
- export default Component;
28
- //# sourceMappingURL=graph-visualization-highlighting.story.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph-visualization-highlighting.story.js","sourceRoot":"","sources":["../../../src/stories/graph-visualization-highlighting.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE5D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,cAAK,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,YAC7B,KAAC,kBAAkB,IACjB,KAAK,EAAE,UAAU,CAAC,KAAK,EACvB,IAAI,EAAE,UAAU,CAAC,IAAI,EACrB,SAAS,EAAE,gBAAgB,EAC3B,kBAAkB,EAAE,CAAC,OAAO,CAAC,EAC7B,0BAA0B,EAAE,EAAE,GAC9B,GACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { GraphVisualization } from '../graph-visualization';\nimport { containerClasses, StoryGraph } from './story-data';\n\nconst Component = () => {\n return (\n <div style={{ height: '600px' }}>\n <GraphVisualization\n nodes={StoryGraph.nodes}\n rels={StoryGraph.rels}\n className={containerClasses}\n highlightedNodeIds={['node1']} // Highlight only Rayquaza\n highlightedRelationshipIds={[]}\n />\n </div>\n );\n};\n\nexport default Component;\n"]}
@@ -1,104 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /**
3
- *
4
- * Copyright (c) "Neo4j"
5
- * Neo4j Sweden AB [http://neo4j.com]
6
- *
7
- * This file is part of Neo4j.
8
- *
9
- * Neo4j is free software: you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation, either version 3 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
- */
22
- import { Divider, IconButtonArray } from '@neo4j-ndl/react';
23
- import { useState } from 'react';
24
- import { GraphVisualization } from '../graph-visualization';
25
- const nodes = [
26
- {
27
- id: 'node1',
28
- labels: ['Pokemon', 'Legendary'],
29
- properties: {
30
- durationToWinBattle: {
31
- stringified: 'P0M0DT0.000000001S',
32
- type: 'duration',
33
- },
34
- favoriteColors: {
35
- stringified: '["red", "blue", "green"]',
36
- type: 'list',
37
- },
38
- getsBeatBy: {
39
- stringified: 'null',
40
- type: 'null',
41
- },
42
- isAwesome: {
43
- stringified: 'true',
44
- type: 'boolean',
45
- },
46
- location: {
47
- stringified: 'point({srid:1, x:100, y:200, z:300})',
48
- type: 'point',
49
- },
50
- name: {
51
- stringified: '"Rayquaza"',
52
- type: 'string',
53
- },
54
- weight: {
55
- stringified: '392.0',
56
- type: 'float',
57
- },
58
- },
59
- },
60
- {
61
- id: 'node2',
62
- labels: ['Type'],
63
- properties: { name: { stringified: 'Dragon', type: 'String' } },
64
- },
65
- {
66
- id: 'node3',
67
- labels: ['Type'],
68
- properties: { name: { stringified: 'Flying', type: 'String' } },
69
- },
70
- ];
71
- const rels = [
72
- {
73
- from: 'node1',
74
- id: 'rel1',
75
- properties: {},
76
- to: 'node2',
77
- type: 'HAS_TYPE',
78
- },
79
- {
80
- from: 'node1',
81
- id: 'rel2',
82
- properties: {},
83
- to: 'node3',
84
- type: 'HAS_TYPE',
85
- },
86
- ];
87
- export const containerClasses = 'n-w-full n-border-neutral-border-weak n-mx-2 n-rounded-lg n-border';
88
- const Component = () => {
89
- const [isOpen, setIsOpen] = useState(true);
90
- const [gesture, setGesture] = useState('box');
91
- // Hierarchical layout not working properly with storybook
92
- const [layout, setLayout] = useState('hierarchical');
93
- return (_jsx("div", { style: { height: '600px' }, children: _jsx(GraphVisualization, { gesture: gesture, setGesture: setGesture, layout: layout, setLayout: setLayout, bottomRightIsland: _jsxs(IconButtonArray, { size: "medium", children: [_jsx(GraphVisualization.GestureSelectButton, { menuPlacement: "top-end-bottom-end" }), _jsx(Divider, { orientation: "vertical" }), _jsx(GraphVisualization.ZoomInButton, { tooltipPlacement: "top" }), _jsx(GraphVisualization.ZoomOutButton, { tooltipPlacement: "top" }), _jsx(GraphVisualization.ZoomToFitButton, { tooltipPlacement: "top" }), _jsx(Divider, { orientation: "vertical" }), _jsx(GraphVisualization.LayoutSelectButton, { menuPlacement: "top-end-bottom-end" })] }), nodes: nodes, rels: rels, sidepanel: {
94
- children: _jsx(GraphVisualization.SingleSelectionSidePanelContents, {}),
95
- isSidePanelOpen: isOpen,
96
- onSidePanelResize: () => {
97
- /* no op */
98
- },
99
- setIsSidePanelOpen: setIsOpen,
100
- sidePanelWidth: 300,
101
- }, topLeftIsland: _jsx(GraphVisualization.DownloadButton, {}), topRightIsland: _jsx(GraphVisualization.ToggleSidePanelButton, {}), className: containerClasses }) }));
102
- };
103
- export default Component;
104
- //# sourceMappingURL=graph-visualization-maximalist.story.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph-visualization-maximalist.story.js","sourceRoot":"","sources":["../../../src/stories/graph-visualization-maximalist.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MA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IAAI,EACV,SAAS,EAAE;gBACT,QAAQ,EAAE,KAAC,kBAAkB,CAAC,gCAAgC,KAAG;gBACjE,eAAe,EAAE,MAAM;gBACvB,iBAAiB,EAAE,GAAG,EAAE;oBACtB,WAAW;gBACb,CAAC;gBACD,kBAAkB,EAAE,SAAS;gBAC7B,cAAc,EAAE,GAAG;aACpB,EACD,aAAa,EAAE,KAAC,kBAAkB,CAAC,cAAc,KAAG,EACpD,cAAc,EAAE,KAAC,kBAAkB,CAAC,qBAAqB,KAAG,EAC5D,SAAS,EAAE,gBAAgB,GAC3B,GACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Divider, IconButtonArray } from '@neo4j-ndl/react';\nimport { type Layout } from '@neo4j-nvl/base';\nimport { useState } from 'react';\n\nimport { GraphVisualization } from '../graph-visualization';\nimport { type Gesture, type NeoNode } from '../graph-visualization-context';\n\nconst nodes: NeoNode[] = [\n {\n id: 'node1',\n labels: ['Pokemon', 'Legendary'],\n properties: {\n durationToWinBattle: {\n stringified: 'P0M0DT0.000000001S',\n type: 'duration',\n },\n favoriteColors: {\n stringified: '[\"red\", \"blue\", \"green\"]',\n type: 'list',\n },\n getsBeatBy: {\n stringified: 'null',\n type: 'null',\n },\n isAwesome: {\n stringified: 'true',\n type: 'boolean',\n },\n location: {\n stringified: 'point({srid:1, x:100, y:200, z:300})',\n type: 'point',\n },\n name: {\n stringified: '\"Rayquaza\"',\n type: 'string',\n },\n weight: {\n stringified: '392.0',\n type: 'float',\n },\n },\n },\n {\n id: 'node2',\n labels: ['Type'],\n properties: { name: { stringified: 'Dragon', type: 'String' } },\n },\n {\n id: 'node3',\n labels: ['Type'],\n properties: { name: { stringified: 'Flying', type: 'String' } },\n },\n];\n\nconst rels = [\n {\n from: 'node1',\n id: 'rel1',\n properties: {},\n to: 'node2',\n type: 'HAS_TYPE',\n },\n {\n from: 'node1',\n id: 'rel2',\n properties: {},\n to: 'node3',\n type: 'HAS_TYPE',\n },\n];\n\nexport const containerClasses =\n 'n-w-full n-border-neutral-border-weak n-mx-2 n-rounded-lg n-border';\n\nconst Component = () => {\n const [isOpen, setIsOpen] = useState(true);\n const [gesture, setGesture] = useState<Gesture>('box');\n // Hierarchical layout not working properly with storybook\n const [layout, setLayout] = useState<Layout>('hierarchical');\n\n return (\n <div style={{ height: '600px' }}>\n <GraphVisualization\n gesture={gesture}\n setGesture={setGesture}\n layout={layout}\n setLayout={setLayout}\n bottomRightIsland={\n <IconButtonArray size=\"medium\">\n <GraphVisualization.GestureSelectButton menuPlacement=\"top-end-bottom-end\" />\n <Divider orientation=\"vertical\" />\n <GraphVisualization.ZoomInButton tooltipPlacement=\"top\" />\n <GraphVisualization.ZoomOutButton tooltipPlacement=\"top\" />\n <GraphVisualization.ZoomToFitButton tooltipPlacement=\"top\" />\n <Divider orientation=\"vertical\" />\n <GraphVisualization.LayoutSelectButton menuPlacement=\"top-end-bottom-end\" />\n </IconButtonArray>\n }\n nodes={nodes}\n rels={rels}\n sidepanel={{\n children: <GraphVisualization.SingleSelectionSidePanelContents />,\n isSidePanelOpen: isOpen,\n onSidePanelResize: () => {\n /* no op */\n },\n setIsSidePanelOpen: setIsOpen,\n sidePanelWidth: 300,\n }}\n topLeftIsland={<GraphVisualization.DownloadButton />}\n topRightIsland={<GraphVisualization.ToggleSidePanelButton />}\n className={containerClasses}\n />\n </div>\n );\n};\n\nexport default Component;\n"]}