@visuallyjs/browser-ui 1.0.0

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 (427) hide show
  1. package/css/visuallyjs-theme.css +148 -0
  2. package/css/visuallyjs.css +1879 -0
  3. package/js/visuallyjs.browser-ui.cjs.js +143 -0
  4. package/js/visuallyjs.browser-ui.esm.js +143 -0
  5. package/package.json +16 -0
  6. package/types/browser-ui/base-dom-ui-layout-adapter.d.ts +14 -0
  7. package/types/browser-ui/browser-ui.d.ts +95 -0
  8. package/types/browser-ui/browser-util.d.ts +233 -0
  9. package/types/browser-ui/browser-visuallyjs-instance.d.ts +881 -0
  10. package/types/browser-ui/canvas-layout-adapter.d.ts +15 -0
  11. package/types/browser-ui/collicat.d.ts +245 -0
  12. package/types/browser-ui/components/controls/controls-component.d.ts +137 -0
  13. package/types/browser-ui/components/controls/copy-paste-controls-component.d.ts +9 -0
  14. package/types/browser-ui/components/controls/css-classes.d.ts +79 -0
  15. package/types/browser-ui/components/controls/index.d.ts +4 -0
  16. package/types/browser-ui/components/controls/svg-export-component.d.ts +60 -0
  17. package/types/browser-ui/components/edge-type-picker/edge-type-picker.d.ts +37 -0
  18. package/types/browser-ui/components/edge-type-picker/index.d.ts +1 -0
  19. package/types/browser-ui/components/index.d.ts +4 -0
  20. package/types/browser-ui/components/inspector/color-picker-tag.d.ts +32 -0
  21. package/types/browser-ui/components/inspector/definitions.d.ts +114 -0
  22. package/types/browser-ui/components/inspector/edge-type-tag.d.ts +15 -0
  23. package/types/browser-ui/components/inspector/index.d.ts +6 -0
  24. package/types/browser-ui/components/inspector/inspector.d.ts +138 -0
  25. package/types/browser-ui/components/inspector/shape-type-inspector.d.ts +43 -0
  26. package/types/browser-ui/components/inspector/vanilla-inspector.d.ts +39 -0
  27. package/types/browser-ui/components/palette/index.d.ts +2 -0
  28. package/types/browser-ui/components/palette/palette-content-generator.d.ts +14 -0
  29. package/types/browser-ui/components/palette/palette-options.d.ts +159 -0
  30. package/types/browser-ui/components/palette/palette.d.ts +126 -0
  31. package/types/browser-ui/connector-editor.d.ts +65 -0
  32. package/types/browser-ui/connector-editors/anchors.d.ts +31 -0
  33. package/types/browser-ui/connector-editors/css-constants.d.ts +33 -0
  34. package/types/browser-ui/connector-editors/definitions.d.ts +74 -0
  35. package/types/browser-ui/connector-editors/editor-base.d.ts +177 -0
  36. package/types/browser-ui/connector-editors/index.d.ts +52 -0
  37. package/types/browser-ui/connector-editors/util.d.ts +33 -0
  38. package/types/browser-ui/connector-editors-bezier/bezier-editor.d.ts +82 -0
  39. package/types/browser-ui/connector-editors-bezier/css-constants.d.ts +42 -0
  40. package/types/browser-ui/connector-editors-bezier/index.d.ts +9 -0
  41. package/types/browser-ui/connector-editors-orthogonal/css-constants.d.ts +28 -0
  42. package/types/browser-ui/connector-editors-orthogonal/index.d.ts +9 -0
  43. package/types/browser-ui/connector-editors-orthogonal/orthogonal-editor.d.ts +86 -0
  44. package/types/browser-ui/connector-editors-straight/auto-split-mode.d.ts +24 -0
  45. package/types/browser-ui/connector-editors-straight/click-split-mode.d.ts +20 -0
  46. package/types/browser-ui/connector-editors-straight/css-constants.d.ts +30 -0
  47. package/types/browser-ui/connector-editors-straight/definitions.d.ts +69 -0
  48. package/types/browser-ui/connector-editors-straight/index.d.ts +11 -0
  49. package/types/browser-ui/connector-editors-straight/straight-editor.d.ts +42 -0
  50. package/types/browser-ui/constants.d.ts +79 -0
  51. package/types/browser-ui/copy-paste/clipboard.d.ts +34 -0
  52. package/types/browser-ui/copy-paste/index.d.ts +2 -0
  53. package/types/browser-ui/copy-paste/transformer.d.ts +14 -0
  54. package/types/browser-ui/css-constants.d.ts +436 -0
  55. package/types/browser-ui/d.d.ts +2 -0
  56. package/types/browser-ui/definitions.d.ts +442 -0
  57. package/types/browser-ui/dialogs/binder.d.ts +49 -0
  58. package/types/browser-ui/dialogs/constants.d.ts +51 -0
  59. package/types/browser-ui/dialogs/dialogs.d.ts +30 -0
  60. package/types/browser-ui/dialogs/index.d.ts +3 -0
  61. package/types/browser-ui/drag-manager-2.d.ts +54 -0
  62. package/types/browser-ui/edge-handler-base.d.ts +168 -0
  63. package/types/browser-ui/edge-input-handler.d.ts +116 -0
  64. package/types/browser-ui/edge-mappings/flowchart-basic.d.ts +22 -0
  65. package/types/browser-ui/edge-mappings/index.d.ts +1 -0
  66. package/types/browser-ui/edge-relocate-handler.d.ts +51 -0
  67. package/types/browser-ui/element-drag-handler-2.d.ts +254 -0
  68. package/types/browser-ui/element-dragger.d.ts +45 -0
  69. package/types/browser-ui/element-facade.d.ts +11 -0
  70. package/types/browser-ui/event-manager.d.ts +50 -0
  71. package/types/browser-ui/fixed-layer.d.ts +107 -0
  72. package/types/browser-ui/group-layout-adapter.d.ts +19 -0
  73. package/types/browser-ui/html-element-overlay.d.ts +32 -0
  74. package/types/browser-ui/icons/definitions.d.ts +59 -0
  75. package/types/browser-ui/icons/icon-renderer.d.ts +43 -0
  76. package/types/browser-ui/icons/index.d.ts +2 -0
  77. package/types/browser-ui/index.d.ts +48 -0
  78. package/types/browser-ui/pan-zoom-options.d.ts +262 -0
  79. package/types/browser-ui/pan-zoom.d.ts +674 -0
  80. package/types/browser-ui/paper-renderer/definitions.d.ts +83 -0
  81. package/types/browser-ui/paper-renderer/index.d.ts +2 -0
  82. package/types/browser-ui/paper-renderer/paper.d.ts +50 -0
  83. package/types/browser-ui/pinch-listener.d.ts +33 -0
  84. package/types/browser-ui/plugins/background/available-backgrounds.d.ts +12 -0
  85. package/types/browser-ui/plugins/background/background-options.d.ts +62 -0
  86. package/types/browser-ui/plugins/background/background-plugin.d.ts +62 -0
  87. package/types/browser-ui/plugins/background/generated-grid-background.d.ts +230 -0
  88. package/types/browser-ui/plugins/background/index.d.ts +6 -0
  89. package/types/browser-ui/plugins/background/simple-background.d.ts +33 -0
  90. package/types/browser-ui/plugins/background/tiled-background.d.ts +118 -0
  91. package/types/browser-ui/plugins/browser-ui-plugin.d.ts +90 -0
  92. package/types/browser-ui/plugins/edge-routing/index.d.ts +66 -0
  93. package/types/browser-ui/plugins/index.d.ts +5 -0
  94. package/types/browser-ui/plugins/selected-edge-highlight/index.d.ts +1 -0
  95. package/types/browser-ui/plugins/selected-edge-highlight/selected-edge-highlight-plugin.d.ts +36 -0
  96. package/types/browser-ui/plugins/ui-states/index.d.ts +2 -0
  97. package/types/browser-ui/plugins/ui-states/ui-state.d.ts +14 -0
  98. package/types/browser-ui/plugins/ui-states/ui-states-plugin.d.ts +69 -0
  99. package/types/browser-ui/positioning-and-sizing-utils.d.ts +103 -0
  100. package/types/browser-ui/shape-library/index.d.ts +4 -0
  101. package/types/browser-ui/shape-library/shape-library-definitions.d.ts +243 -0
  102. package/types/browser-ui/shape-library/shape-library.d.ts +266 -0
  103. package/types/browser-ui/shape-library/shapes-basic.d.ts +7 -0
  104. package/types/browser-ui/shape-library/shapes-flowchart.d.ts +7 -0
  105. package/types/browser-ui/storage.d.ts +8 -0
  106. package/types/browser-ui/surface-renderer/anim/anim.d.ts +64 -0
  107. package/types/browser-ui/surface-renderer/anim/constants.d.ts +74 -0
  108. package/types/browser-ui/surface-renderer/anim/definitions.d.ts +134 -0
  109. package/types/browser-ui/surface-renderer/anim/index.d.ts +4 -0
  110. package/types/browser-ui/surface-renderer/anim/path-transport.d.ts +23 -0
  111. package/types/browser-ui/surface-renderer/css-classes.d.ts +64 -0
  112. package/types/browser-ui/surface-renderer/decorators.d.ts +162 -0
  113. package/types/browser-ui/surface-renderer/definitions.d.ts +83 -0
  114. package/types/browser-ui/surface-renderer/diagrams/constants.d.ts +28 -0
  115. package/types/browser-ui/surface-renderer/diagrams/definitions.d.ts +528 -0
  116. package/types/browser-ui/surface-renderer/diagrams/diagram-cell.d.ts +123 -0
  117. package/types/browser-ui/surface-renderer/diagrams/diagram-link.d.ts +116 -0
  118. package/types/browser-ui/surface-renderer/diagrams/diagram-palette.d.ts +11 -0
  119. package/types/browser-ui/surface-renderer/diagrams/diagram-tools.d.ts +112 -0
  120. package/types/browser-ui/surface-renderer/diagrams/diagram.d.ts +221 -0
  121. package/types/browser-ui/surface-renderer/diagrams/index.d.ts +25 -0
  122. package/types/browser-ui/surface-renderer/diagrams/mediator.d.ts +59 -0
  123. package/types/browser-ui/surface-renderer/diagrams/util.d.ts +15 -0
  124. package/types/browser-ui/surface-renderer/elastic-group-manager.d.ts +102 -0
  125. package/types/browser-ui/surface-renderer/index.d.ts +34 -0
  126. package/types/browser-ui/surface-renderer/params.d.ts +175 -0
  127. package/types/browser-ui/surface-renderer/plugins/controls/controls-plugin.d.ts +26 -0
  128. package/types/browser-ui/surface-renderer/plugins/controls/index.d.ts +1 -0
  129. package/types/browser-ui/surface-renderer/plugins/drag-groups/drag-groups-plugin.d.ts +78 -0
  130. package/types/browser-ui/surface-renderer/plugins/drag-groups/index.d.ts +1 -0
  131. package/types/browser-ui/surface-renderer/plugins/export-controls/export-controls-plugin.d.ts +25 -0
  132. package/types/browser-ui/surface-renderer/plugins/export-controls/index.d.ts +1 -0
  133. package/types/browser-ui/surface-renderer/plugins/index.d.ts +10 -0
  134. package/types/browser-ui/surface-renderer/plugins/lasso/index.d.ts +2 -0
  135. package/types/browser-ui/surface-renderer/plugins/lasso/lasso-plugin.d.ts +78 -0
  136. package/types/browser-ui/surface-renderer/plugins/lasso/lasso.d.ts +74 -0
  137. package/types/browser-ui/surface-renderer/plugins/miniview/index.d.ts +1 -0
  138. package/types/browser-ui/surface-renderer/plugins/miniview/miniview-plugin.d.ts +235 -0
  139. package/types/browser-ui/surface-renderer/plugins/palette/index.d.ts +1 -0
  140. package/types/browser-ui/surface-renderer/plugins/palette/palette-plugin.d.ts +17 -0
  141. package/types/browser-ui/surface-renderer/plugins/pan-buttons/index.d.ts +1 -0
  142. package/types/browser-ui/surface-renderer/plugins/pan-buttons/pan-buttons-plugin.d.ts +55 -0
  143. package/types/browser-ui/surface-renderer/plugins/resizing-tools/border-drag-handlers.d.ts +3 -0
  144. package/types/browser-ui/surface-renderer/plugins/resizing-tools/definitions.d.ts +411 -0
  145. package/types/browser-ui/surface-renderer/plugins/resizing-tools/drag-handlers.d.ts +3 -0
  146. package/types/browser-ui/surface-renderer/plugins/resizing-tools/handle-gen.d.ts +15 -0
  147. package/types/browser-ui/surface-renderer/plugins/resizing-tools/index.d.ts +4 -0
  148. package/types/browser-ui/surface-renderer/plugins/resizing-tools/resizing-tools-plugin.d.ts +185 -0
  149. package/types/browser-ui/surface-renderer/plugins/resizing-tools/util.d.ts +16 -0
  150. package/types/browser-ui/surface-renderer/plugins/snaplines/index.d.ts +1 -0
  151. package/types/browser-ui/surface-renderer/plugins/snaplines/snaplines-plugin.d.ts +128 -0
  152. package/types/browser-ui/surface-renderer/plugins/vertex-drawing/definitions.d.ts +90 -0
  153. package/types/browser-ui/surface-renderer/plugins/vertex-drawing/index.d.ts +2 -0
  154. package/types/browser-ui/surface-renderer/plugins/vertex-drawing/vertex-drawing-plugin.d.ts +64 -0
  155. package/types/browser-ui/surface-renderer/shape-palette-options.d.ts +127 -0
  156. package/types/browser-ui/surface-renderer/shape-palette.d.ts +55 -0
  157. package/types/browser-ui/surface-renderer/surface-decorator.d.ts +35 -0
  158. package/types/browser-ui/surface-renderer/surface-events.d.ts +9 -0
  159. package/types/browser-ui/surface-renderer/surface-render-options.d.ts +125 -0
  160. package/types/browser-ui/surface-renderer/surface.d.ts +665 -0
  161. package/types/browser-ui/svg-component.d.ts +6 -0
  162. package/types/browser-ui/svg-element-connector.d.ts +16 -0
  163. package/types/browser-ui/svg-element-overlay.d.ts +55 -0
  164. package/types/browser-ui/svg-export/definitions.d.ts +153 -0
  165. package/types/browser-ui/svg-export/image-export-ui.d.ts +20 -0
  166. package/types/browser-ui/svg-export/image-exporter.d.ts +15 -0
  167. package/types/browser-ui/svg-export/index.d.ts +6 -0
  168. package/types/browser-ui/svg-export/svg-export-ui.d.ts +11 -0
  169. package/types/browser-ui/svg-export/svg-exporter.d.ts +8 -0
  170. package/types/browser-ui/svg-export/util.d.ts +23 -0
  171. package/types/browser-ui/svg-util.d.ts +27 -0
  172. package/types/browser-ui/templating/browser-ui-recado.d.ts +48 -0
  173. package/types/browser-ui/templating/custom-tag-definition.d.ts +32 -0
  174. package/types/browser-ui/templating/index.d.ts +11 -0
  175. package/types/browser-ui/templating/recado-template-renderer.d.ts +69 -0
  176. package/types/browser-ui/ui-path.d.ts +57 -0
  177. package/types/browser-ui/util.d.ts +4 -0
  178. package/types/browser-ui/wheel-listener.d.ts +2 -0
  179. package/types/charts/area/area-chart.d.ts +85 -0
  180. package/types/charts/area/index.d.ts +1 -0
  181. package/types/charts/bar-and-column/bar-chart.d.ts +34 -0
  182. package/types/charts/bar-and-column/bar-plot.d.ts +90 -0
  183. package/types/charts/bar-and-column/column-chart.d.ts +35 -0
  184. package/types/charts/bar-and-column/index.d.ts +3 -0
  185. package/types/charts/base-chart.d.ts +395 -0
  186. package/types/charts/base-xy-chart.d.ts +224 -0
  187. package/types/charts/bubble/bubble-chart.d.ts +30 -0
  188. package/types/charts/bubble/definitions.d.ts +32 -0
  189. package/types/charts/bubble/index.d.ts +2 -0
  190. package/types/charts/category-value-chart.d.ts +146 -0
  191. package/types/charts/chart-exporter.d.ts +38 -0
  192. package/types/charts/chart-zoom-controls.d.ts +23 -0
  193. package/types/charts/constants.d.ts +16 -0
  194. package/types/charts/css-classes.d.ts +312 -0
  195. package/types/charts/datasource.d.ts +61 -0
  196. package/types/charts/definitions.d.ts +261 -0
  197. package/types/charts/domain_scale_utilities.d.ts +72 -0
  198. package/types/charts/dual-value-chart.d.ts +60 -0
  199. package/types/charts/gauge/definitions.d.ts +108 -0
  200. package/types/charts/gauge/gauge-chart.d.ts +91 -0
  201. package/types/charts/gauge/index.d.ts +2 -0
  202. package/types/charts/index.d.ts +25 -0
  203. package/types/charts/legend.d.ts +120 -0
  204. package/types/charts/line/index.d.ts +1 -0
  205. package/types/charts/line/line-chart.d.ts +79 -0
  206. package/types/charts/markers.d.ts +13 -0
  207. package/types/charts/pie/index.d.ts +1 -0
  208. package/types/charts/pie/pie-chart.d.ts +146 -0
  209. package/types/charts/plot.d.ts +75 -0
  210. package/types/charts/sankey/index.d.ts +1 -0
  211. package/types/charts/sankey/preprocessor.d.ts +37 -0
  212. package/types/charts/sankey/sankey.d.ts +208 -0
  213. package/types/charts/scatter/definitions.d.ts +6 -0
  214. package/types/charts/scatter/index.d.ts +2 -0
  215. package/types/charts/scatter/scatter-chart.d.ts +16 -0
  216. package/types/charts/series/array-based-series.d.ts +95 -0
  217. package/types/charts/series/collation-series.d.ts +24 -0
  218. package/types/charts/series/definitions.d.ts +52 -0
  219. package/types/charts/series/dual-value-chart-series.d.ts +26 -0
  220. package/types/charts/series/index.d.ts +7 -0
  221. package/types/charts/series/record-based-series.d.ts +58 -0
  222. package/types/charts/series/series.d.ts +66 -0
  223. package/types/charts/series/summing-collation-series.d.ts +31 -0
  224. package/types/charts/series/summing-series.d.ts +19 -0
  225. package/types/charts/series-based-chart.d.ts +59 -0
  226. package/types/charts/tooltip.d.ts +167 -0
  227. package/types/charts/util.d.ts +149 -0
  228. package/types/core/astar/astar-path-finder.d.ts +37 -0
  229. package/types/core/astar/astar-util.d.ts +100 -0
  230. package/types/core/astar/candidate-finder.d.ts +16 -0
  231. package/types/core/astar/candidate-sorter.d.ts +10 -0
  232. package/types/core/astar/definitions.d.ts +185 -0
  233. package/types/core/astar/index.d.ts +3 -0
  234. package/types/core/astar/path-to-segments.d.ts +45 -0
  235. package/types/core/autosaver.d.ts +67 -0
  236. package/types/core/color-generator.d.ts +66 -0
  237. package/types/core/constants.d.ts +181 -0
  238. package/types/core/csv-loader.d.ts +84 -0
  239. package/types/core/datamodel/data-model.d.ts +23 -0
  240. package/types/core/datamodel/vertex-definition.d.ts +40 -0
  241. package/types/core/datasource.d.ts +87 -0
  242. package/types/core/event-constants.d.ts +308 -0
  243. package/types/core/event-generator.d.ts +102 -0
  244. package/types/core/filterable-dataset.d.ts +38 -0
  245. package/types/core/geom.d.ts +278 -0
  246. package/types/core/index.d.ts +39 -0
  247. package/types/core/io.d.ts +106 -0
  248. package/types/core/layout/absolute-layout.d.ts +91 -0
  249. package/types/core/layout/abstract-layout-adapter.d.ts +17 -0
  250. package/types/core/layout/abstract-layout.d.ts +192 -0
  251. package/types/core/layout/circular/circular-layout.d.ts +31 -0
  252. package/types/core/layout/circular/index.d.ts +1 -0
  253. package/types/core/layout/empty-layout.d.ts +17 -0
  254. package/types/core/layout/force-directed/force-directed-layout.d.ts +148 -0
  255. package/types/core/layout/force-directed/index.d.ts +1 -0
  256. package/types/core/layout/grid/definitions.d.ts +81 -0
  257. package/types/core/layout/grid/grid-layout.d.ts +60 -0
  258. package/types/core/layout/grid/index.d.ts +2 -0
  259. package/types/core/layout/hierarchical/abstract-hierarchical-layout.d.ts +90 -0
  260. package/types/core/layout/hierarchical/balloon-layout.d.ts +62 -0
  261. package/types/core/layout/hierarchical/definitions.d.ts +45 -0
  262. package/types/core/layout/hierarchical/hierarchical-layout.d.ts +102 -0
  263. package/types/core/layout/hierarchical/index.d.ts +5 -0
  264. package/types/core/layout/hierarchical/parent-relative-placement.d.ts +96 -0
  265. package/types/core/layout/hierarchy/assign-layers-stage.d.ts +26 -0
  266. package/types/core/layout/hierarchy/crossing-stage.d.ts +78 -0
  267. package/types/core/layout/hierarchy/definitions.d.ts +261 -0
  268. package/types/core/layout/hierarchy/edge-routing.d.ts +25 -0
  269. package/types/core/layout/hierarchy/hierarchy-layout-stage.d.ts +9 -0
  270. package/types/core/layout/hierarchy/hierarchy-layout.d.ts +87 -0
  271. package/types/core/layout/hierarchy/index.d.ts +11 -0
  272. package/types/core/layout/hierarchy/model.d.ts +167 -0
  273. package/types/core/layout/hierarchy/parent-relative-placement.d.ts +69 -0
  274. package/types/core/layout/hierarchy/placement-stage.d.ts +82 -0
  275. package/types/core/layout/hierarchy/util.d.ts +13 -0
  276. package/types/core/layout/hierarchy/vertex-set.d.ts +45 -0
  277. package/types/core/layout/index.d.ts +10 -0
  278. package/types/core/layout/layouts.d.ts +10 -0
  279. package/types/core/magnetizer.d.ts +232 -0
  280. package/types/core/model/anchor.d.ts +38 -0
  281. package/types/core/model/cluster.d.ts +19 -0
  282. package/types/core/model/defs.d.ts +8 -0
  283. package/types/core/model/djikstra.d.ts +26 -0
  284. package/types/core/model/floyd-warshall.d.ts +15 -0
  285. package/types/core/model/graph.d.ts +1166 -0
  286. package/types/core/model/path.d.ts +227 -0
  287. package/types/core/params.d.ts +476 -0
  288. package/types/core/renderer.d.ts +74 -0
  289. package/types/core/router/common.d.ts +104 -0
  290. package/types/core/router/direct-router.d.ts +12 -0
  291. package/types/core/router/index.d.ts +3 -0
  292. package/types/core/router/orthogonal-router.d.ts +46 -0
  293. package/types/core/rtree/definitions.d.ts +24 -0
  294. package/types/core/rtree/hilbert.d.ts +9 -0
  295. package/types/core/rtree/index.d.ts +4 -0
  296. package/types/core/rtree/rtree.d.ts +102 -0
  297. package/types/core/rtree/util.d.ts +55 -0
  298. package/types/core/search/index.d.ts +1 -0
  299. package/types/core/search/visuallyjs-search.d.ts +167 -0
  300. package/types/core/selection.d.ts +394 -0
  301. package/types/core/templates/abstract-entry.d.ts +19 -0
  302. package/types/core/templates/comment-entry.d.ts +11 -0
  303. package/types/core/templates/core.d.ts +162 -0
  304. package/types/core/templates/custom-tag.d.ts +74 -0
  305. package/types/core/templates/defs.d.ts +123 -0
  306. package/types/core/templates/each-entry.d.ts +23 -0
  307. package/types/core/templates/element-entry.d.ts +18 -0
  308. package/types/core/templates/elements.d.ts +14 -0
  309. package/types/core/templates/executions.d.ts +100 -0
  310. package/types/core/templates/expressions.d.ts +47 -0
  311. package/types/core/templates/fake-dom.d.ts +42 -0
  312. package/types/core/templates/headless.d.ts +15 -0
  313. package/types/core/templates/if-entry.d.ts +25 -0
  314. package/types/core/templates/index.d.ts +14 -0
  315. package/types/core/templates/parser.d.ts +84 -0
  316. package/types/core/templates/text-entry.d.ts +17 -0
  317. package/types/core/templates/tmpl-entry.d.ts +13 -0
  318. package/types/core/toolkit.d.ts +1314 -0
  319. package/types/core/undo-redo/compound-action.d.ts +19 -0
  320. package/types/core/undo-redo/edge-action.d.ts +62 -0
  321. package/types/core/undo-redo/group-action.d.ts +60 -0
  322. package/types/core/undo-redo/move-action.d.ts +18 -0
  323. package/types/core/undo-redo/node-group-action.d.ts +62 -0
  324. package/types/core/undo-redo/port-action.d.ts +29 -0
  325. package/types/core/undo-redo/renderer-vertex-removed-action.d.ts +17 -0
  326. package/types/core/undo-redo/set-type-action.d.ts +14 -0
  327. package/types/core/undo-redo/undo-redo.d.ts +203 -0
  328. package/types/core/undo-redo/update-action.d.ts +20 -0
  329. package/types/core/undo-redo/vertex-update-action.d.ts +12 -0
  330. package/types/core/util.d.ts +661 -0
  331. package/types/index.d.ts +16 -0
  332. package/types/l.d.ts +2 -0
  333. package/types/test-support/index.d.ts +1 -0
  334. package/types/test-support/test-support.d.ts +833 -0
  335. package/types/ui/common/abstract-segment.d.ts +88 -0
  336. package/types/ui/common/anchor.d.ts +280 -0
  337. package/types/ui/common/connector.d.ts +106 -0
  338. package/types/ui/common/index.d.ts +5 -0
  339. package/types/ui/common/overlay.d.ts +117 -0
  340. package/types/ui/common/paint-style.d.ts +33 -0
  341. package/types/ui/connector-bezier/abstract-bezier-connector.d.ts +68 -0
  342. package/types/ui/connector-bezier/bezier-connector.d.ts +34 -0
  343. package/types/ui/connector-bezier/bezier-segment.d.ts +31 -0
  344. package/types/ui/connector-bezier/bezier.d.ts +129 -0
  345. package/types/ui/connector-bezier/index.d.ts +6 -0
  346. package/types/ui/connector-bezier/operations.d.ts +18 -0
  347. package/types/ui/connector-bezier/quadratic-bezier-connector.d.ts +35 -0
  348. package/types/ui/connector-orthogonal/default-orthogonal-path-compute.d.ts +11 -0
  349. package/types/ui/connector-orthogonal/definitions.d.ts +120 -0
  350. package/types/ui/connector-orthogonal/index.d.ts +7 -0
  351. package/types/ui/connector-orthogonal/modern-source-target-relocator.d.ts +37 -0
  352. package/types/ui/connector-orthogonal/operations.d.ts +49 -0
  353. package/types/ui/connector-orthogonal/stub-calculators.d.ts +12 -0
  354. package/types/ui/connector-orthogonal/utils.d.ts +134 -0
  355. package/types/ui/connector-orthogonal/vertex-avoidance.d.ts +29 -0
  356. package/types/ui/connector-straight/index.d.ts +2 -0
  357. package/types/ui/connector-straight/operations.d.ts +55 -0
  358. package/types/ui/connector-straight/straight-connector.d.ts +121 -0
  359. package/types/ui/copy-paste/clipboard.d.ts +45 -0
  360. package/types/ui/copy-paste/copy-data.d.ts +93 -0
  361. package/types/ui/copy-paste/index.d.ts +2 -0
  362. package/types/ui/core/callbacks.d.ts +48 -0
  363. package/types/ui/core/component/component.d.ts +115 -0
  364. package/types/ui/core/connector/abstract-connector.d.ts +66 -0
  365. package/types/ui/core/connector/arc-segment.d.ts +39 -0
  366. package/types/ui/core/connector/connection-impl.d.ts +81 -0
  367. package/types/ui/core/connector/connections.d.ts +113 -0
  368. package/types/ui/core/connector/connectors.d.ts +205 -0
  369. package/types/ui/core/connector/operations.d.ts +0 -0
  370. package/types/ui/core/connector/segments.d.ts +24 -0
  371. package/types/ui/core/connector/straight-segment.d.ts +32 -0
  372. package/types/ui/core/constants.d.ts +181 -0
  373. package/types/ui/core/context.d.ts +26 -0
  374. package/types/ui/core/core-events.d.ts +7 -0
  375. package/types/ui/core/core.d.ts +1734 -0
  376. package/types/ui/core/css-constants.d.ts +149 -0
  377. package/types/ui/core/defaults.d.ts +242 -0
  378. package/types/ui/core/definitions.d.ts +540 -0
  379. package/types/ui/core/event-constants.d.ts +510 -0
  380. package/types/ui/core/factory/anchor-record-factory.d.ts +17 -0
  381. package/types/ui/core/factory/continuous-anchors.d.ts +27 -0
  382. package/types/ui/core/factory/overlay-factory.d.ts +8 -0
  383. package/types/ui/core/grid-profile.d.ts +28 -0
  384. package/types/ui/core/group-collapse-expand.d.ts +23 -0
  385. package/types/ui/core/group-sizer.d.ts +9 -0
  386. package/types/ui/core/index.d.ts +45 -0
  387. package/types/ui/core/magnetize-profile.d.ts +82 -0
  388. package/types/ui/core/overlay/arrow-overlay.d.ts +34 -0
  389. package/types/ui/core/overlay/custom-overlay.d.ts +38 -0
  390. package/types/ui/core/overlay/diamond-overlay.d.ts +14 -0
  391. package/types/ui/core/overlay/dot-overlay.d.ts +54 -0
  392. package/types/ui/core/overlay/ellipse-overlay.d.ts +60 -0
  393. package/types/ui/core/overlay/label-overlay.d.ts +37 -0
  394. package/types/ui/core/overlay/overlay.d.ts +131 -0
  395. package/types/ui/core/overlay/plain-arrow-overlay.d.ts +15 -0
  396. package/types/ui/core/overlay/rectangle-overlay.d.ts +66 -0
  397. package/types/ui/core/params.d.ts +223 -0
  398. package/types/ui/core/router/astar-path-finder.d.ts +29 -0
  399. package/types/ui/core/router/base-router.d.ts +100 -0
  400. package/types/ui/core/router/default-router.d.ts +38 -0
  401. package/types/ui/core/router/index.d.ts +5 -0
  402. package/types/ui/core/router/router-utils.d.ts +118 -0
  403. package/types/ui/core/router/router.d.ts +30 -0
  404. package/types/ui/core/type-descriptors.d.ts +83 -0
  405. package/types/ui/core/ui-model.d.ts +65 -0
  406. package/types/ui/core/view/common-options.d.ts +15 -0
  407. package/types/ui/core/view/edge-options.d.ts +126 -0
  408. package/types/ui/core/view/events.d.ts +159 -0
  409. package/types/ui/core/view/group-options.d.ts +75 -0
  410. package/types/ui/core/view/index.d.ts +35 -0
  411. package/types/ui/core/view/node-options.d.ts +20 -0
  412. package/types/ui/core/view/node-or-port-options.d.ts +28 -0
  413. package/types/ui/core/view/port-options.d.ts +51 -0
  414. package/types/ui/core/view/vertex-options.d.ts +28 -0
  415. package/types/ui/core/viewport.d.ts +297 -0
  416. package/types/ui/index.d.ts +9 -0
  417. package/types/ui/plugins/definitions.d.ts +118 -0
  418. package/types/ui/plugins/index.d.ts +2 -0
  419. package/types/ui/plugins/plugins.d.ts +7 -0
  420. package/types/ui/property-mappings/definitions.d.ts +28 -0
  421. package/types/ui/property-mappings/index.d.ts +2 -0
  422. package/types/ui/property-mappings/property-mapper.d.ts +16 -0
  423. package/types/ui/util/index.d.ts +3 -0
  424. package/types/ui/util/property-tracker.d.ts +8 -0
  425. package/types/ui/util/svg-constants.d.ts +111 -0
  426. package/types/ui/util/util.d.ts +69 -0
  427. package/types/version.d.ts +1 -0
@@ -0,0 +1,1879 @@
1
+ @charset "UTF-8";
2
+ /**
3
+ Index file for VisuallyJs CSS generation.
4
+ */
5
+ /**
6
+ Core default styles for VisuallyJs UI
7
+
8
+ Copyright 2025 https://visuallyjs.com
9
+ */
10
+ :root {
11
+ --vjs-blue:#4d7be2;
12
+ --vjs-red:#b13c4d;
13
+ --vjs-color-primary:var(--vjs-blue);
14
+ --vjs-color-delete:var(--vjs-red);
15
+ --vjs-color-edit:var(--vjs-blue);
16
+ --vjs-editor-handle-background:var(--vjs-color-edit);
17
+ --vjs-highlight-color: #6c9c0a;
18
+ --vjs-selected-element-border-color: var(--vjs-color-edit);
19
+ --vjs-elastic-group-resize-background: #4ea75866;
20
+ --vjs-elastic-group-resize-outline: 2px solid var(--vjs-color-edit);
21
+ --vjs-default-vertex-border: 1px solid;
22
+ --vjs-default-vertex-border-radius: 3px;
23
+ --vjs-size-default-node-width: 120px;
24
+ --vjs-size-default-node-height: 80px;
25
+ --vjs-size-default-group-width: 300px;
26
+ --vjs-size-default-group-height: 300px;
27
+ }
28
+
29
+ /* ################################################################################################################## */
30
+ /* */
31
+ /* SURFACE COMPONENT */
32
+ /* */
33
+ /* ################################################################################################################## */
34
+ /**
35
+ When using an HTML container this rule - and the vjs-tools-layer rule below - ensure that the
36
+ vertex layer stays below the tools layer.
37
+ */
38
+ .vjs-vertex-layer {
39
+ z-index: 0;
40
+ position: absolute;
41
+ }
42
+
43
+ /**
44
+ When using an HTML container this rule - and the vjs-vertex-layer rule above - ensure that the
45
+ vertex layer stays below the tools layer.
46
+ */
47
+ .vjs-tools-layer {
48
+ z-index: 1;
49
+ position: absolute;
50
+ }
51
+
52
+ /*
53
+ Assigned to SVG elements for edges. This style allows overlays to paint outside the bounds, and
54
+ for arbitrary stroke widths for connectors.
55
+ */
56
+ .vjs-connector {
57
+ overflow: visible;
58
+ cursor: pointer;
59
+ }
60
+
61
+ /*
62
+ Assigned to every Node managed by an instance of VisuallyJs. They are required to be positioned absolute, to
63
+ enable dragging to work properly. We set a `move` cursor on nodes as we assume they are, by default, draggable.
64
+ There are a couple of rules below which reset the cursor in the event that the node is not draggable.
65
+ */
66
+ .vjs-node {
67
+ position: absolute;
68
+ box-sizing: border-box;
69
+ cursor: move;
70
+ }
71
+
72
+ /**
73
+ Assigned to nodes when the node root is an SVG element.
74
+ */
75
+ svg.vjs-node {
76
+ overflow: visible;
77
+ }
78
+
79
+ /*
80
+ Assigned to every Group managed by an instance of VisuallyJs. They are required to be positioned absolute, to
81
+ enable dragging to work properly. We set overflow:visible on Group elements too, as a drag outside of the bounds
82
+ is automatically reverted anyway, and without overflow:visible you cannot drag a node to some other element. You can
83
+ also drag a node out of the element's viewport and if you drop it you can never get it back. We set a `move` cursor on
84
+ groups as we assume they are, by default, draggable. There are a couple of rules below which reset the cursor in the
85
+ event that the node is not draggable.
86
+ */
87
+ .vjs-group {
88
+ position: absolute;
89
+ overflow: visible;
90
+ box-sizing: border-box;
91
+ cursor: move;
92
+ }
93
+
94
+ /**
95
+ * Set cursor to default when a node/group has the not draggable attribute set, or when the surface has written the not
96
+ * draggable attribute to its container
97
+ */
98
+ .vjs-node[data-vjs-not-draggable=true],
99
+ .vjs-node[data-vjs-not-draggable=true],
100
+ .vjs-surface[data-vjs-elements-draggable=false] .vjs-node,
101
+ .vjs-surface[data-vjs-elements-draggable=false] .vjs-group {
102
+ cursor: default;
103
+ }
104
+
105
+ /**
106
+ Set overflow:visible for SVG groups.
107
+ */
108
+ .vjs-group {
109
+ /*
110
+ This is the attribute used to mark which part of a Group DOM element should contain the child vertices. We mark it
111
+ as having `position:relative` so that the absolute positioned vertices are drawn correctly. This
112
+ has no effect if the group is an SVG element.
113
+ */
114
+ }
115
+ .vjs-group svg {
116
+ overflow: visible;
117
+ }
118
+ .vjs-group [data-vjs-group-content] {
119
+ position: relative;
120
+ }
121
+ .vjs-group [data-vjs-collapsed-content] {
122
+ display: none;
123
+ }
124
+ .vjs-group.vjs-group-collapsed {
125
+ /*
126
+ Default behaviour for collapsed group is to hide the vertices and content area.
127
+ */
128
+ }
129
+ .vjs-group.vjs-group-collapsed [data-vjs-managed], .vjs-group.vjs-group-collapsed [data-vjs-group-content], .vjs-group.vjs-group-collapsed [data-vjs-expanded-content] {
130
+ display: none;
131
+ }
132
+ .vjs-group.vjs-group-collapsed [data-vjs-collapsed-content] {
133
+ display: block;
134
+ }
135
+
136
+ /**
137
+ Styles for default node/group (ie. when no template or component is mapped and VisuallyJs uses a default representation).
138
+ */
139
+ /*
140
+ Basic styles for the case that no component/template was provided for a node.
141
+ */
142
+ .vjs-default-node {
143
+ width: var(--vjs-size-default-node-width);
144
+ height: var(--vjs-size-default-node-height);
145
+ border: var(--vjs-default-vertex-border);
146
+ border-radius: var(--vjs-default-vertex-border-radius);
147
+ display: flex;
148
+ align-items: center;
149
+ justify-content: center;
150
+ }
151
+
152
+ /*
153
+ Basic styles for the case that no component/template was provided for a group.
154
+ */
155
+ .vjs-default-group {
156
+ width: var(--vjs-size-default-group-width);
157
+ height: var(--vjs-size-default-group-height);
158
+ border: var(--vjs-default-vertex-border);
159
+ border-radius: var(--vjs-default-vertex-border-radius);
160
+ display: flex;
161
+ align-items: center;
162
+ justify-content: center;
163
+ }
164
+
165
+ /*
166
+ Default behaviour for children of a collapsed group - hide them.
167
+ */
168
+ [data-vjs-group].vjs-group-collapsed [data-vjs-managed] {
169
+ display: none;
170
+ }
171
+
172
+ /**
173
+ Resize frame for elastic groups.
174
+ */
175
+ .vjs-surface-elastic-group-resize {
176
+ position: absolute;
177
+ stroke: var(--vjs-elastic-group-resize-outline);
178
+ fill: var(--vjs-elastic-group-resize-background);
179
+ box-sizing: border-box;
180
+ stroke-width: 2px;
181
+ }
182
+
183
+ /**
184
+ Assigned to shapes drawn by a shape library. This rule allows us to be agnostic of the stroke width.
185
+ */
186
+ .vjs-shape {
187
+ overflow: visible;
188
+ }
189
+
190
+ /*
191
+ * Assigned by the UI to an element that represents a dummy vertex (such as is used
192
+ * for a edge with source and/or target that is not attached to a vertex)
193
+ */
194
+ .vjs-dummy-vertex {
195
+ width: 1px;
196
+ height: 1px;
197
+ pointer-events: none;
198
+ }
199
+
200
+ /*
201
+ This style was created in response to this Chrome bug:
202
+ http://stackoverflow.com/questions/13758215/artifacts-when-css-scaled-in-chrome
203
+
204
+ Basically it's about how sometimes there can be artifacts left on screen when the user drags an element. It seems
205
+ the issue has been fixed in more recent versions of Chrome, but the style is left here in case you come across
206
+ the problem.
207
+ */
208
+ .vjs-node.vjs-drag {
209
+ /*-webkit-backface-visibility: hidden;*/
210
+ }
211
+
212
+ /*
213
+ Suppresses the pointer events on an element that was created by Katavorio in response to a drag in which the element
214
+ should first be cloned. Having this clone ignore pointer events means there is less chance that any other
215
+ mouse activity (such as click) on the original element will not be consumed by katavorio.
216
+ */
217
+ .katavorio-clone-drag {
218
+ pointer-events: none;
219
+ margin: 0 !important;
220
+ }
221
+
222
+ /*
223
+ Assigned to an element that is the `Container` in a `render` call.
224
+ Elements that are acting as Surface widgets should have overflow:hidden set to prevent libs from
225
+ scrolling them during drag (we don't want scrollbars; we have an infinite canvas). Position is set to
226
+ `relative` as this is the parent for nodes, which are positioned absolute (and for absolute positioning
227
+ to work, you need to ensure the parent node has `position:relative`). This style also sets some default
228
+ values for the cursor - using a `grab` cursor where supported.
229
+ */
230
+ .vjs-surface {
231
+ overflow: hidden !important;
232
+ position: relative;
233
+ cursor: move;
234
+ cursor: -moz-grab;
235
+ cursor: -webkit-grab;
236
+ /**
237
+ When an edge is being dragged, change the canvas cursor to default.
238
+ */
239
+ /*
240
+ For IE10+. As discussed on this page:
241
+
242
+ https://msdn.microsoft.com/en-us/library/ie/jj583807(v=vs.85).aspx
243
+
244
+ Microsoft have very helpfully implemented default behaviours for a bunch of touch events and
245
+ then consumed the events so you don't have to be bothered by them. They've "done a lot of research"
246
+ about this stuff and put together a really great default experience for everyone in the entire world.
247
+ */
248
+ touch-action: none;
249
+ /*
250
+ Another Chrome issue that appears to have been fixed in later versions
251
+ http://stackoverflow.com/questions/15464055/css-transition-effect-makes-image-blurry-moves-image-1px-in-chrome
252
+ */
253
+ /*
254
+ -webkit-backface-visibility: hidden;
255
+ -webkit-transform: translateZ(0) scale(1.0, 1.0);
256
+ */
257
+ }
258
+ .vjs-surface.vjs-surface-edge-dragging {
259
+ cursor: default;
260
+ }
261
+
262
+ /**
263
+ * Assigned to a Surface element when direct rendering is switched on - no pan or zoom, the underlying canvas scaled to fit its contents at zoom:1.
264
+ */
265
+ .vjs-surface-direct-render {
266
+ overflow: hidden !important;
267
+ }
268
+
269
+ /*
270
+ Assigned to the surface when it is being panned. The default is to change the cursor (in browsers that support
271
+ a `grabbing` cursor), and to disable text selection.
272
+ */
273
+ .vjs-surface-panning {
274
+ cursor: -moz-grabbing;
275
+ cursor: -webkit-grabbing;
276
+ -webkit-touch-callout: none;
277
+ -webkit-user-select: none;
278
+ -khtml-user-select: none;
279
+ -moz-user-select: none;
280
+ -ms-user-select: none;
281
+ user-select: none;
282
+ }
283
+
284
+ /*
285
+ The work area in a surface renderer.
286
+ */
287
+ .vjs-surface-canvas {
288
+ overflow: visible !important;
289
+ }
290
+
291
+ /*
292
+ Assigned to a Surface widget when panning is disabled (and therefore the app is relying on scrollbars when the content overflows).
293
+ */
294
+ .vjs-surface-nopan {
295
+ overflow: scroll !important;
296
+ cursor: default;
297
+ }
298
+
299
+ /* ################################################################# */
300
+ /* */
301
+ /* EDGES */
302
+ /* ################################################################ */
303
+ /**
304
+ Assigned to the elements with which a user can drag an edge by its
305
+ source or target
306
+ */
307
+ .vjs-connector-source-drag,
308
+ .vjs-connector-target-drag {
309
+ fill: transparent;
310
+ stroke: none;
311
+ stroke-width: 1;
312
+ cursor: move;
313
+ }
314
+
315
+ /**
316
+ Hover style for connection source/target drag
317
+ */
318
+ .vjs-connector-source-drag:hover,
319
+ .vjs-connector-target-drag:hover {
320
+ /*fill:whitesmoke;*/
321
+ }
322
+
323
+ /**
324
+ Assigned to the temporary DOM element used when relocating an
325
+ existing edge via the mouse/touch events.
326
+ */
327
+ .vjs-connector-transient-drag {
328
+ width: 10px;
329
+ height: 10px;
330
+ background-color: blue;
331
+ position: absolute;
332
+ }
333
+
334
+ /**
335
+ Disable pointer events for new edges and edges that are being relocated.
336
+ */
337
+ .vjs-connector-transient *, .vjs-edge-relocating * {
338
+ pointer-events: none;
339
+ }
340
+
341
+ /*
342
+ Assigned to some edge that has been selected. Only valid for when its an HTML container, because then we use
343
+ SVG elements. This class on a G (as used in a Diagram) does not show the dimensions properly.
344
+ */
345
+ svg.vjs-selected-connection {
346
+ outline: 1px dashed var(--vjs-selected-element-border-color);
347
+ outline-offset: 5px;
348
+ }
349
+
350
+ /* ################################################################################################################## */
351
+ /* */
352
+ /* OVERLAYS */
353
+ /* */
354
+ /* ################################################################################################################## */
355
+ /**
356
+ When label overlays have a blank label we set visibility to hidden
357
+ rather than toggling `display`, because we want the dimensions of the element still to be considered.
358
+ */
359
+ .vjs-label-overlay:empty {
360
+ visibility: hidden;
361
+ }
362
+
363
+ .vjs-overlay-hide {
364
+ display: none !important;
365
+ }
366
+
367
+ /* #################################################################### */
368
+ /* Vertex flash */
369
+ /* #################################################################### */
370
+ /**
371
+ Keyframes for the vertex flash. This animation is called by name by the surface.
372
+ *
373
+ @keyframes jtk-flash-vertex {
374
+ 0%, 50%, 100% {
375
+ opacity: 1;
376
+ }
377
+ 25%, 75% {
378
+ opacity: 0;
379
+ }
380
+ }*/
381
+ @keyframes vjs-flash-vertex {
382
+ 0%, 100% {
383
+ opacity: 1;
384
+ }
385
+ 50% {
386
+ opacity: 0;
387
+ }
388
+ }
389
+ /**
390
+ This class is assigned to an element while it is being flashed.
391
+ */
392
+ .vjs-surface-element-flash {
393
+ background-color: pink;
394
+ }
395
+
396
+ /* ################################################################################################################## */
397
+ /* */
398
+ /* LASSO PLUGIN */
399
+ /* */
400
+ /* ################################################################################################################## */
401
+ :root {
402
+ --vjs-lasso-border: rgb(49, 119, 184);
403
+ --vjs-lasso-background: WhiteSmoke;
404
+ --vjs-lasso-mask: #07234e;
405
+ }
406
+
407
+ /*
408
+ Assigned to the element used for node select with the mouse ("lasso").
409
+ */
410
+ .vjs-lasso {
411
+ border: 2px solid var(--vjs-lasso-border);
412
+ background-color: var(--vjs-lasso-background);
413
+ opacity: 0.5;
414
+ display: none;
415
+ z-index: 20000;
416
+ position: absolute;
417
+ }
418
+
419
+ /*
420
+ This class is added to the document body on lasso drag start and removed at the end of lasso dragging. Its purpose
421
+ is to switch off text selection on all elements while the user is dragging the lasso.
422
+ */
423
+ .vjs-lasso-select-defeat * {
424
+ -webkit-touch-callout: none;
425
+ -webkit-user-select: none;
426
+ -khtml-user-select: none;
427
+ -moz-user-select: none;
428
+ -ms-user-select: none;
429
+ user-select: none;
430
+ }
431
+
432
+ /**
433
+ Added to the lasso mask when it is operating in 'inverted' mode, ie. the excluded parts of the UI are covered, rather
434
+ than the normal mode in which the selected parts of the UI are covered.
435
+ */
436
+ .vjs-lasso-mask {
437
+ position: fixed;
438
+ z-index: 20000;
439
+ display: none;
440
+ opacity: 0.5;
441
+ background-color: var(--vjs-lasso-mask);
442
+ top: 0;
443
+ bottom: 0;
444
+ left: 0;
445
+ right: 0;
446
+ }
447
+
448
+ /* ################################################################################################################## */
449
+ /* */
450
+ /* PAN BUTTONS PLUGIN */
451
+ /* */
452
+ /* ################################################################################################################## */
453
+ :root {
454
+ --vjs-surface-pan-background: #c8cece;
455
+ --vjs-surface-pan-hover-background: rgb(49, 119, 184);
456
+ --vjs-surface-pan-hover-foreground: white;
457
+ --vjs-surface-pan-active-background: var(--vjs-highlight-color);
458
+ }
459
+
460
+ /*
461
+ Assigned to all pan buttons in a surface widget.
462
+ */
463
+ .vjs-surface-pan {
464
+ background-color: var(--vjs-surface-pan-background);
465
+ opacity: 0.4;
466
+ text-align: center;
467
+ cursor: pointer;
468
+ z-index: 2;
469
+ -webkit-transition: background-color 0.15s ease-in;
470
+ -moz-transition: background-color 0.15s ease-in;
471
+ -o-transition: background-color 0.15s ease-in;
472
+ transition: background-color 0.15s ease-in;
473
+ }
474
+
475
+ /*
476
+ Specific styles for the top and bottom pan buttons.
477
+ Top/bottom are 100% width and 20px high by default
478
+ */
479
+ .vjs-surface-pan-top,
480
+ .vjs-surface-pan-bottom {
481
+ width: 100%;
482
+ height: 20px;
483
+ display: flex;
484
+ justify-content: center;
485
+ }
486
+
487
+ /*
488
+ Hover styles for all pan buttons.
489
+ On hover, change color, background color, font weight and opacity.
490
+ */
491
+ .vjs-surface-pan-top:hover,
492
+ .vjs-surface-pan-bottom:hover,
493
+ .vjs-surface-pan-left:hover,
494
+ .vjs-surface-pan-right:hover {
495
+ opacity: 0.6;
496
+ background-color: var(--vjs-surface-pan-hover-background);
497
+ color: var(--vjs-surface-pan-hover-foreground);
498
+ font-weight: bold;
499
+ }
500
+
501
+ /*
502
+ Specific styles for the left and right pan buttons.
503
+ Left/right pan buttons are 100% height and 20px wide
504
+ */
505
+ .vjs-surface-pan-left,
506
+ .vjs-surface-pan-right {
507
+ width: 20px;
508
+ height: 100%;
509
+ display: flex;
510
+ align-items: center;
511
+ }
512
+
513
+ /*
514
+ Assigned to a pan button when the user is pressing it.
515
+ */
516
+ .vjs-surface-pan-active,
517
+ .vjs-surface-pan-active:hover {
518
+ background-color: var(--vjs-surface-pan-active-background);
519
+ }
520
+
521
+ /* ################################################################################################################## */
522
+ /* */
523
+ /* MINIVIEW PLUGIN */
524
+ /* */
525
+ /* ################################################################################################################## */
526
+ :root {
527
+ --vjs-miniview-background: white;
528
+ --vjs-miniview-border: 2px solid #d4d8dc;
529
+ --vjs-miniview-panner-border: 5px dotted WhiteSmoke;
530
+ --vjs-miniview-panner-background: rgb(178, 203, 215);
531
+ --vjs-miniview-element-background: rgb(96, 122, 134);
532
+ --vjs-miniview-group-element-border: 3px solid black;
533
+ --vjs-miniview-collapse-color: WhiteSmoke;
534
+ --vjs-miniview-collapsed-background: #449ea6;
535
+ --vjs-miniview-collapsed-hover: #e4f013;
536
+ }
537
+
538
+ /*
539
+ Assigned to an element that is acting as a Miniview.
540
+ As with Surface, Miniview elements should have overflow:hidden set to prevent
541
+ libs from scrolling them during drag. This style also provides a default width/height for a miniview,
542
+ which you may wish to override.
543
+ */
544
+ .vjs-miniview {
545
+ overflow: hidden !important;
546
+ width: 125px;
547
+ height: 125px;
548
+ background-color: var(--vjs-miniview-background);
549
+ border: var(--vjs-miniview-border);
550
+ border-radius: 4px;
551
+ opacity: 0.8;
552
+ position: absolute;
553
+ }
554
+
555
+ /*
556
+ Assigned to the element that shows the size of the related viewport in a Miniview widget, and which can be dragged to
557
+ move the surface.
558
+ */
559
+ .vjs-miniview-panner {
560
+ border: var(--vjs-miniview-panner-border);
561
+ opacity: 0.4;
562
+ background-color: var(--vjs-miniview-panner-background);
563
+ cursor: move;
564
+ cursor: -moz-grab;
565
+ cursor: -webkit-grab;
566
+ }
567
+
568
+ /*
569
+ Assigned to the miniview's panner when it is being dragged.
570
+ */
571
+ .vjs-miniview-panning {
572
+ cursor: -moz-grabbing;
573
+ cursor: -webkit-grabbing;
574
+ }
575
+
576
+ /*
577
+ Added to all elements displayed in a miniview.
578
+ */
579
+ .vjs-miniview-element {
580
+ background-color: var(--vjs-miniview-element-background);
581
+ position: absolute;
582
+ }
583
+
584
+ /*
585
+ Added to Group elements displayed in a miniview
586
+ */
587
+ .vjs-miniview-group-element {
588
+ background: transparent;
589
+ border: var(--vjs-miniview-group-element-border);
590
+ }
591
+
592
+ /*
593
+ Assigned to the collapse/expand miniview button
594
+ */
595
+ .vjs-miniview-collapse {
596
+ color: var(--vjs-miniview-collapse-color);
597
+ position: absolute;
598
+ font-size: 18px;
599
+ top: -1px;
600
+ right: 3px;
601
+ cursor: pointer;
602
+ font-weight: bold;
603
+ }
604
+
605
+ /*
606
+ The '-' symbol when the miniview is expanded
607
+ */
608
+ .vjs-miniview-collapse:before {
609
+ content: "‒";
610
+ }
611
+
612
+ /*
613
+ Assigned to the miniview element when it is collapsed.
614
+ */
615
+ .vjs-miniview-collapsed {
616
+ background-color: var(--vjs-miniview-collapsed-background);
617
+ border-radius: 4px;
618
+ height: 22px;
619
+ margin-right: 0;
620
+ padding: 4px;
621
+ width: 21px;
622
+ }
623
+
624
+ /*
625
+ Hide all children of the miniview (except the expand button) when it is collapsed so you don't see anything
626
+ poking through under the + icon.
627
+ */
628
+ .vjs-miniview-collapsed .vjs-miniview-element,
629
+ .vjs-miniview-collapsed .vjs-miniview-panner {
630
+ visibility: hidden;
631
+ }
632
+
633
+ /*
634
+ The '+' symbol when the miniview is collapsed.
635
+ */
636
+ .vjs-miniview-collapsed .vjs-miniview-collapse:before {
637
+ content: "+";
638
+ }
639
+
640
+ /*
641
+ Hover state for the collapse/expand icon.
642
+ */
643
+ .vjs-miniview-collapse:hover {
644
+ color: var(--vjs-miniview-collapsed-hover);
645
+ }
646
+
647
+ /**
648
+ When clickToCenter is true on the miniview, set a pointer cursor on miniview elements to indicate they can be clicked.
649
+ */
650
+ .vjs-miniview-click-to-center .vjs-miniview-element {
651
+ cursor: pointer;
652
+ }
653
+
654
+ /* ################################################################################################################## */
655
+ /* */
656
+ /* RESIZING TOOLS PLUGIN */
657
+ /* */
658
+ /* ################################################################################################################## */
659
+ :root {
660
+ --vjs-resize-handle-color: var(--vjs-color-edit);
661
+ --vjs-resize-active-color: #5f9ea0;
662
+ --vjs-resize-handle-size: 1rem;
663
+ --vjs-resize-border-size: 0.6rem;
664
+ --vjs-resize-rotate-leader-length:48px;
665
+ --vjs-resize-rotate-leader-width:2px;
666
+ --vjs-resize-rotate-handle-size:20px;
667
+ }
668
+
669
+ /**
670
+ Assigned to the element that is the parent of the tools on some vertex.
671
+ */
672
+ /**
673
+ Assigned to the skeleton element when a resize is active.
674
+ */
675
+ .vjs-resize-active {
676
+ --vjs-resize-handle-color:var(--vjs-resize-active-color);
677
+ }
678
+
679
+ /*
680
+ Assigned to the element that is drawn around some other element when a resize operation is taking place
681
+ */
682
+ .vjs-resize-frame {
683
+ stroke-width: var(--vjs-resize-rotate-leader-width);
684
+ fill: none;
685
+ stroke: var(--vjs-resize-handle-color);
686
+ }
687
+
688
+ /*
689
+ Assigned to every handle (top left, top right, bottom left, bottom right, center) in a resize skeleton.
690
+ */
691
+ .vjs-resize-handle {
692
+ pointer-events: all;
693
+ cursor: pointer;
694
+ fill: white;
695
+ stroke: var(--vjs-resize-handle-color);
696
+ stroke-width: 2px;
697
+ transition: fill 0.2s;
698
+ /*
699
+ On hover, fill the shape
700
+ */
701
+ }
702
+ .vjs-resize-handle:hover {
703
+ fill: var(--vjs-resize-handle-color);
704
+ }
705
+
706
+ /*
707
+ Assigned to a handle when it is in use. By default we fill the shape, same effect as hover.
708
+ */
709
+ .vjs-resize-handle-active {
710
+ fill: var(--vjs-resize-handle-color);
711
+ }
712
+
713
+ /*
714
+ Assigned to the top left handle in a draw skeleton
715
+ */
716
+ .vjs-resize-handle-tl {
717
+ cursor: nw-resize;
718
+ }
719
+
720
+ /*
721
+ Assigned to the top right handle in a draw skeleton,
722
+ both svg and divs.
723
+ */
724
+ .vjs-resize-handle-tr {
725
+ cursor: ne-resize;
726
+ }
727
+
728
+ /*
729
+ Assigned to the bottom left handle in a draw skeleton
730
+ */
731
+ .vjs-resize-handle-bl {
732
+ cursor: sw-resize;
733
+ }
734
+
735
+ /*
736
+ Assigned to the bottom right handle in a draw skeleton
737
+ */
738
+ .vjs-resize-handle-br {
739
+ cursor: se-resize;
740
+ }
741
+
742
+ /**
743
+ Assigned to the handle with which a user can rotate an element.
744
+ */
745
+ .vjs-rotate-handle {
746
+ left: 50%;
747
+ top: calc(-1 * var(--vjs-resize-rotate-leader-length));
748
+ stroke: var(--vjs-resize-handle-color);
749
+ stroke-width: var(--vjs-resize-rotate-leader-width);
750
+ fill: var(--vjs-resize-handle-color);
751
+ pointer-events: all;
752
+ cursor: move;
753
+ }
754
+ .vjs-rotate-handle + text {
755
+ fill: white;
756
+ dominant-baseline: middle;
757
+ text-anchor: middle;
758
+ pointer-events: none;
759
+ }
760
+
761
+ /**
762
+ Assigned to the leader line that visibly connects the rotate handle with an element.
763
+ */
764
+ .vjs-rotate-leader {
765
+ /*left: 50%;
766
+ top: calc(-1*var(--vjs-resize-rotate-leader-length));*/
767
+ fill: var(--vjs-resize-handle-color);
768
+ stroke: var(--vjs-resize-handle-color);
769
+ stroke-width: var(--vjs-resize-rotate-leader-width);
770
+ }
771
+
772
+ /**
773
+ Temporarily assigned during certain resize operations.
774
+ */
775
+ .vjs-resize-anim {
776
+ transition-property: transform, width, height;
777
+ transition-duration: 0.2s;
778
+ }
779
+
780
+ /*
781
+ This class is added to the document body on drag resize start and removed at the end of resizing. Its purpose
782
+ is to switch off text selection on all elements while the user is resizing an element.
783
+ */
784
+ .vjs-drag-select-defeat * {
785
+ -webkit-touch-callout: none;
786
+ -webkit-user-select: none;
787
+ -khtml-user-select: none;
788
+ -moz-user-select: none;
789
+ -ms-user-select: none;
790
+ user-select: none;
791
+ }
792
+
793
+ .vjs-resize-skeleton-borders {
794
+ /**
795
+ * Assigned to all border drag handles.
796
+ */
797
+ /**
798
+ * Assigned to the left edge border drag handle
799
+ */
800
+ /**
801
+ * Assigned to the right edge border drag handle
802
+ */
803
+ /**
804
+ * Assigned to the top edge border drag handle
805
+ */
806
+ /**
807
+ * Assigned to the bottom edge border drag handle
808
+ */
809
+ }
810
+ .vjs-resize-skeleton-borders .vjs-resize-border {
811
+ pointer-events: all;
812
+ fill: transparent;
813
+ }
814
+ .vjs-resize-skeleton-borders .vjs-resize-border-l {
815
+ cursor: w-resize;
816
+ }
817
+ .vjs-resize-skeleton-borders .vjs-resize-border-r {
818
+ cursor: e-resize;
819
+ }
820
+ .vjs-resize-skeleton-borders .vjs-resize-border-t {
821
+ cursor: n-resize;
822
+ }
823
+ .vjs-resize-skeleton-borders .vjs-resize-border-b {
824
+ cursor: s-resize;
825
+ }
826
+ .vjs-resize-skeleton-borders.vjs-resize-skeleton-borders-visible .vjs-resize-border {
827
+ fill: var(--vjs-resize-handle-color);
828
+ opacity: 0.6;
829
+ }
830
+ .vjs-resize-skeleton-borders.vjs-resize-skeleton-borders-visible .vjs-resize-border:hover {
831
+ opacity: 0.9;
832
+ }
833
+
834
+ .vjs-cell-tool {
835
+ color: black;
836
+ cursor: pointer;
837
+ transition: all 0.2s ease-in-out;
838
+ transform-origin: center;
839
+ }
840
+
841
+ .vjs-cell-tool:hover {
842
+ color: var(--vjs-color-primary);
843
+ transform: scale(1.15);
844
+ filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
845
+ }
846
+
847
+ .vjs-delete-cell:hover {
848
+ color: var(--vjs-color-delete);
849
+ }
850
+
851
+ /* ################################################################################################################## */
852
+ /* */
853
+ /* SNAPLINES PLUGIN */
854
+ /* */
855
+ /* ################################################################################################################## */
856
+ :root {
857
+ --vjs-color-snapline: yellowgreen;
858
+ --vjs-color-snapline-exact: red;
859
+ --vjs-snapline-size: 1px;
860
+ --vjs-color-snapline-active: yellowgreen;
861
+ }
862
+
863
+ .vjs-snapline {
864
+ position: absolute;
865
+ z-index: 1000;
866
+ background-color: var(--vjs-color-snapline);
867
+ }
868
+
869
+ rect.vjs-snapline {
870
+ fill: var(--vjs-color-snapline-active);
871
+ }
872
+
873
+ .vjs-snapline-exact {
874
+ background: var(--vjs-color-snapline-exact);
875
+ }
876
+
877
+ rect.vjs-snapline-exact {
878
+ fill: var(--vjs-color-snapline-exact);
879
+ }
880
+
881
+ .vjs-snapline-vertical {
882
+ top: 0;
883
+ bottom: 0;
884
+ width: var(--vjs-snapline-size);
885
+ transform: translateX(-50%);
886
+ }
887
+
888
+ .vjs-snapline-horizontal {
889
+ left: 0;
890
+ right: 0;
891
+ height: var(--vjs-snapline-size);
892
+ transform: translateY(-50%);
893
+ }
894
+
895
+ .vjs-snapline-active {
896
+ outline: 1px var(--vjs-color-snapline-active);
897
+ }
898
+
899
+ /* ################################################################################################################## */
900
+ /* */
901
+ /* GENERATED GRID BACKGROUND PLUGIN */
902
+ /* */
903
+ /* ################################################################################################################## */
904
+ :root {
905
+ --vjs-grid-lines-color: lightgray;
906
+ }
907
+
908
+ /**
909
+ Assigned to the `rect` element that draws the generated grid's border, if requested.
910
+ */
911
+ .vjs-background-border {
912
+ stroke: black;
913
+ stroke-width: 5;
914
+ }
915
+
916
+ /**
917
+ Assigned to both the major grid lines and the minor grid lines.
918
+ */
919
+ .vjs-background-grid {
920
+ fill: none;
921
+ stroke: var(--vjs-grid-lines-color);
922
+ }
923
+
924
+ /**
925
+ Assigned to the lines marking grid tick marks (when using GridTypes.lines)
926
+ */
927
+ .vjs-background-grid-minor {
928
+ fill: none;
929
+ stroke: var(--vjs-grid-lines-color);
930
+ stroke-width: 0.25px;
931
+ }
932
+
933
+ /**
934
+ Assigned to the major grid lines (when using GridTypes.lines)
935
+ */
936
+ .vjs-background-grid-major {
937
+ fill: none;
938
+ stroke: var(--vjs-grid-lines-color);
939
+ stroke-width: 0.5px;
940
+ }
941
+
942
+ /**
943
+ Assigned to the dots marking grid positions (when using GridTypes.dotted)
944
+ */
945
+ .vjs-background-grid-dotted-major {
946
+ fill: var(--vjs-grid-lines-color);
947
+ stroke: none;
948
+ }
949
+
950
+ /**
951
+ Assigned to the dots marking grid tick marks (when using GridTypes.dotted)
952
+ */
953
+ .vjs-background-grid-dotted-minor {
954
+ fill: var(--vjs-grid-lines-color);
955
+ stroke: none;
956
+ }
957
+
958
+ /** -------------------------------------- */
959
+ /* tiled background plugin ----------- */
960
+ /* --------------------------------------- */
961
+ /*
962
+ Assigned to tile images in a tiled background
963
+ */
964
+ .vjs-surface-tile {
965
+ border: none;
966
+ outline: none;
967
+ margin: 0;
968
+ -webkit-transition: opacity 0.3s ease 0.15s;
969
+ -moz-transition: opacity 0.3s ease 0.15s;
970
+ -o-transition: opacity 0.3s ease 0.15s;
971
+ -ms-transition: opacity 0.3s ease 0.15s;
972
+ transition: opacity 0.3s ease 0.15s;
973
+ }
974
+
975
+ .vjs-vertex-drawing-lasso {
976
+ outline-offset: 10px;
977
+ outline: 2px dashed var(--vjs-resize-handle-color);
978
+ opacity: 1;
979
+ }
980
+
981
+ :root {
982
+ --vjs-export-underlay-bg-color:#bfbfbf;
983
+ --vjs-export-overlay-bg-color:#ffffff;
984
+ }
985
+
986
+ /* ################################################################################################################## */
987
+ /* */
988
+ /* SVG/PNG/JPG Export */
989
+ /* */
990
+ /* ################################################################################################################## */
991
+ .vjs-export-underlay {
992
+ position: fixed;
993
+ inset: 0;
994
+ z-index: 1000;
995
+ opacity: 0.9;
996
+ background-color: var(--vjs-export-underlay-bg-color);
997
+ }
998
+
999
+ .vjs-export-overlay {
1000
+ z-index: 1001;
1001
+ display: flex;
1002
+ flex-direction: column;
1003
+ align-items: center;
1004
+ max-width: 80%;
1005
+ position: fixed;
1006
+ width: 80%;
1007
+ left: 50%;
1008
+ margin-left: -40%;
1009
+ top: 10%;
1010
+ height: 70%;
1011
+ background-color: var(--vjs-export-overlay-bg-color);
1012
+ padding: 1rem;
1013
+ border-radius: 5px;
1014
+ box-shadow: 0 0 10px #847a6a;
1015
+ }
1016
+
1017
+ .vjs-export-overlay > svg {
1018
+ max-width: 100%;
1019
+ }
1020
+
1021
+ .vjs-export-cancel {
1022
+ position: absolute;
1023
+ top: 25px;
1024
+ right: 25px;
1025
+ cursor: pointer;
1026
+ }
1027
+ .vjs-export-cancel:after {
1028
+ content: "✖";
1029
+ }
1030
+ .vjs-export-cancel:hover {
1031
+ color: orangered;
1032
+ }
1033
+
1034
+ .vjs-export-download-tools * {
1035
+ margin: 0.25rem;
1036
+ padding: 0.25rem;
1037
+ }
1038
+
1039
+ /* ################################################################################################################## */
1040
+ /* */
1041
+ /* SHAPE LIBRARY PALETTE */
1042
+ /* */
1043
+ /* ################################################################################################################## */
1044
+ .vjs-shape-library-palette .vjs-shape-library-palette-shape {
1045
+ display: flex;
1046
+ flex-direction: column;
1047
+ width: 3rem;
1048
+ margin: 0.25rem;
1049
+ cursor: move;
1050
+ }
1051
+ .vjs-shape-library-palette .vjs-shape-library-palette-shape svg * {
1052
+ vector-effect: non-scaling-stroke;
1053
+ }
1054
+ .vjs-shape-library-palette .vjs-shape-library-palette-label {
1055
+ font-size: 11px;
1056
+ text-align: center;
1057
+ white-space: nowrap;
1058
+ overflow: hidden;
1059
+ width: 100%;
1060
+ text-overflow: ellipsis;
1061
+ margin-top: 3px;
1062
+ }
1063
+ .vjs-shape-library-palette .vjs-shape-library-palette-filter {
1064
+ width: 90%;
1065
+ padding: 3px;
1066
+ margin: 0 0 1rem 0;
1067
+ }
1068
+ .vjs-shape-library-palette .vjs-shape-library-palette-set {
1069
+ display: flex;
1070
+ flex-direction: column;
1071
+ margin: 0 0 1rem 0;
1072
+ }
1073
+ .vjs-shape-library-palette .vjs-shape-library-palette-set[data-visible=false] {
1074
+ display: none;
1075
+ }
1076
+ .vjs-shape-library-palette .vjs-shape-library-palette-set .vjs-shape-library-palette-set-shapes {
1077
+ display: flex;
1078
+ flex-wrap: wrap;
1079
+ }
1080
+ .vjs-shape-library-palette .vjs-shape-library-palette-set-title {
1081
+ margin: 0.5rem 0;
1082
+ background-color: #ddd;
1083
+ padding: 0.25rem;
1084
+ width: 90%;
1085
+ display: none;
1086
+ }
1087
+ .vjs-shape-library-palette[data-show-all=true] .vjs-shape-library-palette-set {
1088
+ display: flex;
1089
+ }
1090
+ .vjs-shape-library-palette[data-show-all=true] .vjs-shape-library-palette-set .vjs-shape-library-palette-filter {
1091
+ display: none;
1092
+ }
1093
+
1094
+ .vjs-shape-library-palette-filter[data-show-all=true] ~ .vjs-shape-library-palette-set .vjs-shape-library-palette-set-title {
1095
+ display: block;
1096
+ }
1097
+
1098
+ /**
1099
+ Default styles for the lasso used by the shape library palette when in
1100
+ 'tap' mode and users can draw new vertices on the canvas. These two rules
1101
+ override the default lasso styles declared above.
1102
+ */
1103
+ .vjs-shape-library-palette-lasso {
1104
+ background-color: transparent;
1105
+ border: none;
1106
+ }
1107
+
1108
+ /**
1109
+ Defaults for SVG elements being drawn by a vertex drawing plugin used by a shape
1110
+ library palette.
1111
+ */
1112
+ .vjs-shape-library-palette-lasso > svg {
1113
+ fill: #ffffff;
1114
+ stroke: #000000;
1115
+ stroke-width: 2;
1116
+ }
1117
+
1118
+ /*
1119
+ This rule is scoped at the root level so that it applies to shapes that are inside a
1120
+ palette and also those that are being dragged and are a child of the body at that
1121
+ point.
1122
+ */
1123
+ .vjs-shape-library-palette-shape {
1124
+ /**
1125
+ Assigned to shapes drawn by a shape library palette. We set a default fill of none, a default
1126
+ stroke, and we set overflow:visible, to allow for variable stroke-width, although we set a default of 1px.
1127
+ */
1128
+ }
1129
+ .vjs-shape-library-palette-shape svg {
1130
+ overflow: visible;
1131
+ vector-effect: non-scaling-stroke;
1132
+ }
1133
+
1134
+ /* ################################################################################################################## */
1135
+ /* */
1136
+ /* EDGE PATH EDITORS */
1137
+ /* */
1138
+ /* ################################################################################################################## */
1139
+ /* ----------------------------------- Styles for connector paths when editing -------------------------------------- */
1140
+ :root {
1141
+ --vjs-edge-handle-bg: var(--vjs-editor-handle-background);
1142
+ --vjs-edge-handle-size: 20px;
1143
+ --vjs-edge-handle-font-size: 13px;
1144
+ --vjs-edge-handle-fg: #000000;
1145
+ --vjs-edge-delete-handle-bg: var(--vjs-color-delete);
1146
+ --vjs-edge-delete-handle-fg: white;
1147
+ --vjs-edge-handle-shadow: 0 0 5px;
1148
+ --vjs-edge-handle-hover-bg: #2b55b2;
1149
+ --vjs-edge-move-icon: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNy4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgOTYgOTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDk2IDk2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxwYXRoIGQ9Ik03Myw0OC40bC0xMC40LTkuNnY0LjhINTIuNFYzMy40aDQuOEw0Ny42LDIzbC04LjksMTAuNGg0Ljh2MTAuMkgzMy40di00LjhMMjMsNDguNGwxMC40LDguOXYtNC44aDEwLjJ2MTAuMmgtNC44TDQ3LjYsNzMNCgkJbDkuNi0xMC40aC00LjhWNTIuNGgxMC4ydjQuOEw3Myw0OC40eiIvPg0KPC9nPg0KPC9zdmc+DQo=);
1150
+ --vjs-edge-handle-z-index: 10;
1151
+ --vjs-edge-split-icon: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIA0KCSB2aWV3Qm94PSIwIDAgMzgwLjYyMSAzODAuNjIiDQoJIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPGc+DQoJCTxwYXRoIGQ9Ik0zODAuNjIxLDEwNi45NTVsLTkuNzE2LTAuNjA3YzAsMC03Ny4wNjgsMjQuNDE3LTEzNC4xOTMsNDIuODMyYy00LjI4NSwxMi43OTItOC4xODYsMjQuMzQ3LTExLjMwMywzMy40MzINCgkJCUwzODAuNjIxLDEwNi45NTV6Ii8+DQoJCTxwYXRoIGQ9Ik0xNzYuNjA0LDE2OS4wODljLTQ3LjgzLDE1LjI0NS05NS4zNS01LjgzOC05OC43NDItNy4zOTJjLTE0LjE1OS04Ljg2My0zMy41MTktOS4zNjUtNTAuMTQyLTAuNTI1DQoJCQljLTExLjUzNyw2LjExOS0yMC4zLDE1Ljg2OS0yNC43MTQsMjcuNDNjLTQuNTMxLDExLjg5OS0zLjkyNCwyNC4zLDEuNzEsMzQuODkxYzEuODE2LDMuNDIyLDQuMTEsNi41NTEsNi44MjUsOS4zMTgNCgkJCWMxNC4xNDcsMTQuMzYzLDM3Ljg4LDE3LjA0OSw1Ny42OTcsNi41MTZjMC4wNy0wLjAzNCwwLjE0LTAuMDkzLDAuMjI4LTAuMTRjLTAuMDk5LDAuMTg3LTAuMTQ2LDAuMjgtMC4xNDYsMC4yOGwxMjMuMjQ2LTYwLjIwNw0KCQkJbDAuMDcsMC4wMjlsLTQuNjcxLTE0LjIxN0MxODEuNjI1LDE2Ny4xOTcsMTc3LjUzOCwxNjguNjM0LDE3Ni42MDQsMTY5LjA4OXogTTYyLjUxOSwyMjYuNjY5DQoJCQljLTE0LjI1Miw3LjU5LTMxLjAzMiw1Ljk3OS00MC43NjUtMy45MjRjLTEuNzMzLTEuNzYzLTMuMjE3LTMuNzcxLTQuMzczLTUuOTc5Yy0zLjY3Mi02Ljg5LTQuMDA1LTE1LjA4Ny0wLjk2OS0yMy4wNzQNCgkJCWMzLjE3LTguMzIsOS41NjMtMTUuMzczLDE4LjAyOS0xOS44NjljMTQuMjctNy41NzMsMzEuMDIxLTUuOTY3LDQwLjc1MywzLjkxN2MxLjc0NiwxLjc3NSwzLjIxNywzLjc4NCw0LjM4NSw1Ljk3OQ0KCQkJYzMuNjYxLDYuOTAxLDQuMDExLDE1LjA4NiwwLjk4MSwyMy4wNzRDNzcuMzk1LDIxNS4xMDgsNzAuOTg0LDIyMi4xNjIsNjIuNTE5LDIyNi42Njl6Ii8+DQoJCTxwYXRoIGQ9Ik0yMTUuNDI0LDM1My4zNDJjOS41NC0xNi44MDMsOS4zNDItMzYuNjMxLDAuMjU3LTUxLjEzNGMtMi4xNDgtNS4yMi0yMC4yNDItNTEuNTc3LTQuMDUyLTk3LjkxMw0KCQkJYzMuNjA4LTcuMDA2LDY1LjE4Mi0xOTQuMzAxLDY1LjE4Mi0xOTQuMzAxbC0wLjc0OC05LjIzbC04Mi4yNjUsMTYyLjY2OGw4LjA4MSwyNC42MzNsLTYyLjA0NiwxMTkuMzQNCgkJCWMtMC40NjcsMC43Ni0wLjk2OSwxLjQ5NC0xLjQwNywyLjI1NGMtMTEuMjA0LDE5Ljc0Ni05LjA0NCw0My42ODQsNS4yNjEsNTguMjFsMCwwYzIuNTkyLDIuNjQsNS41NDcsNC45MDUsOC43NjQsNi43MjYNCgkJCWMxMC40MzksNS45MzMsMjIuOCw2Ljg3OSwzNC44MzMsMi42ODdDMTk4Ljk4OSwzNzMuMjE3LDIwOC45NzksMzY0LjcxNiwyMTUuNDI0LDM1My4zNDJ6IE0yMDQuNzYzLDE3MS4yMTQNCgkJCWMtMi45MzEtMi45NzgtMi44ODQtNy43NDgsMC4wODItMTAuNjljMi45NzgtMi45MjUsNy43NjUtMi44OSwxMC42OTYsMC4wODdjMi45MzEsMi45NzgsMi44OTYsNy43Ni0wLjA4MiwxMC42OQ0KCQkJQzIxMi40ODIsMTc0LjIyNywyMDcuNjk0LDE3NC4xOTIsMjA0Ljc2MywxNzEuMjE0eiBNMTgyLjU4MywzNjMuNzU4Yy04LjA2OSwyLjgwMy0xNi4yNDksMi4yNDItMjMuMDQ1LTEuNjExDQoJCQljLTIuMDU1LTEuMTgtMy45NTMtMi42MzktNS42MTYtNC4zMmMtOS44MzMtOS45OTYtMTEuMDc2LTI2Ljg4MS0zLjAxMy00MS4wOTJjNC43MzQtOC4zMjYsMTEuOTU3LTE0LjUzOCwyMC4zNzYtMTcuNDY5DQoJCQljOC4wNTgtMi44MTQsMTYuMjM3LTIuMjU0LDIzLjAyNywxLjYyM2MyLjA2NywxLjE4LDMuOTcxLDIuNjE1LDUuNjM0LDQuMzA5YzkuODI3LDkuOTg0LDExLjA3NiwyNi44ODEsMy4wMTMsNDEuMDkyDQoJCQlDMTk4LjIxMiwzNTQuNjE1LDE5MC45NzgsMzYwLjgxNSwxODIuNTgzLDM2My43NTh6Ii8+DQoJPC9nPg0KPC9nPg0KPC9zdmc+);
1152
+ --vjs-edge-delete-icon: url(data:image/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgLTI1NiAxNzkyIDE3OTIiIHZlcnNpb249IjEuMSI+CiAgICA8ZyB0cmFuc2Zvcm09Im1hdHJpeCgxLDAsMCwtMSwxOTcuNDIzNzMsMTI1NS4wNTA4KSI+CiAgICAgICAgPHBhdGggc3Ryb2tlPSJjdXJyZW50Q29sb3IiIGQ9Ik0gNTEyLDgwMCBWIDIyNCBxIDAsLTE0IC05LC0yMyAtOSwtOSAtMjMsLTkgaCAtNjQgcSAtMTQsMCAtMjMsOSAtOSw5IC05LDIzIHYgNTc2IHEgMCwxNCA5LDIzIDksOSAyMyw5IGggNjQgcSAxNCwwIDIzLC05IDksLTkgOSwtMjMgeiBtIDI1NiwwIFYgMjI0IHEgMCwtMTQgLTksLTIzIC05LC05IC0yMywtOSBoIC02NCBxIC0xNCwwIC0yMyw5IC05LDkgLTksMjMgdiA1NzYgcSAwLDE0IDksMjMgOSw5IDIzLDkgaCA2NCBxIDE0LDAgMjMsLTkgOSwtOSA5LC0yMyB6IG0gMjU2LDAgViAyMjQgcSAwLC0xNCAtOSwtMjMgLTksLTkgLTIzLC05IGggLTY0IHEgLTE0LDAgLTIzLDkgLTksOSAtOSwyMyB2IDU3NiBxIDAsMTQgOSwyMyA5LDkgMjMsOSBoIDY0IHEgMTQsMCAyMywtOSA5LC05IDksLTIzIHogTSAxMTUyLDc2IHYgOTQ4IEggMjU2IFYgNzYgUSAyNTYsNTQgMjYzLDM1LjUgMjcwLDE3IDI3Ny41LDguNSAyODUsMCAyODgsMCBoIDgzMiBxIDMsMCAxMC41LDguNSA3LjUsOC41IDE0LjUsMjcgNywxOC41IDcsNDAuNSB6IE0gNDgwLDExNTIgaCA0NDggbCAtNDgsMTE3IHEgLTcsOSAtMTcsMTEgSCA1NDYgcSAtMTAsLTIgLTE3LC0xMSB6IG0gOTI4LC0zMiB2IC02NCBxIDAsLTE0IC05LC0yMyAtOSwtOSAtMjMsLTkgaCAtOTYgViA3NiBxIDAsLTgzIC00NywtMTQzLjUgLTQ3LC02MC41IC0xMTMsLTYwLjUgSCAyODggcSAtNjYsMCAtMTEzLDU4LjUgUSAxMjgsLTExIDEyOCw3MiB2IDk1MiBIIDMyIHEgLTE0LDAgLTIzLDkgLTksOSAtOSwyMyB2IDY0IHEgMCwxNCA5LDIzIDksOSAyMyw5IGggMzA5IGwgNzAsMTY3IHEgMTUsMzcgNTQsNjMgMzksMjYgNzksMjYgaCAzMjAgcSA0MCwwIDc5LC0yNiAzOSwtMjYgNTQsLTYzIGwgNzAsLTE2NyBoIDMwOSBxIDE0LDAgMjMsLTkgOSwtOSA5LC0yMyB6Ii8+CiAgICA8L2c+Cjwvc3ZnPgo=);
1153
+ --vjs-bezier-edge-handle-bg:var(--vjs-edge-handle-bg);
1154
+ --vjs-anchor-handle-bg:var(--vjs-edge-handle-bg);
1155
+ --vjs-anchor-placeholder-bg:var(--vjs-edge-handle-bg);
1156
+ }
1157
+
1158
+ /*
1159
+ `vjs-connection-edit` is a class set on an edge that is being edited. We don't set a default for this.
1160
+ Note that the class is set on the parent SVG element, not the path element.
1161
+ */
1162
+ /* --------------------------------- Common handle styles for edge editors ------------------------------------------ */
1163
+ .vjs-edge-handle {
1164
+ position: absolute;
1165
+ fill: var(--vjs-edge-handle-bg);
1166
+ border-radius: 50%;
1167
+ font-size: var(--vjs-edge-handle-font-size);
1168
+ z-index: var(--vjs-edge-handle-z-index);
1169
+ color: var(--vjs-edge-handle-fg);
1170
+ opacity: 0.95;
1171
+ }
1172
+ .vjs-edge-handle text {
1173
+ fill: white;
1174
+ dominant-baseline: middle;
1175
+ text-anchor: middle;
1176
+ pointer-events: none;
1177
+ font-size: 11px;
1178
+ }
1179
+
1180
+ .vjs-edge-guideline {
1181
+ position: absolute;
1182
+ fill: none;
1183
+ stroke: var(--vjs-bezier-edge-handle-bg);
1184
+ stroke-dasharray: 2;
1185
+ overflow: visible;
1186
+ }
1187
+
1188
+ /* ----------------------------------------- Orthogonal edge editor --------------------------------------------------*/
1189
+ .vjs-orthogonal-handle {
1190
+ cursor: move;
1191
+ }
1192
+ .vjs-orthogonal-handle text {
1193
+ fill: white;
1194
+ dominant-baseline: central;
1195
+ text-anchor: middle;
1196
+ pointer-events: none;
1197
+ }
1198
+
1199
+ .vjs-orthogonal-segment-drag {
1200
+ cursor: move;
1201
+ cursor: grab;
1202
+ }
1203
+
1204
+ .vjs-orthogonal-segment-drag-ns {
1205
+ cursor: ns-resize;
1206
+ }
1207
+
1208
+ .vjs-orthogonal-segment-drag-ew {
1209
+ cursor: ew-resize;
1210
+ }
1211
+ .vjs-orthogonal-segment-drag-ew text {
1212
+ dominant-baseline: middle;
1213
+ }
1214
+
1215
+ .vjs-orthogonal-segment-drag:hover {
1216
+ fill: var(--vjs-edge-handle-hover-bg);
1217
+ }
1218
+
1219
+ /* -------------------------- Cubic/Quadratic Bezier edge editor ------------------------------------------------- */
1220
+ /*#
1221
+ Identifies a handle used to drag a control point. From 7.0.0 there are no specific styles for this - see .vjs-edge-handle.
1222
+ *
1223
+ svg.vjs-bezier-handle, circle.vjs-bezier-handle {
1224
+ fill:var(--vjs-bezier-edge-handle-bg);
1225
+ }*/
1226
+ /**
1227
+ Common class applied to all control points
1228
+ */
1229
+ /*
1230
+ The drag handle corresponding to the first control point. For StateMachine connectors only this handle is shown.
1231
+
1232
+ .vjs-bezier-handle-control-point-1:before {
1233
+ content: "1";
1234
+ }*?
1235
+
1236
+ /*
1237
+ The drag handle corresponding to the second control point. For StateMachine connectors only this handle is shown.
1238
+
1239
+ .vjs-bezier-handle-control-point-2:before {
1240
+ content: "2";
1241
+ }
1242
+
1243
+ .vjs-bezier-handle-control-point-3:before {
1244
+ content: "3";
1245
+ }
1246
+
1247
+ .vjs-bezier-handle-control-point-4:before {
1248
+ content: "4";
1249
+ }*/
1250
+ .vjs-bezier-handle-secondary {
1251
+ cursor: default;
1252
+ fill: lightgreen;
1253
+ }
1254
+
1255
+ .vjs-bezier-handle-secondary-source {
1256
+ fill: lavenderblush;
1257
+ }
1258
+
1259
+ /**
1260
+ Added to the guidelines by the bezier editor. No specific styles here. See .vjs-edge-guideline
1261
+ */
1262
+ /* ---------------------------------------- Straight connector editor ----------------------------------------------- */
1263
+ .vjs-straight-handle {
1264
+ /* &:hover {
1265
+ fill:white;
1266
+
1267
+ text {
1268
+ fill:var(--vjs-edge-handle-bg);
1269
+ }
1270
+ }*/
1271
+ }
1272
+ .vjs-straight-handle text {
1273
+ fill: white;
1274
+ dominant-baseline: middle;
1275
+ text-anchor: middle;
1276
+ pointer-events: none;
1277
+ font-size: 11px;
1278
+ }
1279
+
1280
+ .vjs-straight-segment-drag {
1281
+ cursor: move;
1282
+ width: 16px;
1283
+ height: 16px;
1284
+ }
1285
+ .vjs-straight-segment-drag text {
1286
+ stroke-width: 0.35px;
1287
+ font-size: 11px;
1288
+ }
1289
+
1290
+ .vjs-straight-segment-split {
1291
+ width: 10px;
1292
+ height: 10px;
1293
+ fill: var(--vjs-edge-handle-bg);
1294
+ /*background-color: var(--vjs-edge-handle-bg);
1295
+ background-image: var(--vjs-edge-split-icon);*/
1296
+ cursor: pointer;
1297
+ }
1298
+
1299
+ .vjs-straight-segment-delete {
1300
+ width: 10px;
1301
+ height: 10px;
1302
+ fill: var(--vjs-edge-delete-handle-bg);
1303
+ /*background-color: var(--vjs-edge-delete-handle-bg);
1304
+ background-image: var(--vjs-edge-delete-icon);*/
1305
+ cursor: pointer;
1306
+ /* &:hover {
1307
+ fill:white;
1308
+
1309
+ text {
1310
+ fill: var(--vjs-edge-delete-handle-bg);
1311
+ }
1312
+ }*/
1313
+ }
1314
+ .vjs-straight-segment-delete text {
1315
+ font-size: 7px;
1316
+ dominant-baseline: central;
1317
+ }
1318
+
1319
+ /**
1320
+ No specific styles for this - see .vjs-edge-guideline
1321
+ */
1322
+ /**
1323
+ Path elements in "auto split" mode are assigned this css class, and we apply a
1324
+ 'cell' cursor to them.
1325
+ */
1326
+ .vjs-straight-connector-edit path {
1327
+ cursor: cell;
1328
+ }
1329
+
1330
+ /* ---------------------------------- Edge editor anchor placeholders ---------------------------------------------- */
1331
+ /*
1332
+ Added to the element placed at the location of an anchor for a connection that is being edited. This applies
1333
+ to both dynamic and continuous anchors. Fixed anchors cannot be relocated.
1334
+ */
1335
+ .vjs-anchor-placeholder {
1336
+ cursor: move;
1337
+ cursor: grab;
1338
+ fill: var(--vjs-anchor-handle-bg);
1339
+ opacity: 0.95;
1340
+ z-index: 10;
1341
+ }
1342
+
1343
+ .vjs-continuous-anchor-placeholder {
1344
+ fill: var(--vjs-anchor-handle-bg);
1345
+ opacity: 0.95;
1346
+ z-index: 10;
1347
+ pointer-events: none;
1348
+ }
1349
+
1350
+ /*
1351
+ Added to the elements drawn to show where a certain anchor may be relocated to, when using
1352
+ an anchor that has multiple allowed positions.
1353
+ */
1354
+ .vjs-anchor-candidate {
1355
+ fill: var(--vjs-anchor-placeholder-bg);
1356
+ }
1357
+
1358
+ /* --------------------------- Edge delete button ------------------------------------------------------------------- */
1359
+ .vjs-edge-delete {
1360
+ fill: #000000;
1361
+ font-size: 11px;
1362
+ cursor: pointer;
1363
+ }
1364
+ .vjs-edge-delete rect {
1365
+ fill: #ffffff;
1366
+ }
1367
+ .vjs-edge-delete:hover {
1368
+ fill: var(--vjs-color-delete);
1369
+ }
1370
+
1371
+ /* ################################################################################################################## */
1372
+ /* */
1373
+ /* DIALOGS */
1374
+ /* */
1375
+ /* ################################################################################################################## */
1376
+ :root {
1377
+ --vjs-color-dialog-underlay: #ccc;
1378
+ --vjs-color-dialog-overlay-bg: white;
1379
+ }
1380
+
1381
+ /*
1382
+ This is the element that acts as the dialog underlay - the modal "mask". Note the high z-index default
1383
+ set here (and note also the overlay style below has a z-index with a value higher by one).
1384
+ */
1385
+ .vjs-dialog-underlay {
1386
+ left: 0;
1387
+ right: 0;
1388
+ top: 0;
1389
+ bottom: 0;
1390
+ position: fixed;
1391
+ z-index: 100000;
1392
+ opacity: 0.8;
1393
+ background-color: var(--vjs-color-dialog-underlay);
1394
+ display: none;
1395
+ }
1396
+
1397
+ /*
1398
+ This is the element that acts as the parent for dialog content.
1399
+ */
1400
+ .vjs-dialog-overlay {
1401
+ position: fixed;
1402
+ z-index: 100001;
1403
+ display: none;
1404
+ background-color: var(--vjs-color-dialog-overlay-bg);
1405
+ padding: 9px;
1406
+ box-shadow: 0 0 5px grey;
1407
+ overflow: hidden;
1408
+ border-radius: 3px;
1409
+ }
1410
+
1411
+ .vjs-dialog-overlay-x {
1412
+ max-height: 0;
1413
+ transition: max-height 0.5s ease-in;
1414
+ -moz-transition: max-height 0.5s ease-in;
1415
+ -ms-transition: max-height 0.5s ease-in;
1416
+ -o-transition: max-height 0.5s ease-in;
1417
+ -webkit-transition: max-height 0.5s ease-in;
1418
+ }
1419
+
1420
+ .vjs-dialog-overlay-y {
1421
+ max-width: 0;
1422
+ transition: max-width 0.5s ease-in;
1423
+ -moz-transition: max-width 0.5s ease-in;
1424
+ -ms-transition: max-width 0.5s ease-in;
1425
+ -o-transition: max-width 0.5s ease-in;
1426
+ -webkit-transition: max-width 0.5s ease-in;
1427
+ }
1428
+
1429
+ .vjs-dialog-overlay-top {
1430
+ top: 20px;
1431
+ }
1432
+
1433
+ .vjs-dialog-overlay-bottom {
1434
+ bottom: 20px;
1435
+ }
1436
+
1437
+ .vjs-dialog-overlay-left {
1438
+ left: 20px;
1439
+ }
1440
+
1441
+ .vjs-dialog-overlay-right {
1442
+ right: 20px;
1443
+ }
1444
+
1445
+ .vjs-dialog-overlay-x.vjs-dialog-overlay-visible {
1446
+ max-height: 1000px;
1447
+ }
1448
+
1449
+ .vjs-dialog-overlay-y.vjs-dialog-overlay-visible {
1450
+ max-width: 1000px;
1451
+ }
1452
+
1453
+ /*
1454
+ The element containing buttons in a dialog.
1455
+ */
1456
+ .vjs-dialog-buttons {
1457
+ text-align: right;
1458
+ margin-top: 7px;
1459
+ /*
1460
+ An individual button in a dialog.
1461
+ */
1462
+ }
1463
+ .vjs-dialog-buttons .vjs-dialog-button {
1464
+ cursor: pointer;
1465
+ margin-right: 5px;
1466
+ min-width: 56px;
1467
+ background-color: white;
1468
+ border: 1px solid #ccc;
1469
+ border-radius: 3px;
1470
+ padding: 4px;
1471
+ outline: none;
1472
+ /*
1473
+ Hover style for an individual button in a dialog.
1474
+ */
1475
+ }
1476
+ .vjs-dialog-buttons .vjs-dialog-button:hover {
1477
+ color: white;
1478
+ background-color: #5184a0;
1479
+ border-color: white;
1480
+ }
1481
+
1482
+ /*
1483
+ The titlebar of a dialog.
1484
+ */
1485
+ .vjs-dialog-title {
1486
+ text-align: left;
1487
+ font-size: 14px;
1488
+ margin-bottom: 9px;
1489
+ }
1490
+
1491
+ .vjs-dialog-content {
1492
+ font-size: 12px;
1493
+ text-align: left;
1494
+ min-width: 250px;
1495
+ margin: 0 14px;
1496
+ }
1497
+ .vjs-dialog-content ul {
1498
+ width: 100%;
1499
+ padding-left: 0;
1500
+ }
1501
+ .vjs-dialog-content label {
1502
+ cursor: pointer;
1503
+ font-weight: inherit;
1504
+ }
1505
+
1506
+ .vjs-dialog-overlay input,
1507
+ .vjs-dialog-overlay textarea {
1508
+ background-color: #fff;
1509
+ border: 1px solid #ccc;
1510
+ color: #333;
1511
+ font-size: 14px;
1512
+ font-style: normal;
1513
+ outline: none;
1514
+ padding: 6px 4px;
1515
+ margin-right: 6px;
1516
+ }
1517
+
1518
+ .vjs-dialog-overlay input:focus,
1519
+ .vjs-dialog-overlay textarea:focus {
1520
+ background-color: #f1f5fb;
1521
+ border: 1px solid #5184a0;
1522
+ color: #333;
1523
+ font-size: 14px;
1524
+ font-style: normal;
1525
+ outline: none;
1526
+ }
1527
+
1528
+ .vjs-paper {
1529
+ position: relative;
1530
+ overflow: hidden !important;
1531
+ }
1532
+ .vjs-paper .vjs-paper-canvas {
1533
+ position: absolute;
1534
+ }
1535
+ .vjs-paper .vjs-paper-canvas .vjs-node {
1536
+ cursor: default;
1537
+ }
1538
+ .vjs-paper .vjs-paper-canvas .vjs-group {
1539
+ cursor: default;
1540
+ }
1541
+
1542
+ .vjs-palette-selected-element {
1543
+ outline: 1px dashed var(--vjs-selected-element-border-color);
1544
+ outline-offset: 2px;
1545
+ }
1546
+
1547
+ /* ################################################################################################################## */
1548
+ /* */
1549
+ /* CONTROLS / EXPORT CONTROLS */
1550
+ /* */
1551
+ /* ################################################################################################################## */
1552
+ :root {
1553
+ --vjs-controls-text-color: var(--vjs-color-primary);
1554
+ --vjs-controls-background-color: #ffffff;
1555
+ --vjs-controls-hover-background-color: #f67545;
1556
+ --vjs-controls-active-background-color: #1d9ea0;
1557
+ --vjs-controls-undo-redo-disabled: #e0e0e0;
1558
+ --vjs-controls-button-border: 1px solid !important;
1559
+ --vjs-controls-selected-mode-background-color: var(
1560
+ --vjs-controls-hover-background-color
1561
+ );
1562
+ --vjs-controls-selected-mode-color: var(--vjs-controls-background-color);
1563
+ --vjs-controls-font-size: 24px;
1564
+ --vjs-controls-border-radius: 3px;
1565
+ --vjs-controls-button-margin: 4px;
1566
+ }
1567
+
1568
+ /**
1569
+ Default styles for the controls component. We specify position:absolute on this class
1570
+ because more often than not the controls component is inside the surface element,
1571
+ and elements inside the surface element that are not positioned absolute can mess with
1572
+ the maths that maps page locations to canvas locations.
1573
+ */
1574
+ .vjs-controls {
1575
+ color: var(--vjs-controls-text-color);
1576
+ display: flex;
1577
+ font-size: var(--vjs-controls-font-size);
1578
+ align-items: center;
1579
+ position: absolute;
1580
+ }
1581
+
1582
+ .vjs-controls i {
1583
+ background-color: var(--vjs-controls-background-color);
1584
+ border-radius: var(--vjs-controls-border-radius);
1585
+ cursor: pointer;
1586
+ margin-right: var(--vjs-controls-button-margin);
1587
+ border: var(--vjs-controls-button-border);
1588
+ font-style: normal;
1589
+ width: var(--vjs-controls-font-size);
1590
+ height: var(--vjs-controls-font-size);
1591
+ display: flex;
1592
+ align-items: center;
1593
+ justify-content: center;
1594
+ }
1595
+
1596
+ .vjs-controls[data-vjs-orientation=column] {
1597
+ flex-direction: column;
1598
+ }
1599
+
1600
+ .vjs-controls[data-vjs-orientation=column] i {
1601
+ margin-right: unset;
1602
+ margin-bottom: var(--vjs-controls-button-margin);
1603
+ }
1604
+
1605
+ .vjs-controls i.vjs-selected-mode {
1606
+ background-color: var(--vjs-controls-selected-mode-background-color);
1607
+ color: var(--vjs-controls-selected-mode-color);
1608
+ border-color: var(--vjs-controls-selected-mode-background-color);
1609
+ }
1610
+
1611
+ .vjs-controls i:not(.vjs-selected-mode):hover {
1612
+ background-color: var(--vjs-controls-hover-background-color);
1613
+ color: var(--vjs-controls-background-color);
1614
+ border: var(--vjs-controls-button-border);
1615
+ border-color: var(--vjs-controls-hover-background-color);
1616
+ }
1617
+
1618
+ .vjs-controls i:not(.vjs-selected-mode):active {
1619
+ color: var(--vjs-controls-background-color);
1620
+ background-color: var(--vjs-controls-active-background-color);
1621
+ border: var(--vjs-controls-button-border);
1622
+ }
1623
+
1624
+ .vjs-controls[can-undo=false] [data-undo],
1625
+ .vjs-controls[can-redo=false] [data-redo] {
1626
+ background-color: var(--vjs-controls-undo-redo-disabled) !important;
1627
+ color: var(--vjs-controls-background-color) !important;
1628
+ border: var(--vjs-controls-button-border);
1629
+ border-color: var(--vjs-controls-undo-redo-disabled) !important;
1630
+ cursor: default;
1631
+ }
1632
+
1633
+ .vjs-controls .vjs-add-vertex:after {
1634
+ content: "+";
1635
+ margin-bottom: 0.2rem;
1636
+ }
1637
+
1638
+ .vjs-controls i svg {
1639
+ width: 80%;
1640
+ stroke: currentColor;
1641
+ }
1642
+
1643
+ .vjs-controls .vjs-drawing-mode:after {
1644
+ content: "✎";
1645
+ }
1646
+
1647
+ .vjs-controls .vjs-undo:after {
1648
+ content: "↺";
1649
+ margin-bottom: 0.4rem;
1650
+ }
1651
+
1652
+ .vjs-controls .vjs-redo:after {
1653
+ content: "↻";
1654
+ margin-bottom: 0.4rem;
1655
+ }
1656
+
1657
+ /**
1658
+ Reset selection button not visible by default
1659
+ */
1660
+ .vjs-controls-reset-selection {
1661
+ display: none !important;
1662
+ }
1663
+
1664
+ /**
1665
+ Show reset selection button when something is selected
1666
+ */
1667
+ [vjs-controls-has-selection=true] .vjs-controls-reset-selection {
1668
+ display: flex !important;
1669
+ }
1670
+
1671
+ /* ---export controls -- */
1672
+ .vjs-export-controls {
1673
+ font-size: 11px;
1674
+ }
1675
+ .vjs-export-controls > span {
1676
+ white-space: nowrap;
1677
+ margin: 0 0.25rem;
1678
+ }
1679
+
1680
+ .vjs-export-controls a {
1681
+ text-decoration: none;
1682
+ color: inherit;
1683
+ }
1684
+
1685
+ /* ################################################################################################################## */
1686
+ /* */
1687
+ /* EDGE TYPE PICKER */
1688
+ /* */
1689
+ /* ################################################################################################################## */
1690
+ .vjs-edge-type-picker {
1691
+ display: flex;
1692
+ flex-direction: column;
1693
+ flex-grow: 1;
1694
+ }
1695
+ .vjs-edge-type-picker > div {
1696
+ margin: 3px auto;
1697
+ height: 1.5rem;
1698
+ width: 90%;
1699
+ position: relative;
1700
+ }
1701
+ .vjs-edge-type-picker > div > div {
1702
+ position: absolute;
1703
+ inset: 0;
1704
+ }
1705
+ .vjs-edge-type-picker > div > div > svg {
1706
+ position: absolute;
1707
+ inset: 0;
1708
+ top: 50%;
1709
+ }
1710
+
1711
+ .vjs-edge-type-picker > svg {
1712
+ z-index: 1;
1713
+ }
1714
+
1715
+ .vjs-edge-type-picker-selected {
1716
+ background-color: #f7f7f7;
1717
+ }
1718
+
1719
+ .vjs-edge-type-picker div.vjs-overlay {
1720
+ position: absolute;
1721
+ }
1722
+
1723
+ .vjs-inspector-active .vjs-inspector-close {
1724
+ position: absolute;
1725
+ top: 0.5rem;
1726
+ right: 0.5rem;
1727
+ font-size: 16px;
1728
+ cursor: pointer;
1729
+ }
1730
+ .vjs-inspector-active .vjs-inspector-close:after {
1731
+ content: "✖";
1732
+ }
1733
+
1734
+ .vjs-color-picker input[type=color] {
1735
+ width: 100%;
1736
+ }
1737
+ .vjs-color-picker .vjs-color-picker-swatches {
1738
+ margin: 0.25rem 0;
1739
+ display: flex;
1740
+ flex-wrap: wrap;
1741
+ }
1742
+ .vjs-color-picker .vjs-color-picker-swatches .vjs-color-picker-swatch {
1743
+ width: 15px;
1744
+ height: 15px;
1745
+ margin: 1px;
1746
+ cursor: pointer;
1747
+ border-radius: 50%;
1748
+ border: 1px solid black;
1749
+ }
1750
+
1751
+ .vjs-chart-title {
1752
+ font-size: 1.2rem;
1753
+ font-weight: 600;
1754
+ }
1755
+
1756
+ .vjs-chart-subtitle {
1757
+ font-size: 0.95rem;
1758
+ }
1759
+
1760
+ .vjs-chart-series {
1761
+ transition: opacity 0.2s;
1762
+ }
1763
+
1764
+ .vjs-chart-series[data-vjs-filter=true] {
1765
+ opacity: 0.2;
1766
+ }
1767
+
1768
+ .vjs-chart-point {
1769
+ cursor: pointer;
1770
+ }
1771
+ .vjs-chart-point:hover {
1772
+ filter: saturate(1.8);
1773
+ }
1774
+
1775
+ .vjs-chart-legend-item:hover {
1776
+ cursor: pointer;
1777
+ }
1778
+
1779
+ .vjs-chart-crosshair {
1780
+ opacity: 0.8;
1781
+ }
1782
+
1783
+ .vjs-chart-crosshair-value-axis {
1784
+ fill: #444444;
1785
+ }
1786
+
1787
+ .vjs-chart-crosshair-category-axis {
1788
+ fill: #AAAAAA;
1789
+ }
1790
+
1791
+ .vjs-bar-chart-bar {
1792
+ cursor: pointer;
1793
+ }
1794
+
1795
+ /**
1796
+ Applies an animation when the slice is selected/deselected
1797
+ */
1798
+ .vjs-pie-slice {
1799
+ transition: transform 0.5s;
1800
+ }
1801
+
1802
+ .vjs-chart-point-hit-area {
1803
+ fill: transparent;
1804
+ stroke: none;
1805
+ cursor: pointer;
1806
+ }
1807
+
1808
+ .vjs-bubble-chart-point {
1809
+ opacity: 0.8;
1810
+ }
1811
+
1812
+ .vjs-sankey-edge {
1813
+ opacity: 0.4;
1814
+ }
1815
+
1816
+ /**
1817
+ Assigned to sankey edges/nodes whenever they are not part of the currently selected set
1818
+ */
1819
+ .vjs-sankey-unselected {
1820
+ filter: grayscale(1);
1821
+ }
1822
+
1823
+ /* ################################################################################################################## */
1824
+ /* */
1825
+ /* REACT nodes/groups */
1826
+ /* */
1827
+ /* ################################################################################################################## */
1828
+ /**
1829
+ Assigned to a surface in the React integration. We set the width and height of the element so that it fills its parent.
1830
+ */
1831
+ .vjs-react-surface {
1832
+ width: 100%;
1833
+ height: 100%;
1834
+ }
1835
+
1836
+ /**
1837
+ Assigned to a diagram in the React integration. We set the width and height of the element so that it fills its parent.
1838
+ */
1839
+ .vjs-react-diagram {
1840
+ width: 100%;
1841
+ height: 100%;
1842
+ }
1843
+
1844
+ /**
1845
+ Assigned to a Paper in the React integration. We set the width and height of the element so that it fills its parent.
1846
+ */
1847
+ .vjs-react-paper {
1848
+ width: 100%;
1849
+ height: 100%;
1850
+ }
1851
+
1852
+ /* ################################################################################################################## */
1853
+ /* */
1854
+ /* VUE nodes/groups */
1855
+ /* */
1856
+ /* ################################################################################################################## */
1857
+ /**
1858
+ Assigned to a surface in the Vue integration. We set the width and height of the element so that it fills its parent.
1859
+ */
1860
+ .vjs-vue-surface {
1861
+ width: 100%;
1862
+ height: 100%;
1863
+ }
1864
+
1865
+ /**
1866
+ Assigned to a diagram in the Vue integration. We set the width and height of the element so that it fills its parent.
1867
+ */
1868
+ .vjs-vue-diagram {
1869
+ width: 100%;
1870
+ height: 100%;
1871
+ }
1872
+
1873
+ /**
1874
+ Assigned to a Paper in the Vue integration. We set the width and height of the element so that it fills its parent.
1875
+ */
1876
+ .vjs-vue-paper {
1877
+ width: 100%;
1878
+ height: 100%;
1879
+ }