@spteck/react-controls-v2 2.3.7 → 2.3.9
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.
- package/dist/LocalizationProvider-B6NxHbu2.cjs +2 -0
- package/dist/LocalizationProvider-te5iu_6z.js +363 -0
- package/dist/_arrayEach-BuSFKyFt.js +54 -0
- package/dist/_arrayEach-ChR-TejB.cjs +2 -0
- package/dist/_getTag-BRuLtYrv.js +28 -0
- package/dist/_getTag-D6VVyrEu.cjs +2 -0
- package/dist/abstractions/IApplicationContext.d.ts +0 -1
- package/dist/abstractions/IAuthenticationProvider.d.ts +0 -1
- package/dist/abstractions/ILocalizationProvider.d.ts +0 -1
- package/dist/abstractions/providers/ConsoleLoggingProvider.d.ts +0 -1
- package/dist/abstractions/providers/DefaultGraphClient.d.ts +0 -1
- package/dist/abstractions/providers/DefaultLocalizationProvider.d.ts +0 -1
- package/dist/abstractions/providers/LocalStorageProvider.d.ts +0 -1
- package/dist/abstractions/providers/LocalizationProvider.d.ts +0 -1
- package/dist/ar-Blifx2MN.js +210 -0
- package/dist/ar-ip3bGOX3.cjs +2 -0
- package/dist/arc-4yb49ncY.js +82 -0
- package/dist/arc-djsA8IT0.cjs +2 -0
- package/dist/architecture-PBZL5I3N-CvTfVLFi.js +3 -0
- package/dist/architecture-PBZL5I3N-wZIE3ggH.cjs +1 -0
- package/dist/architectureDiagram-2XIMDMQ5-DFEvJNx1.cjs +37 -0
- package/dist/architectureDiagram-2XIMDMQ5-g-HotzpG.js +4047 -0
- package/dist/array-BNB_vRFv.cjs +2 -0
- package/dist/array-DP0duYiO.js +8 -0
- package/dist/az-CMhDjtnj.js +210 -0
- package/dist/az-CyVLdUDz.cjs +2 -0
- package/dist/bg-Bexoz3hL.cjs +2 -0
- package/dist/bg-C96WirSv.js +210 -0
- package/dist/blockDiagram-WCTKOSBZ-DWgb5Ghz.js +3165 -0
- package/dist/blockDiagram-WCTKOSBZ-Dl04FBAy.cjs +133 -0
- package/dist/bs-MMcvhwLv.cjs +2 -0
- package/dist/bs-_St1wBE_.js +210 -0
- package/dist/c4Diagram-IC4MRINW-ClZvialQ.js +2966 -0
- package/dist/c4Diagram-IC4MRINW-ZFE2cGZP.cjs +11 -0
- package/dist/ca-BspMSeHN.cjs +2 -0
- package/dist/ca-QlLcV4wf.js +210 -0
- package/dist/channel-2Bqnb1FY.js +7 -0
- package/dist/channel-5_aP1EVB.cjs +2 -0
- package/dist/chunk-4BX2VUAB-B5Va_oZz.js +10 -0
- package/dist/chunk-4BX2VUAB-BWDW-gYk.cjs +2 -0
- package/dist/chunk-55IACEB6-4ind_ByS.cjs +2 -0
- package/dist/chunk-55IACEB6-Pcyz_aR_.js +10 -0
- package/dist/chunk-7E7YKBS2-Sw9_w4gt.cjs +2 -0
- package/dist/chunk-7E7YKBS2-VHdgsed6.js +25 -0
- package/dist/chunk-7R4GIKGN-BKoqTTU_.cjs +81 -0
- package/dist/chunk-7R4GIKGN-CaQJ0QBF.js +2598 -0
- package/dist/chunk-C72U2L5F-CCvi6jiy.cjs +2 -0
- package/dist/chunk-C72U2L5F-MjJQTOMh.js +25 -0
- package/dist/chunk-D-IZpNpi.cjs +1 -0
- package/dist/chunk-EGIJ26TM-Bffl84Wq.cjs +2 -0
- package/dist/chunk-EGIJ26TM-DLMAfvpZ.js +25 -0
- package/dist/{chunk-FMBD7UC4-DD0xIF4q.js → chunk-FMBD7UC4-BvqqU04Z.cjs} +3 -7
- package/dist/chunk-FMBD7UC4-xjRtkFXe.js +7 -0
- package/dist/chunk-GEFDOKGD-BNgT40Ex.js +1302 -0
- package/dist/chunk-GEFDOKGD-BOwd6Jqp.cjs +3 -0
- package/dist/chunk-GLR3WWYH-DdNAJNRC.cjs +2 -0
- package/dist/chunk-GLR3WWYH-kyo6BUtq.js +43 -0
- package/dist/chunk-HHEYEP7N-DO1AYIZw.js +11 -0
- package/dist/chunk-HHEYEP7N-pdmgQZzP.cjs +2 -0
- package/dist/chunk-JSJVCQXG-Ci0seBb4.cjs +2 -0
- package/dist/chunk-JSJVCQXG-DowfYWcD.js +62 -0
- package/dist/chunk-KX2RTZJC-BJeOHReu.cjs +2 -0
- package/dist/chunk-KX2RTZJC-D-bUTSNy.js +27 -0
- package/dist/chunk-KYZI473N-DEPuSXaW.js +3436 -0
- package/dist/chunk-KYZI473N-DzBMFOER.cjs +54 -0
- package/dist/chunk-L3YUKLVL-BDGCTzmy.js +25 -0
- package/dist/chunk-L3YUKLVL-BZ17sqh5.cjs +2 -0
- package/dist/chunk-MX3YWQON-CAsnAj2e.js +82 -0
- package/dist/chunk-MX3YWQON-DulrBJdn.cjs +2 -0
- package/dist/chunk-NBPlniwU.js +23 -0
- package/dist/chunk-NQ4KR5QH-BJBAT2kM.cjs +221 -0
- package/dist/chunk-NQ4KR5QH-DFem-ORD.js +2004 -0
- package/dist/chunk-O4XLMI2P-BQF7MAo7.cjs +8 -0
- package/dist/chunk-O4XLMI2P-DA4TPzPG.js +513 -0
- package/dist/chunk-OZEHJAEY-CAiiXJUP.cjs +2 -0
- package/dist/chunk-OZEHJAEY-D7SX2SbR.js +66 -0
- package/dist/chunk-PQ6SQG4A-BZnW4-Sd.cjs +2 -0
- package/dist/chunk-PQ6SQG4A-ObFGkauo.js +69 -0
- package/dist/chunk-PU5JKC2W-BM5NPS-q.js +1887 -0
- package/dist/chunk-PU5JKC2W-eRU8wnTH.cjs +71 -0
- package/dist/chunk-QZHKN3VN-Dhli_tM0.cjs +2 -0
- package/dist/chunk-QZHKN3VN-x258g6EH.js +17 -0
- package/dist/chunk-R5LLSJPH-CNTEucEd.cjs +2 -0
- package/dist/chunk-R5LLSJPH-Gt27ml2m.js +37 -0
- package/dist/chunk-WL4C6EOR-CQXw6d0l.cjs +190 -0
- package/dist/chunk-WL4C6EOR-DuM6QmqM.js +3196 -0
- package/dist/chunk-XIRO2GV7-CswC9CO8.cjs +2 -0
- package/dist/chunk-XIRO2GV7-DXlO8X82.js +32 -0
- package/dist/chunk-XPW4576I-Bpsr4SZJ.js +1148 -0
- package/dist/chunk-XPW4576I-C68T-WIW.cjs +33 -0
- package/dist/chunk-XZSTWKYB-DJv9rEVU.cjs +95 -0
- package/dist/chunk-XZSTWKYB-jD9M1izK.js +16132 -0
- package/dist/chunk-YBOYWFTD-B6CeuteH.js +34 -0
- package/dist/chunk-YBOYWFTD-CiLW6HW_.cjs +2 -0
- package/dist/classDiagram-VBA2DB6C-Us0kuDfz.cjs +2 -0
- package/dist/classDiagram-VBA2DB6C-VOsE3gN0.js +31 -0
- package/dist/classDiagram-v2-RAHNMMFH-BWsm3ea6.cjs +2 -0
- package/dist/classDiagram-v2-RAHNMMFH-DPqMNfOz.js +31 -0
- package/dist/components/AISearchControl/useAISearchControlStyles.d.ts +0 -1
- package/dist/components/AspectRatio/AspectRatio.d.ts +0 -1
- package/dist/components/AspectRatio/IAspectRationProps.d.ts +0 -1
- package/dist/components/Card/ICardProps.d.ts +0 -1
- package/dist/components/Carousel/ICarouselProps.d.ts +0 -1
- package/dist/components/Carousel/useCarouselButton.d.ts +0 -1
- package/dist/components/Carousel/useCarouselStyles.d.ts +0 -1
- package/dist/components/Center/ICenterProps.d.ts +0 -1
- package/dist/components/ContentRenderer/IContentRendererProps.d.ts +0 -1
- package/dist/components/DataGridV2/DataGridV2.d.ts +2 -1
- package/dist/components/DataGridV2/IDataGridV2ExtraProps.d.ts +0 -1
- package/dist/components/Grid/IGridProps.d.ts +0 -1
- package/dist/components/ItemPicker/IItemPickerProps.d.ts +0 -1
- package/dist/components/KPIControl/IKpiCardProps.d.ts +0 -1
- package/dist/components/ListItemActivityMessage/IActivity.d.ts +0 -1
- package/dist/components/ListItemActivityMessage/IActivityMessageProps.d.ts +0 -1
- package/dist/components/ListItemActivityMessage/IActor.d.ts +0 -1
- package/dist/components/ListItemActivityMessage/useSharePointActivities.d.ts +0 -1
- package/dist/components/ListToolbar/FlatItem.d.ts +0 -1
- package/dist/components/ListToolbar/IListToolbarProps.d.ts +0 -1
- package/dist/components/ListToolbar/IToolbarItem.d.ts +0 -1
- package/dist/components/ListToolbar/IToolbarItemRendererProps.d.ts +0 -1
- package/dist/components/ListToolbar/helpers.d.ts +0 -1
- package/dist/components/MermaidDiagram/useMermaidDiagramStyles.d.ts +0 -1
- package/dist/components/Navigation/Navigation.d.ts +0 -1
- package/dist/components/Popup/Popup.d.ts +0 -1
- package/dist/components/Provider/UniversalProvider.d.ts +0 -1
- package/dist/components/Space/ISpaceProps.d.ts +0 -1
- package/dist/components/SplitPane/ISplitPaneProps.d.ts +0 -1
- package/dist/components/SplitPane/useSplitPaneStyles.d.ts +0 -1
- package/dist/components/Stack/IStackProps.d.ts +0 -1
- package/dist/components/StackedUsers/IStackedUsersProps.d.ts +0 -1
- package/dist/components/StackedUsers/StackedUsers.d.ts +0 -1
- package/dist/components/adaptiveCardHost/AdaptiveCardHost.HostConfig.d.ts +0 -1
- package/dist/components/adaptiveCardHost/AdaptiveCardHost.Utilities.d.ts +0 -1
- package/dist/components/adaptiveCardHost/AdaptiveCardHost.d.ts +0 -1
- package/dist/components/adaptiveCardHost/IAdaptiveCardHostProps.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/Elements.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUIChoiceSetInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUIDateInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUINumberInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUITextInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUIToggleInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/HostCapability.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/HostConfig.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/Styles.d.ts +0 -1
- package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostConfigResult.d.ts +0 -1
- package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostEvaluationContext.d.ts +0 -1
- package/dist/components/aiAssistant/ChatAction.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputProps.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensions.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensionsProps.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensionsV1.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensionsV2.d.ts +0 -1
- package/dist/components/aiAssistant/ChatState.d.ts +0 -1
- package/dist/components/aiAssistant/IAIAssistantProps.d.ts +0 -1
- package/dist/components/aiAssistant/chatReducer.d.ts +0 -1
- package/dist/components/aiAssistant/useChatInputStyles.d.ts +0 -1
- package/dist/components/aiAssistant/useChatInputWithMensionsStyles.d.ts +0 -1
- package/dist/components/aiAssistant/useStyles.d.ts +0 -1
- package/dist/components/appDashboard/AppDashboard.d.ts +0 -1
- package/dist/components/appDashboard/IAppDashboardProps.d.ts +0 -1
- package/dist/components/baseComponentProps/IBaseProps.d.ts +0 -1
- package/dist/components/breadcrumb/Breadcrumb.d.ts +0 -1
- package/dist/components/breadcrumb/IBreadcrumProps.d.ts +0 -1
- package/dist/components/breadcrumb/OverflowMenu.d.ts +0 -1
- package/dist/components/breadcrumb/useBreadcrumStyles.d.ts +0 -1
- package/dist/components/calendarControl/hooks/useCalendar.d.ts +0 -1
- package/dist/components/calendarControl/hooks/useUtils.d.ts +0 -1
- package/dist/components/calendarControl/models/ICalendarControlProps.d.ts +0 -1
- package/dist/components/calendarControl/models/IEvents.d.ts +0 -1
- package/dist/components/customControlBar/ICustomControlBarProps.d.ts +0 -1
- package/dist/components/dataGrid/DataGrid.d.ts +0 -1
- package/dist/components/dataGrid/IDataGridProps.d.ts +0 -1
- package/dist/components/dataGrid/ISortState.d.ts +0 -1
- package/dist/components/dataGrid/stack/IStackProps.d.ts +0 -1
- package/dist/components/dataGrid/stack/Stack.d.ts +0 -1
- package/dist/components/dataGrid/useDataGridStyles.d.ts +0 -1
- package/dist/components/dropDownField/IDropDownFieldProps.d.ts +0 -1
- package/dist/components/fluentUIProvider/FluentUIProvider.d.ts +0 -1
- package/dist/components/iconButton/IconButton.d.ts +0 -1
- package/dist/components/iconButton/IconButtonProps.d.ts +0 -1
- package/dist/components/mensions/IMensionsProps.d.ts +0 -1
- package/dist/components/mensions/Mensions.d.ts +0 -1
- package/dist/components/mensions/MensionsExample.d.ts +0 -1
- package/dist/components/renderAdaptiveCard/RenderAdaptiveCard.d.ts +0 -1
- package/dist/components/searchControl/useSearchControlStyles.d.ts +0 -1
- package/dist/components/selectView/SelectView.d.ts +0 -1
- package/dist/components/showError/ShowError.d.ts +0 -1
- package/dist/components/stackv2/IStackV2Props.d.ts +0 -1
- package/dist/components/stackv2/StackV2.d.ts +0 -1
- package/dist/components/userCard/IUserCardProps.d.ts +0 -1
- package/dist/components/userCard/IUserInfo.d.ts +0 -1
- package/dist/components/userCard/UserCard.d.ts +0 -1
- package/dist/components/userCard/constants.d.ts +0 -1
- package/dist/components/userCard/useUserProfile.d.ts +0 -1
- package/dist/components/videoPlayer/VideoPlayer.d.ts +0 -1
- package/dist/components/videoPlayer/useVideoStyles.d.ts +0 -1
- package/dist/components/worldMap/IWorldMapProps.d.ts +0 -1
- package/dist/components/worldMap/MaplibreWorldMapProps.d.ts +0 -1
- package/dist/components/worldMap/WorldMap.d.ts +0 -1
- package/dist/components/worldMap/WorldMapControl.d.ts +0 -1
- package/dist/components/worldMap/useCleanMapStyle.d.ts +0 -1
- package/dist/components/worldMap/useGeocodedCountries.d.ts +0 -1
- package/dist/cose-bilkent-S5V4N54A-CKhwzobJ.js +2252 -0
- package/dist/cose-bilkent-S5V4N54A-DmyaRQ6l.cjs +2 -0
- package/dist/cs-FZSeHYld.cjs +2 -0
- package/dist/cs-MrS2bH7F.js +210 -0
- package/dist/cy-BX97Tgwk.js +210 -0
- package/dist/cy-CzQmM2lQ.cjs +2 -0
- package/dist/cytoscape.esm-CcJAI0wG.cjs +322 -0
- package/dist/cytoscape.esm-D9EjU25_.js +18102 -0
- package/dist/da-BnewPPrh.js +210 -0
- package/dist/da-CexFt-Oj.cjs +2 -0
- package/dist/dagre-CpEPaL3r.cjs +2 -0
- package/dist/dagre-Dd8wCGc6.js +1305 -0
- package/dist/dagre-KLK3FWXG-BpxkjvB3.js +294 -0
- package/dist/dagre-KLK3FWXG-DIznPQl_.cjs +5 -0
- package/dist/de-B68HwuYu.cjs +2 -0
- package/dist/de-BSZuzGTL.js +210 -0
- package/dist/defaultLocale-CYOzCjwh.js +203 -0
- package/dist/defaultLocale-DSgylVA1.cjs +2 -0
- package/dist/diagram-E7M64L7V-dXqTi77U.cjs +25 -0
- package/dist/diagram-E7M64L7V-oX07GVAD.js +529 -0
- package/dist/diagram-IFDJBPK2-CriVAAmI.cjs +44 -0
- package/dist/diagram-IFDJBPK2-lCNF06_S.js +215 -0
- package/dist/diagram-P4PSJMXO-TfwVJh4S.js +135 -0
- package/dist/diagram-P4PSJMXO-k7F0lH6Q.cjs +25 -0
- package/dist/dist-CV9Ez7cn.js +52 -0
- package/dist/dist-DVthN7lF.cjs +2 -0
- package/dist/el-DQc4jSMd.cjs +2 -0
- package/dist/el-DrOk3N7-.js +210 -0
- package/dist/erDiagram-INFDFZHY-CDt3mOSU.cjs +71 -0
- package/dist/erDiagram-INFDFZHY-Ds_R2Ds4.js +1668 -0
- package/dist/es-CGqzubZ2.js +210 -0
- package/dist/es-DI8Y4Bv1.cjs +2 -0
- package/dist/et-DGqkocuq.js +210 -0
- package/dist/et-DfaryKvp.cjs +2 -0
- package/dist/eu-BVOSXciF.cjs +2 -0
- package/dist/eu-DEo7fdTW.js +210 -0
- package/dist/fi-C5L-OzaI.cjs +2 -0
- package/dist/fi-DxErwnd5.js +210 -0
- package/dist/flowDiagram-PKNHOUZH-7XJG07fo.cjs +163 -0
- package/dist/flowDiagram-PKNHOUZH-CkeYebJ5.js +4163 -0
- package/dist/fr-yFvjqx8B.cjs +2 -0
- package/dist/fr-zrtSZX0o.js +210 -0
- package/dist/ga-6mVQhlWi.cjs +2 -0
- package/dist/ga-CbHxGc9_.js +210 -0
- package/dist/ganttDiagram-A5KZAMGK-Bbck1pyM.cjs +293 -0
- package/dist/ganttDiagram-A5KZAMGK-CFT3Xn_r.js +3074 -0
- package/dist/gitGraph-HDMCJU4V-BKE04oIl.js +3 -0
- package/dist/gitGraph-HDMCJU4V-C9GYfOYb.cjs +1 -0
- package/dist/gitGraphDiagram-K3NZZRJ6-CXz9SHBX.js +627 -0
- package/dist/gitGraphDiagram-K3NZZRJ6-Dt4D-ig1.cjs +66 -0
- package/dist/gl--w0P3RY4.js +210 -0
- package/dist/gl-BJzJe1sq.cjs +2 -0
- package/dist/graphlib-CPo7oIsu.js +223 -0
- package/dist/graphlib-CmUS4Qin.cjs +2 -0
- package/dist/he-B3Bw3qr0.cjs +2 -0
- package/dist/he-DY19lzWp.js +210 -0
- package/dist/hi-CFSsoO_8.js +210 -0
- package/dist/hi-kofL-mD8.cjs +2 -0
- package/dist/hooks/useBrandCenterFonts.d.ts +0 -1
- package/dist/hooks/useGraphAPI.d.ts +0 -1
- package/dist/hooks/useLocalizationStrings.d.ts +0 -1
- package/dist/hooks/useLogging.d.ts +0 -1
- package/dist/hr-CDxqA9Jm.cjs +2 -0
- package/dist/hr-DIRJ1Z8e.js +210 -0
- package/dist/hu-Defen_75.cjs +2 -0
- package/dist/hu-DqYPRWZh.js +210 -0
- package/dist/id-DcwMRgmX.cjs +2 -0
- package/dist/id-Dgj7SUCi.js +210 -0
- package/dist/identity-6JlhFhuM.cjs +2 -0
- package/dist/identity-C1jKsMoW.js +395 -0
- package/dist/index.cjs +453 -2
- package/dist/index.js +22828 -168
- package/dist/info-3K5VOQVL-DfN_3mKd.js +3 -0
- package/dist/info-3K5VOQVL-d6J9FY0_.cjs +1 -0
- package/dist/infoDiagram-LFFYTUFH-Bp9btqnA.cjs +3 -0
- package/dist/infoDiagram-LFFYTUFH-DnvgRFnx.js +21 -0
- package/dist/init-BAFZAp9S.cjs +2 -0
- package/dist/init-m0TwgR4W.js +17 -0
- package/dist/isEmpty-BTp1uKIj.cjs +2 -0
- package/dist/isEmpty-uXVYZZYe.js +17 -0
- package/dist/ishikawaDiagram-PHBUUO56-DLaOkz38.js +719 -0
- package/dist/ishikawaDiagram-PHBUUO56-DmqObwMZ.cjs +71 -0
- package/dist/it-D5nM6KCi.cjs +2 -0
- package/dist/it-QdChHqVN.js +210 -0
- package/dist/ja-BNS0BbY-.js +210 -0
- package/dist/ja-BtuHirv7.cjs +2 -0
- package/dist/journeyDiagram-4ABVD52K-Cv0DbLMi.cjs +140 -0
- package/dist/journeyDiagram-4ABVD52K-DYmmcNK4.js +885 -0
- package/dist/kanban-definition-K7BYSVSG-BdQLAMeB.cjs +90 -0
- package/dist/kanban-definition-K7BYSVSG-CLEYqSz5.js +973 -0
- package/dist/katex-B-Nju2J8.js +22002 -0
- package/dist/katex-WY67Rp7A.cjs +266 -0
- package/dist/kk-BSl8IqgQ.cjs +2 -0
- package/dist/kk-Dhkax68h.js +210 -0
- package/dist/ko-eplb1GD0.cjs +2 -0
- package/dist/ko-heRMHZWp.js +210 -0
- package/dist/line-CbEBKCYr.js +36 -0
- package/dist/line-DqSdvtRR.cjs +2 -0
- package/dist/linear-DvLDpS6A.cjs +2 -0
- package/dist/linear-Eb79THx6.js +291 -0
- package/dist/localization/ILibraryStrings.d.ts +0 -1
- package/dist/localization/defaults/ar.d.ts +0 -1
- package/dist/localization/defaults/az.d.ts +0 -1
- package/dist/localization/defaults/bg.d.ts +0 -1
- package/dist/localization/defaults/bs.d.ts +0 -1
- package/dist/localization/defaults/ca.d.ts +0 -1
- package/dist/localization/defaults/cs.d.ts +0 -1
- package/dist/localization/defaults/cy.d.ts +0 -1
- package/dist/localization/defaults/da.d.ts +0 -1
- package/dist/localization/defaults/de.d.ts +0 -1
- package/dist/localization/defaults/el.d.ts +0 -1
- package/dist/localization/defaults/en.d.ts +0 -1
- package/dist/localization/defaults/es.d.ts +0 -1
- package/dist/localization/defaults/et.d.ts +0 -1
- package/dist/localization/defaults/eu.d.ts +0 -1
- package/dist/localization/defaults/fi.d.ts +0 -1
- package/dist/localization/defaults/fr.d.ts +0 -1
- package/dist/localization/defaults/ga.d.ts +0 -1
- package/dist/localization/defaults/gl.d.ts +0 -1
- package/dist/localization/defaults/he.d.ts +0 -1
- package/dist/localization/defaults/hi.d.ts +0 -1
- package/dist/localization/defaults/hr.d.ts +0 -1
- package/dist/localization/defaults/hu.d.ts +0 -1
- package/dist/localization/defaults/id.d.ts +0 -1
- package/dist/localization/defaults/it.d.ts +0 -1
- package/dist/localization/defaults/ja.d.ts +0 -1
- package/dist/localization/defaults/kk.d.ts +0 -1
- package/dist/localization/defaults/ko.d.ts +0 -1
- package/dist/localization/defaults/lt.d.ts +0 -1
- package/dist/localization/defaults/lv.d.ts +0 -1
- package/dist/localization/defaults/mk.d.ts +0 -1
- package/dist/localization/defaults/ms.d.ts +0 -1
- package/dist/localization/defaults/nb.d.ts +0 -1
- package/dist/localization/defaults/nl.d.ts +0 -1
- package/dist/localization/defaults/pl.d.ts +0 -1
- package/dist/localization/defaults/pt.d.ts +0 -1
- package/dist/localization/defaults/ro.d.ts +0 -1
- package/dist/localization/defaults/ru.d.ts +0 -1
- package/dist/localization/defaults/sk.d.ts +0 -1
- package/dist/localization/defaults/sl.d.ts +0 -1
- package/dist/localization/defaults/sr.d.ts +0 -1
- package/dist/localization/defaults/sv.d.ts +0 -1
- package/dist/localization/defaults/th.d.ts +0 -1
- package/dist/localization/defaults/tr.d.ts +0 -1
- package/dist/localization/defaults/uk.d.ts +0 -1
- package/dist/localization/defaults/vi.d.ts +0 -1
- package/dist/localization/defaults/zh.d.ts +0 -1
- package/dist/lt-Decqbo8S.js +210 -0
- package/dist/lt-DsYAWFbF.cjs +2 -0
- package/dist/lv-DHmTjCb8.cjs +2 -0
- package/dist/lv-wZASv0Lw.js +210 -0
- package/dist/maplibre-gl-qSrG75fp.js +33003 -0
- package/dist/maplibre-gl-tm_pVdmb.cjs +757 -0
- package/dist/math-DR9t6ixc.cjs +2 -0
- package/dist/math-DyURnvXC.js +12 -0
- package/dist/mermaid-parser.core-BdTB9qx-.js +61 -0
- package/dist/mermaid-parser.core-BlzF5RRD.cjs +4 -0
- package/dist/mindmap-definition-YRQLILUH-CzcVgr-U.js +966 -0
- package/dist/mindmap-definition-YRQLILUH-zWN_YXC3.cjs +69 -0
- package/dist/mk-BTsLGTJT.js +210 -0
- package/dist/mk-CCV_308U.cjs +2 -0
- package/dist/ms-C0cVNwky.js +210 -0
- package/dist/ms-CH83xVYN.cjs +2 -0
- package/dist/nb-DGX4q4tS.js +210 -0
- package/dist/nb-DZ-DlwcL.cjs +2 -0
- package/dist/nl-CnXZa8tZ.js +210 -0
- package/dist/nl-Xdf-A19i.cjs +2 -0
- package/dist/ordinal-BAWGEQkf.js +67 -0
- package/dist/ordinal-CL2X4e2C.cjs +2 -0
- package/dist/packet-RMMSAZCW-Bek1stRX.cjs +1 -0
- package/dist/packet-RMMSAZCW-DUN6t9lN.js +3 -0
- package/dist/path-Bt6guLtL.cjs +2 -0
- package/dist/path-DSzKK8fH.js +87 -0
- package/dist/pie-UPGHQEXC-DjqNO54R.js +3 -0
- package/dist/pie-UPGHQEXC-pJq6_YgE.cjs +1 -0
- package/dist/pieDiagram-SKSYHLDU-Ba-c0fRA.cjs +31 -0
- package/dist/pieDiagram-SKSYHLDU-ya07MTY-.js +167 -0
- package/dist/pl-BStql1S-.cjs +2 -0
- package/dist/pl-DbIdTNpg.js +210 -0
- package/dist/providers.cjs +2 -2
- package/dist/providers.d.ts +1 -0
- package/dist/providers.js +188 -252
- package/dist/pt-CcKYweQk.js +210 -0
- package/dist/pt-Dk4jELuZ.cjs +2 -0
- package/dist/quadrantDiagram-337W2JSQ-CQQEVC49.cjs +8 -0
- package/dist/quadrantDiagram-337W2JSQ-Dp_QyIEO.js +1976 -0
- package/dist/radar-KQ55EAFF-Bid2hXXI.cjs +1 -0
- package/dist/radar-KQ55EAFF-C6zhEkCz.js +3 -0
- package/dist/requirementDiagram-Z7DCOOCP-CRl2914V.js +2203 -0
- package/dist/requirementDiagram-Z7DCOOCP-CeMYhXEm.cjs +74 -0
- package/dist/ro-BvhMyTKh.cjs +2 -0
- package/dist/ro-C-8tiqgA.js +210 -0
- package/dist/rough.esm-BjJ_weyP.cjs +2 -0
- package/dist/rough.esm-DBHP55VQ.js +1354 -0
- package/dist/ru-BQosng8l.cjs +2 -0
- package/dist/ru-Dhnz96q2.js +210 -0
- package/dist/sankeyDiagram-WA2Y5GQK-BFrF47Iv.js +922 -0
- package/dist/sankeyDiagram-WA2Y5GQK-DDfjtQ4G.cjs +11 -0
- package/dist/sequenceDiagram-2WXFIKYE-B-zWyr9f.cjs +146 -0
- package/dist/sequenceDiagram-2WXFIKYE-BAd8OVlz.js +4111 -0
- package/dist/sk-BU-Z5EsC.js +210 -0
- package/dist/sk-BhA7UeAk.cjs +2 -0
- package/dist/sl-6Mczv4jG.cjs +2 -0
- package/dist/sl-CcfjJFxo.js +210 -0
- package/dist/sr-CxObZdu0.cjs +2 -0
- package/dist/sr-S53unrLA.js +210 -0
- package/dist/src-DFxq-N5I.cjs +2 -0
- package/dist/src-Dm6r9c7l.js +2148 -0
- package/dist/stateDiagram-RAJIS63D-C-tfqeC-.js +219 -0
- package/dist/stateDiagram-RAJIS63D-C1Aj8vJQ.cjs +2 -0
- package/dist/stateDiagram-v2-FVOUBMTO-C-w53gXL.js +29 -0
- package/dist/stateDiagram-v2-FVOUBMTO-VoIE_KVn.cjs +2 -0
- package/dist/sv-BfiunVuX.cjs +2 -0
- package/dist/sv-BiJrVfZr.js +210 -0
- package/dist/th-BqLGltZi.cjs +2 -0
- package/dist/th-vQ7LQ7nD.js +210 -0
- package/dist/timeline-definition-YZTLITO2-CE1y2S_r.js +832 -0
- package/dist/timeline-definition-YZTLITO2-D8aFfnYE.cjs +62 -0
- package/dist/tr-Brwl4o_Z.cjs +2 -0
- package/dist/tr-C5RrNGLz.js +210 -0
- package/dist/treemap-KZPCXAKY-D2v0uStP.cjs +1 -0
- package/dist/treemap-KZPCXAKY-DLE_f1Bk.js +3 -0
- package/dist/types/THorizontalSpacing.d.ts +0 -1
- package/dist/types/THorizontalSpacingBreakPoints.d.ts +0 -1
- package/dist/types/TPaddingBreakPoints.d.ts +0 -1
- package/dist/types/TPading.d.ts +0 -1
- package/dist/types/TVerticalSpacing.d.ts +0 -1
- package/dist/types/TVerticalSpacingBreakPoints.d.ts +0 -1
- package/dist/uk-CV49TRvS.cjs +2 -0
- package/dist/uk-WGCFH0fY.js +210 -0
- package/dist/vennDiagram-LZ73GAT5-BSpVMORX.js +1860 -0
- package/dist/vennDiagram-LZ73GAT5-DvnB0e7u.cjs +35 -0
- package/dist/vi-JzM7bjn_.cjs +2 -0
- package/dist/vi-Waa7HkXq.js +210 -0
- package/dist/xychartDiagram-JWTSCODW-0qbVGrDs.cjs +8 -0
- package/dist/xychartDiagram-JWTSCODW-DpIry-th.js +2043 -0
- package/dist/zh-BmUS7Wn_.js +210 -0
- package/dist/zh-DEm0SGzZ.cjs +2 -0
- package/package.json +7 -7
- package/dist/LocalizationProvider-BLjmybBa.cjs +0 -2
- package/dist/LocalizationProvider-BSlUf0tp.js +0 -497
- package/dist/_arrayEach-Cje_jmPk.cjs +0 -2
- package/dist/_arrayEach-FofefpDi.js +0 -61
- package/dist/ar-C1pLt8fa.js +0 -219
- package/dist/ar-Jzw7PLrc.cjs +0 -2
- package/dist/arc-5Gjtja_I.js +0 -132
- package/dist/arc-DJHyDr2O.cjs +0 -2
- package/dist/architecture-7HQA4BMR-B3tJE43W.js +0 -6
- package/dist/architecture-7HQA4BMR-gT33-zCB.cjs +0 -2
- package/dist/architectureDiagram-VXUJARFQ-2JSYYGtM.js +0 -8680
- package/dist/architectureDiagram-VXUJARFQ-DXZHHpiT.cjs +0 -2
- package/dist/az-C0Ow5Hxa.cjs +0 -2
- package/dist/az-C3-F9ybX.js +0 -219
- package/dist/bg-YB0TmpRF.cjs +0 -2
- package/dist/bg-w2e_udiK.js +0 -219
- package/dist/blockDiagram-VD42YOAC-B6nGrskI.js +0 -3756
- package/dist/blockDiagram-VD42YOAC-quPSWMXj.cjs +0 -2
- package/dist/bs-BoW04lRb.cjs +0 -2
- package/dist/bs-CEe_gjEx.js +0 -219
- package/dist/c4Diagram-YG6GDRKO-CvSU_nSb.js +0 -2483
- package/dist/c4Diagram-YG6GDRKO-yrm6z9xI.cjs +0 -2
- package/dist/ca-Bsy2Y5pS.cjs +0 -2
- package/dist/ca-CKpd72XI.js +0 -219
- package/dist/channel-BGx_PGej.cjs +0 -2
- package/dist/channel-Dx_x_I-e.js +0 -8
- package/dist/chunk-4BX2VUAB-DE7Tf1KJ.js +0 -18
- package/dist/chunk-4BX2VUAB-hg2h7y7T.cjs +0 -2
- package/dist/chunk-55IACEB6-5VDRE5b9.js +0 -14
- package/dist/chunk-55IACEB6-DQzh2BFT.cjs +0 -2
- package/dist/chunk-B4BG7PRW-BONACuKe.cjs +0 -2
- package/dist/chunk-B4BG7PRW-ClXZOBBj.js +0 -1828
- package/dist/chunk-DI55MBZ5-CnX_pntz.cjs +0 -2
- package/dist/chunk-DI55MBZ5-Cw4AXuM5.js +0 -1928
- package/dist/chunk-FMBD7UC4-vGLXIanH.cjs +0 -2
- package/dist/chunk-QN33PNHL-Bi6cNSdZ.cjs +0 -2
- package/dist/chunk-QN33PNHL-NyikcZce.js +0 -26
- package/dist/chunk-QZHKN3VN-Cj-nkoY3.cjs +0 -2
- package/dist/chunk-QZHKN3VN-DRpbGzBX.js +0 -18
- package/dist/chunk-TZMSLE5B-Dbk2wKaP.cjs +0 -2
- package/dist/chunk-TZMSLE5B-DiEITu_i.js +0 -109
- package/dist/classDiagram-2ON5EDUG-CZ8qM-r0.js +0 -20
- package/dist/classDiagram-2ON5EDUG-GEqVHOl4.cjs +0 -2
- package/dist/classDiagram-v2-WZHVMYZB-CZ8qM-r0.js +0 -20
- package/dist/classDiagram-v2-WZHVMYZB-GEqVHOl4.cjs +0 -2
- package/dist/cose-bilkent-S5V4N54A-Bk5UrOC6.cjs +0 -2
- package/dist/cose-bilkent-S5V4N54A-D9POuI1b.js +0 -4934
- package/dist/cs-D-801PIR.cjs +0 -2
- package/dist/cs-DQvRPciB.js +0 -219
- package/dist/cy-BxyJCM05.js +0 -219
- package/dist/cy-aUPUcn-S.cjs +0 -2
- package/dist/cytoscape.esm-BS1owLay.js +0 -30250
- package/dist/cytoscape.esm-BxB3woZB.cjs +0 -10
- package/dist/da-B05ad5Iq.js +0 -219
- package/dist/da-CTiLOqut.cjs +0 -2
- package/dist/dagre-6UL2VRFP-BGgMwKrx.cjs +0 -2
- package/dist/dagre-6UL2VRFP-D1VXYHDk.js +0 -696
- package/dist/de-DJ5iwpd7.js +0 -219
- package/dist/de-Dm204UMA.cjs +0 -2
- package/dist/defaultLocale-7NeEK7SF.cjs +0 -2
- package/dist/defaultLocale-DVr69WTU.js +0 -207
- package/dist/diagram-PSM6KHXK-BnJ6u90U.cjs +0 -2
- package/dist/diagram-PSM6KHXK-MkySzwCw.js +0 -848
- package/dist/diagram-QEK2KX5R-7oJbO__T.js +0 -305
- package/dist/diagram-QEK2KX5R-CQjADuvs.cjs +0 -2
- package/dist/diagram-S2PKOQOG-AFF7RL6D.cjs +0 -2
- package/dist/diagram-S2PKOQOG-t6d3dY_R.js +0 -212
- package/dist/el-CBS9mHS3.js +0 -219
- package/dist/el-DbtZj-ph.cjs +0 -2
- package/dist/erDiagram-Q2GNP2WA-BY5cfs21.js +0 -1160
- package/dist/erDiagram-Q2GNP2WA-CsdjPSsg.cjs +0 -2
- package/dist/es-Bo08apQr.js +0 -219
- package/dist/es-Cc-4Vqf7.cjs +0 -2
- package/dist/et-D5pQ66eY.cjs +0 -2
- package/dist/et-pRL0Tmle.js +0 -219
- package/dist/eu-Br68gaf7.js +0 -219
- package/dist/eu-RZ-27koK.cjs +0 -2
- package/dist/fi-BCXB-k_X.js +0 -219
- package/dist/fi-Dqa9mgnW.cjs +0 -2
- package/dist/flowDiagram-NV44I4VS-BcaW6-_t.cjs +0 -2
- package/dist/flowDiagram-NV44I4VS-DoSHOTLX.js +0 -2339
- package/dist/fr-B7fhkle4.cjs +0 -2
- package/dist/fr-gKE1SSIF.js +0 -219
- package/dist/ga-4Hf7vKvr.cjs +0 -2
- package/dist/ga-C1SpITZy.js +0 -219
- package/dist/ganttDiagram-JELNMOA3-C8aHKsjy.js +0 -3652
- package/dist/ganttDiagram-JELNMOA3-YuzFUWYN.cjs +0 -2
- package/dist/gitGraph-G5XIXVHT-DN5M1zzB.cjs +0 -2
- package/dist/gitGraph-G5XIXVHT-kJP_icZ5.js +0 -6
- package/dist/gitGraphDiagram-V2S2FVAM-Bl2LJ6uK.js +0 -1215
- package/dist/gitGraphDiagram-V2S2FVAM-DI5S_ure.cjs +0 -2
- package/dist/gl-COSpsMSK.cjs +0 -2
- package/dist/gl-CSzCeu2L.js +0 -219
- package/dist/graph-C7xixGrW.cjs +0 -2
- package/dist/graph-DH3cnEko.js +0 -421
- package/dist/he-BrkfqoIm.js +0 -219
- package/dist/he-C7Wi6-EL.cjs +0 -2
- package/dist/hi-C1RGDPzn.js +0 -219
- package/dist/hi-ojklJj-a.cjs +0 -2
- package/dist/hr-CsO_h2VT.js +0 -219
- package/dist/hr-DkEwOCGU.cjs +0 -2
- package/dist/hu-CVtbM-V2.js +0 -219
- package/dist/hu-D8uAAzvN.cjs +0 -2
- package/dist/id-18yPGK2f.cjs +0 -2
- package/dist/id-CARSN0W8.js +0 -219
- package/dist/index-BMfuEpa-.cjs +0 -428
- package/dist/index-BiWHWaTZ.js +0 -55588
- package/dist/info-VBDWY6EO-0yZ4VJNq.cjs +0 -2
- package/dist/info-VBDWY6EO-CcLNynBA.js +0 -6
- package/dist/infoDiagram-HS3SLOUP-Bp0yOoLT.js +0 -32
- package/dist/infoDiagram-HS3SLOUP-C0Zno052.cjs +0 -2
- package/dist/init-DZ96s0AS.cjs +0 -2
- package/dist/init-ZxktEp_H.js +0 -17
- package/dist/it-BVq911RW.cjs +0 -2
- package/dist/it-ClWGK7XT.js +0 -219
- package/dist/ja-BgcKuKZ4.cjs +0 -2
- package/dist/ja-DGL12HwE.js +0 -219
- package/dist/journeyDiagram-XKPGCS4Q-0OiMrl1O.cjs +0 -2
- package/dist/journeyDiagram-XKPGCS4Q-Ci2gigtu.js +0 -1255
- package/dist/kanban-definition-3W4ZIXB7-DTLYV2yk.js +0 -1049
- package/dist/kanban-definition-3W4ZIXB7-DbJAXyvr.cjs +0 -2
- package/dist/katex-DPu4QpBP.cjs +0 -2
- package/dist/katex-Dd1-wdX2.js +0 -14523
- package/dist/kk-CkKXbKso.js +0 -219
- package/dist/kk-Dn3FBkOR.cjs +0 -2
- package/dist/ko-CKAbV25b.cjs +0 -2
- package/dist/ko-QYvDV2aw.js +0 -219
- package/dist/layout-D6yO7DzL.cjs +0 -2
- package/dist/layout-bxkZz7Cm.js +0 -1919
- package/dist/linear-CmvLp6xX.js +0 -341
- package/dist/linear-d_werDwb.cjs +0 -2
- package/dist/lt-BKnFyiLV.js +0 -219
- package/dist/lt-BnGNEsIS.cjs +0 -2
- package/dist/lv-Clqo0Ogm.js +0 -219
- package/dist/lv-D3rJQRhc.cjs +0 -2
- package/dist/maplibre-gl-B3PlRf6V.js +0 -23511
- package/dist/maplibre-gl-Cc1i9T04.cjs +0 -6
- package/dist/mermaid-parser.core-CNPkkUbW.cjs +0 -2
- package/dist/mermaid-parser.core-CnjbJ8mb.js +0 -23791
- package/dist/mindmap-definition-VGOIOE7T-D4S37eSG.cjs +0 -2
- package/dist/mindmap-definition-VGOIOE7T-z7i6md6S.js +0 -1129
- package/dist/mk-EhcD0RzW.js +0 -219
- package/dist/mk-hVxJgrE0.cjs +0 -2
- package/dist/ms-CJACwjo7.js +0 -219
- package/dist/ms-D0txYckK.cjs +0 -2
- package/dist/nb-BfKRl99z.cjs +0 -2
- package/dist/nb-NCgnP0Pu.js +0 -219
- package/dist/nl-EgsNCunP.js +0 -219
- package/dist/nl-ZXiLkBj_.cjs +0 -2
- package/dist/ordinal-BZdahNih.cjs +0 -2
- package/dist/ordinal-DSZU4PqD.js +0 -77
- package/dist/packet-DYOGHKS2-8TxNXRiu.js +0 -6
- package/dist/packet-DYOGHKS2-T2_NOyn2.cjs +0 -2
- package/dist/pie-VRWISCQL-CVgwt5hn.cjs +0 -2
- package/dist/pie-VRWISCQL-Cw5ps4Uc.js +0 -6
- package/dist/pieDiagram-ADFJNKIX-9tCdDAIz.cjs +0 -2
- package/dist/pieDiagram-ADFJNKIX-BLMaZqln.js +0 -238
- package/dist/pl-H28GVtiG.js +0 -219
- package/dist/pl-tVjdYTB9.cjs +0 -2
- package/dist/pt-1k62N9F3.cjs +0 -2
- package/dist/pt-BSPZhWKl.js +0 -211
- package/dist/quadrantDiagram-AYHSOK5B-B_5PU35F.cjs +0 -2
- package/dist/quadrantDiagram-AYHSOK5B-Njb3KunW.js +0 -1338
- package/dist/radar-ZZBFDIW7-B5WKe_gp.js +0 -6
- package/dist/radar-ZZBFDIW7-DGwkdfQQ.cjs +0 -2
- package/dist/requirementDiagram-UZGBJVZJ-BOgHmi8B.cjs +0 -2
- package/dist/requirementDiagram-UZGBJVZJ-wkSzPa52.js +0 -1164
- package/dist/ro-9Qt1qDDA.cjs +0 -2
- package/dist/ro-BpaZLre_.js +0 -219
- package/dist/ru-4WxRouIU.cjs +0 -2
- package/dist/ru-CUZzD-Tx.js +0 -219
- package/dist/sankeyDiagram-TZEHDZUN-p1th2H-P.js +0 -1194
- package/dist/sankeyDiagram-TZEHDZUN-wNi-DuI_.cjs +0 -2
- package/dist/sequenceDiagram-WL72ISMW-CZsA3nl_.js +0 -3882
- package/dist/sequenceDiagram-WL72ISMW-DHsfFVVL.cjs +0 -2
- package/dist/sk-CoQ6XiCY.js +0 -219
- package/dist/sk-uWukDQab.cjs +0 -2
- package/dist/sl-B6DVbKg6.cjs +0 -2
- package/dist/sl-CHW-ZGol.js +0 -219
- package/dist/sr-BOD8Tc-D.cjs +0 -2
- package/dist/sr-EQGjIBJE.js +0 -219
- package/dist/stateDiagram-FKZM4ZOC-CZDqf83I.js +0 -449
- package/dist/stateDiagram-FKZM4ZOC-uCSdqeo_.cjs +0 -2
- package/dist/stateDiagram-v2-4FDKWEC3-Ard7BOGd.js +0 -20
- package/dist/stateDiagram-v2-4FDKWEC3-LQ3nCDHa.cjs +0 -2
- package/dist/sv-B6nLuQr7.cjs +0 -2
- package/dist/sv-DTxWN6ED.js +0 -219
- package/dist/th-BVPzHvBf.js +0 -219
- package/dist/th-DmULV6uT.cjs +0 -2
- package/dist/timeline-definition-IT6M3QCI-5Kl_f6ac.cjs +0 -2
- package/dist/timeline-definition-IT6M3QCI-DOIExRzF.js +0 -1227
- package/dist/tr-BE5geTUC.cjs +0 -2
- package/dist/tr-BHR1QA-D.js +0 -219
- package/dist/treemap-GDKQZRPO-BsGYh-La.cjs +0 -2
- package/dist/treemap-GDKQZRPO-DQPba0Eh.js +0 -6
- package/dist/uk-Bc5TwelE.js +0 -219
- package/dist/uk-DS5ukB_-.cjs +0 -2
- package/dist/vi-D9FF4kkG.cjs +0 -2
- package/dist/vi-DC0eQZb7.js +0 -219
- package/dist/xychartDiagram-PRI3JC2R-DkaIeov2.cjs +0 -2
- package/dist/xychartDiagram-PRI3JC2R-DyqZd9yp.js +0 -1887
- package/dist/zh-CGcOiJ3s.cjs +0 -2
- package/dist/zh-GsCLn8OE.js +0 -219
|
@@ -1,696 +0,0 @@
|
|
|
1
|
-
import { _ as __name, am as markers_default, an as clear2, ao as clear, ap as clear$1, l as log, c as getConfig2, aq as updateNodeBounds, ar as setNodeElem, ai as insertNode, as as getSubGraphTitleMargins, aj as positionNode, ah as insertCluster, at as insertEdge, au as positionEdgeLabel, av as insertEdgeLabel } from "./index-BiWHWaTZ.js";
|
|
2
|
-
import * as _ from "lodash-es";
|
|
3
|
-
import { l as layout } from "./layout-bxkZz7Cm.js";
|
|
4
|
-
import { G as Graph } from "./graph-DH3cnEko.js";
|
|
5
|
-
function write(g) {
|
|
6
|
-
var json = {
|
|
7
|
-
options: {
|
|
8
|
-
directed: g.isDirected(),
|
|
9
|
-
multigraph: g.isMultigraph(),
|
|
10
|
-
compound: g.isCompound()
|
|
11
|
-
},
|
|
12
|
-
nodes: writeNodes(g),
|
|
13
|
-
edges: writeEdges(g)
|
|
14
|
-
};
|
|
15
|
-
if (!_.isUndefined(g.graph())) {
|
|
16
|
-
json.value = _.clone(g.graph());
|
|
17
|
-
}
|
|
18
|
-
return json;
|
|
19
|
-
}
|
|
20
|
-
function writeNodes(g) {
|
|
21
|
-
return _.map(g.nodes(), function(v) {
|
|
22
|
-
var nodeValue = g.node(v);
|
|
23
|
-
var parent = g.parent(v);
|
|
24
|
-
var node = { v };
|
|
25
|
-
if (!_.isUndefined(nodeValue)) {
|
|
26
|
-
node.value = nodeValue;
|
|
27
|
-
}
|
|
28
|
-
if (!_.isUndefined(parent)) {
|
|
29
|
-
node.parent = parent;
|
|
30
|
-
}
|
|
31
|
-
return node;
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
function writeEdges(g) {
|
|
35
|
-
return _.map(g.edges(), function(e) {
|
|
36
|
-
var edgeValue = g.edge(e);
|
|
37
|
-
var edge = { v: e.v, w: e.w };
|
|
38
|
-
if (!_.isUndefined(e.name)) {
|
|
39
|
-
edge.name = e.name;
|
|
40
|
-
}
|
|
41
|
-
if (!_.isUndefined(edgeValue)) {
|
|
42
|
-
edge.value = edgeValue;
|
|
43
|
-
}
|
|
44
|
-
return edge;
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
var clusterDb = /* @__PURE__ */ new Map();
|
|
48
|
-
var descendants = /* @__PURE__ */ new Map();
|
|
49
|
-
var parents = /* @__PURE__ */ new Map();
|
|
50
|
-
var clear4 = /* @__PURE__ */ __name(() => {
|
|
51
|
-
descendants.clear();
|
|
52
|
-
parents.clear();
|
|
53
|
-
clusterDb.clear();
|
|
54
|
-
}, "clear");
|
|
55
|
-
var isDescendant = /* @__PURE__ */ __name((id, ancestorId) => {
|
|
56
|
-
const ancestorDescendants = descendants.get(ancestorId) || [];
|
|
57
|
-
log.trace("In isDescendant", ancestorId, " ", id, " = ", ancestorDescendants.includes(id));
|
|
58
|
-
return ancestorDescendants.includes(id);
|
|
59
|
-
}, "isDescendant");
|
|
60
|
-
var edgeInCluster = /* @__PURE__ */ __name((edge, clusterId) => {
|
|
61
|
-
const clusterDescendants = descendants.get(clusterId) || [];
|
|
62
|
-
log.info("Descendants of ", clusterId, " is ", clusterDescendants);
|
|
63
|
-
log.info("Edge is ", edge);
|
|
64
|
-
if (edge.v === clusterId || edge.w === clusterId) {
|
|
65
|
-
return false;
|
|
66
|
-
}
|
|
67
|
-
if (!clusterDescendants) {
|
|
68
|
-
log.debug("Tilt, ", clusterId, ",not in descendants");
|
|
69
|
-
return false;
|
|
70
|
-
}
|
|
71
|
-
return clusterDescendants.includes(edge.v) || isDescendant(edge.v, clusterId) || isDescendant(edge.w, clusterId) || clusterDescendants.includes(edge.w);
|
|
72
|
-
}, "edgeInCluster");
|
|
73
|
-
var copy = /* @__PURE__ */ __name((clusterId, graph, newGraph, rootId) => {
|
|
74
|
-
log.warn(
|
|
75
|
-
"Copying children of ",
|
|
76
|
-
clusterId,
|
|
77
|
-
"root",
|
|
78
|
-
rootId,
|
|
79
|
-
"data",
|
|
80
|
-
graph.node(clusterId),
|
|
81
|
-
rootId
|
|
82
|
-
);
|
|
83
|
-
const nodes = graph.children(clusterId) || [];
|
|
84
|
-
if (clusterId !== rootId) {
|
|
85
|
-
nodes.push(clusterId);
|
|
86
|
-
}
|
|
87
|
-
log.warn("Copying (nodes) clusterId", clusterId, "nodes", nodes);
|
|
88
|
-
nodes.forEach((node) => {
|
|
89
|
-
if (graph.children(node).length > 0) {
|
|
90
|
-
copy(node, graph, newGraph, rootId);
|
|
91
|
-
} else {
|
|
92
|
-
const data = graph.node(node);
|
|
93
|
-
log.info("cp ", node, " to ", rootId, " with parent ", clusterId);
|
|
94
|
-
newGraph.setNode(node, data);
|
|
95
|
-
if (rootId !== graph.parent(node)) {
|
|
96
|
-
log.warn("Setting parent", node, graph.parent(node));
|
|
97
|
-
newGraph.setParent(node, graph.parent(node));
|
|
98
|
-
}
|
|
99
|
-
if (clusterId !== rootId && node !== clusterId) {
|
|
100
|
-
log.debug("Setting parent", node, clusterId);
|
|
101
|
-
newGraph.setParent(node, clusterId);
|
|
102
|
-
} else {
|
|
103
|
-
log.info("In copy ", clusterId, "root", rootId, "data", graph.node(clusterId), rootId);
|
|
104
|
-
log.debug(
|
|
105
|
-
"Not Setting parent for node=",
|
|
106
|
-
node,
|
|
107
|
-
"cluster!==rootId",
|
|
108
|
-
clusterId !== rootId,
|
|
109
|
-
"node!==clusterId",
|
|
110
|
-
node !== clusterId
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
const edges = graph.edges(node);
|
|
114
|
-
log.debug("Copying Edges", edges);
|
|
115
|
-
edges.forEach((edge) => {
|
|
116
|
-
log.info("Edge", edge);
|
|
117
|
-
const data2 = graph.edge(edge.v, edge.w, edge.name);
|
|
118
|
-
log.info("Edge data", data2, rootId);
|
|
119
|
-
try {
|
|
120
|
-
if (edgeInCluster(edge, rootId)) {
|
|
121
|
-
log.info("Copying as ", edge.v, edge.w, data2, edge.name);
|
|
122
|
-
newGraph.setEdge(edge.v, edge.w, data2, edge.name);
|
|
123
|
-
log.info("newGraph edges ", newGraph.edges(), newGraph.edge(newGraph.edges()[0]));
|
|
124
|
-
} else {
|
|
125
|
-
log.info(
|
|
126
|
-
"Skipping copy of edge ",
|
|
127
|
-
edge.v,
|
|
128
|
-
"-->",
|
|
129
|
-
edge.w,
|
|
130
|
-
" rootId: ",
|
|
131
|
-
rootId,
|
|
132
|
-
" clusterId:",
|
|
133
|
-
clusterId
|
|
134
|
-
);
|
|
135
|
-
}
|
|
136
|
-
} catch (e) {
|
|
137
|
-
log.error(e);
|
|
138
|
-
}
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
log.debug("Removing node", node);
|
|
142
|
-
graph.removeNode(node);
|
|
143
|
-
});
|
|
144
|
-
}, "copy");
|
|
145
|
-
var extractDescendants = /* @__PURE__ */ __name((id, graph) => {
|
|
146
|
-
const children = graph.children(id);
|
|
147
|
-
let res = [...children];
|
|
148
|
-
for (const child of children) {
|
|
149
|
-
parents.set(child, id);
|
|
150
|
-
res = [...res, ...extractDescendants(child, graph)];
|
|
151
|
-
}
|
|
152
|
-
return res;
|
|
153
|
-
}, "extractDescendants");
|
|
154
|
-
var findCommonEdges = /* @__PURE__ */ __name((graph, id1, id2) => {
|
|
155
|
-
const edges1 = graph.edges().filter((edge) => edge.v === id1 || edge.w === id1);
|
|
156
|
-
const edges2 = graph.edges().filter((edge) => edge.v === id2 || edge.w === id2);
|
|
157
|
-
const edges1Prim = edges1.map((edge) => {
|
|
158
|
-
return { v: edge.v === id1 ? id2 : edge.v, w: edge.w === id1 ? id1 : edge.w };
|
|
159
|
-
});
|
|
160
|
-
const edges2Prim = edges2.map((edge) => {
|
|
161
|
-
return { v: edge.v, w: edge.w };
|
|
162
|
-
});
|
|
163
|
-
const result = edges1Prim.filter((edgeIn1) => {
|
|
164
|
-
return edges2Prim.some((edge) => edgeIn1.v === edge.v && edgeIn1.w === edge.w);
|
|
165
|
-
});
|
|
166
|
-
return result;
|
|
167
|
-
}, "findCommonEdges");
|
|
168
|
-
var findNonClusterChild = /* @__PURE__ */ __name((id, graph, clusterId) => {
|
|
169
|
-
const children = graph.children(id);
|
|
170
|
-
log.trace("Searching children of id ", id, children);
|
|
171
|
-
if (children.length < 1) {
|
|
172
|
-
return id;
|
|
173
|
-
}
|
|
174
|
-
let reserve;
|
|
175
|
-
for (const child of children) {
|
|
176
|
-
const _id = findNonClusterChild(child, graph, clusterId);
|
|
177
|
-
const commonEdges = findCommonEdges(graph, clusterId, _id);
|
|
178
|
-
if (_id) {
|
|
179
|
-
if (commonEdges.length > 0) {
|
|
180
|
-
reserve = _id;
|
|
181
|
-
} else {
|
|
182
|
-
return _id;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
return reserve;
|
|
187
|
-
}, "findNonClusterChild");
|
|
188
|
-
var getAnchorId = /* @__PURE__ */ __name((id) => {
|
|
189
|
-
if (!clusterDb.has(id)) {
|
|
190
|
-
return id;
|
|
191
|
-
}
|
|
192
|
-
if (!clusterDb.get(id).externalConnections) {
|
|
193
|
-
return id;
|
|
194
|
-
}
|
|
195
|
-
if (clusterDb.has(id)) {
|
|
196
|
-
return clusterDb.get(id).id;
|
|
197
|
-
}
|
|
198
|
-
return id;
|
|
199
|
-
}, "getAnchorId");
|
|
200
|
-
var adjustClustersAndEdges = /* @__PURE__ */ __name((graph, depth) => {
|
|
201
|
-
if (!graph || depth > 10) {
|
|
202
|
-
log.debug("Opting out, no graph ");
|
|
203
|
-
return;
|
|
204
|
-
} else {
|
|
205
|
-
log.debug("Opting in, graph ");
|
|
206
|
-
}
|
|
207
|
-
graph.nodes().forEach(function(id) {
|
|
208
|
-
const children = graph.children(id);
|
|
209
|
-
if (children.length > 0) {
|
|
210
|
-
log.warn(
|
|
211
|
-
"Cluster identified",
|
|
212
|
-
id,
|
|
213
|
-
" Replacement id in edges: ",
|
|
214
|
-
findNonClusterChild(id, graph, id)
|
|
215
|
-
);
|
|
216
|
-
descendants.set(id, extractDescendants(id, graph));
|
|
217
|
-
clusterDb.set(id, { id: findNonClusterChild(id, graph, id), clusterData: graph.node(id) });
|
|
218
|
-
}
|
|
219
|
-
});
|
|
220
|
-
graph.nodes().forEach(function(id) {
|
|
221
|
-
const children = graph.children(id);
|
|
222
|
-
const edges = graph.edges();
|
|
223
|
-
if (children.length > 0) {
|
|
224
|
-
log.debug("Cluster identified", id, descendants);
|
|
225
|
-
edges.forEach((edge) => {
|
|
226
|
-
const d1 = isDescendant(edge.v, id);
|
|
227
|
-
const d2 = isDescendant(edge.w, id);
|
|
228
|
-
if (d1 ^ d2) {
|
|
229
|
-
log.warn("Edge: ", edge, " leaves cluster ", id);
|
|
230
|
-
log.warn("Descendants of XXX ", id, ": ", descendants.get(id));
|
|
231
|
-
clusterDb.get(id).externalConnections = true;
|
|
232
|
-
}
|
|
233
|
-
});
|
|
234
|
-
} else {
|
|
235
|
-
log.debug("Not a cluster ", id, descendants);
|
|
236
|
-
}
|
|
237
|
-
});
|
|
238
|
-
for (let id of clusterDb.keys()) {
|
|
239
|
-
const nonClusterChild = clusterDb.get(id).id;
|
|
240
|
-
const parent = graph.parent(nonClusterChild);
|
|
241
|
-
if (parent !== id && clusterDb.has(parent) && !clusterDb.get(parent).externalConnections) {
|
|
242
|
-
clusterDb.get(id).id = parent;
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
graph.edges().forEach(function(e) {
|
|
246
|
-
const edge = graph.edge(e);
|
|
247
|
-
log.warn("Edge " + e.v + " -> " + e.w + ": " + JSON.stringify(e));
|
|
248
|
-
log.warn("Edge " + e.v + " -> " + e.w + ": " + JSON.stringify(graph.edge(e)));
|
|
249
|
-
let v = e.v;
|
|
250
|
-
let w = e.w;
|
|
251
|
-
log.warn(
|
|
252
|
-
"Fix XXX",
|
|
253
|
-
clusterDb,
|
|
254
|
-
"ids:",
|
|
255
|
-
e.v,
|
|
256
|
-
e.w,
|
|
257
|
-
"Translating: ",
|
|
258
|
-
clusterDb.get(e.v),
|
|
259
|
-
" --- ",
|
|
260
|
-
clusterDb.get(e.w)
|
|
261
|
-
);
|
|
262
|
-
if (clusterDb.get(e.v) || clusterDb.get(e.w)) {
|
|
263
|
-
log.warn("Fixing and trying - removing XXX", e.v, e.w, e.name);
|
|
264
|
-
v = getAnchorId(e.v);
|
|
265
|
-
w = getAnchorId(e.w);
|
|
266
|
-
graph.removeEdge(e.v, e.w, e.name);
|
|
267
|
-
if (v !== e.v) {
|
|
268
|
-
const parent = graph.parent(v);
|
|
269
|
-
clusterDb.get(parent).externalConnections = true;
|
|
270
|
-
edge.fromCluster = e.v;
|
|
271
|
-
}
|
|
272
|
-
if (w !== e.w) {
|
|
273
|
-
const parent = graph.parent(w);
|
|
274
|
-
clusterDb.get(parent).externalConnections = true;
|
|
275
|
-
edge.toCluster = e.w;
|
|
276
|
-
}
|
|
277
|
-
log.warn("Fix Replacing with XXX", v, w, e.name);
|
|
278
|
-
graph.setEdge(v, w, edge, e.name);
|
|
279
|
-
}
|
|
280
|
-
});
|
|
281
|
-
log.warn("Adjusted Graph", write(graph));
|
|
282
|
-
extractor(graph, 0);
|
|
283
|
-
log.trace(clusterDb);
|
|
284
|
-
}, "adjustClustersAndEdges");
|
|
285
|
-
var extractor = /* @__PURE__ */ __name((graph, depth) => {
|
|
286
|
-
var _a, _b;
|
|
287
|
-
log.warn("extractor - ", depth, write(graph), graph.children("D"));
|
|
288
|
-
if (depth > 10) {
|
|
289
|
-
log.error("Bailing out");
|
|
290
|
-
return;
|
|
291
|
-
}
|
|
292
|
-
let nodes = graph.nodes();
|
|
293
|
-
let hasChildren = false;
|
|
294
|
-
for (const node of nodes) {
|
|
295
|
-
const children = graph.children(node);
|
|
296
|
-
hasChildren = hasChildren || children.length > 0;
|
|
297
|
-
}
|
|
298
|
-
if (!hasChildren) {
|
|
299
|
-
log.debug("Done, no node has children", graph.nodes());
|
|
300
|
-
return;
|
|
301
|
-
}
|
|
302
|
-
log.debug("Nodes = ", nodes, depth);
|
|
303
|
-
for (const node of nodes) {
|
|
304
|
-
log.debug(
|
|
305
|
-
"Extracting node",
|
|
306
|
-
node,
|
|
307
|
-
clusterDb,
|
|
308
|
-
clusterDb.has(node) && !clusterDb.get(node).externalConnections,
|
|
309
|
-
!graph.parent(node),
|
|
310
|
-
graph.node(node),
|
|
311
|
-
graph.children("D"),
|
|
312
|
-
" Depth ",
|
|
313
|
-
depth
|
|
314
|
-
);
|
|
315
|
-
if (!clusterDb.has(node)) {
|
|
316
|
-
log.debug("Not a cluster", node, depth);
|
|
317
|
-
} else if (!clusterDb.get(node).externalConnections && graph.children(node) && graph.children(node).length > 0) {
|
|
318
|
-
log.warn(
|
|
319
|
-
"Cluster without external connections, without a parent and with children",
|
|
320
|
-
node,
|
|
321
|
-
depth
|
|
322
|
-
);
|
|
323
|
-
const graphSettings = graph.graph();
|
|
324
|
-
let dir = graphSettings.rankdir === "TB" ? "LR" : "TB";
|
|
325
|
-
if ((_b = (_a = clusterDb.get(node)) == null ? void 0 : _a.clusterData) == null ? void 0 : _b.dir) {
|
|
326
|
-
dir = clusterDb.get(node).clusterData.dir;
|
|
327
|
-
log.warn("Fixing dir", clusterDb.get(node).clusterData.dir, dir);
|
|
328
|
-
}
|
|
329
|
-
const clusterGraph = new Graph({
|
|
330
|
-
multigraph: true,
|
|
331
|
-
compound: true
|
|
332
|
-
}).setGraph({
|
|
333
|
-
rankdir: dir,
|
|
334
|
-
nodesep: 50,
|
|
335
|
-
ranksep: 50,
|
|
336
|
-
marginx: 8,
|
|
337
|
-
marginy: 8
|
|
338
|
-
}).setDefaultEdgeLabel(function() {
|
|
339
|
-
return {};
|
|
340
|
-
});
|
|
341
|
-
log.warn("Old graph before copy", write(graph));
|
|
342
|
-
copy(node, graph, clusterGraph, node);
|
|
343
|
-
graph.setNode(node, {
|
|
344
|
-
clusterNode: true,
|
|
345
|
-
id: node,
|
|
346
|
-
clusterData: clusterDb.get(node).clusterData,
|
|
347
|
-
label: clusterDb.get(node).label,
|
|
348
|
-
graph: clusterGraph
|
|
349
|
-
});
|
|
350
|
-
log.warn("New graph after copy node: (", node, ")", write(clusterGraph));
|
|
351
|
-
log.debug("Old graph after copy", write(graph));
|
|
352
|
-
} else {
|
|
353
|
-
log.warn(
|
|
354
|
-
"Cluster ** ",
|
|
355
|
-
node,
|
|
356
|
-
" **not meeting the criteria !externalConnections:",
|
|
357
|
-
!clusterDb.get(node).externalConnections,
|
|
358
|
-
" no parent: ",
|
|
359
|
-
!graph.parent(node),
|
|
360
|
-
" children ",
|
|
361
|
-
graph.children(node) && graph.children(node).length > 0,
|
|
362
|
-
graph.children("D"),
|
|
363
|
-
depth
|
|
364
|
-
);
|
|
365
|
-
log.debug(clusterDb);
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
nodes = graph.nodes();
|
|
369
|
-
log.warn("New list of nodes", nodes);
|
|
370
|
-
for (const node of nodes) {
|
|
371
|
-
const data = graph.node(node);
|
|
372
|
-
log.warn(" Now next level", node, data);
|
|
373
|
-
if (data == null ? void 0 : data.clusterNode) {
|
|
374
|
-
extractor(data.graph, depth + 1);
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}, "extractor");
|
|
378
|
-
var sorter = /* @__PURE__ */ __name((graph, nodes) => {
|
|
379
|
-
if (nodes.length === 0) {
|
|
380
|
-
return [];
|
|
381
|
-
}
|
|
382
|
-
let result = Object.assign([], nodes);
|
|
383
|
-
nodes.forEach((node) => {
|
|
384
|
-
const children = graph.children(node);
|
|
385
|
-
const sorted = sorter(graph, children);
|
|
386
|
-
result = [...result, ...sorted];
|
|
387
|
-
});
|
|
388
|
-
return result;
|
|
389
|
-
}, "sorter");
|
|
390
|
-
var sortNodesByHierarchy = /* @__PURE__ */ __name((graph) => sorter(graph, graph.children()), "sortNodesByHierarchy");
|
|
391
|
-
var recursiveRender = /* @__PURE__ */ __name(async (_elem, graph, diagramType, id, parentCluster, siteConfig) => {
|
|
392
|
-
log.warn("Graph in recursive render:XAX", write(graph), parentCluster);
|
|
393
|
-
const dir = graph.graph().rankdir;
|
|
394
|
-
log.trace("Dir in recursive render - dir:", dir);
|
|
395
|
-
const elem = _elem.insert("g").attr("class", "root");
|
|
396
|
-
if (!graph.nodes()) {
|
|
397
|
-
log.info("No nodes found for", graph);
|
|
398
|
-
} else {
|
|
399
|
-
log.info("Recursive render XXX", graph.nodes());
|
|
400
|
-
}
|
|
401
|
-
if (graph.edges().length > 0) {
|
|
402
|
-
log.info("Recursive edges", graph.edge(graph.edges()[0]));
|
|
403
|
-
}
|
|
404
|
-
const clusters = elem.insert("g").attr("class", "clusters");
|
|
405
|
-
const edgePaths = elem.insert("g").attr("class", "edgePaths");
|
|
406
|
-
const edgeLabels = elem.insert("g").attr("class", "edgeLabels");
|
|
407
|
-
const nodes = elem.insert("g").attr("class", "nodes");
|
|
408
|
-
await Promise.all(
|
|
409
|
-
graph.nodes().map(async function(v) {
|
|
410
|
-
const node = graph.node(v);
|
|
411
|
-
if (parentCluster !== void 0) {
|
|
412
|
-
const data = JSON.parse(JSON.stringify(parentCluster.clusterData));
|
|
413
|
-
log.trace(
|
|
414
|
-
"Setting data for parent cluster XXX\n Node.id = ",
|
|
415
|
-
v,
|
|
416
|
-
"\n data=",
|
|
417
|
-
data.height,
|
|
418
|
-
"\nParent cluster",
|
|
419
|
-
parentCluster.height
|
|
420
|
-
);
|
|
421
|
-
graph.setNode(parentCluster.id, data);
|
|
422
|
-
if (!graph.parent(v)) {
|
|
423
|
-
log.trace("Setting parent", v, parentCluster.id);
|
|
424
|
-
graph.setParent(v, parentCluster.id, data);
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
log.info("(Insert) Node XXX" + v + ": " + JSON.stringify(graph.node(v)));
|
|
428
|
-
if (node == null ? void 0 : node.clusterNode) {
|
|
429
|
-
log.info("Cluster identified XBX", v, node.width, graph.node(v));
|
|
430
|
-
const { ranksep, nodesep } = graph.graph();
|
|
431
|
-
node.graph.setGraph({
|
|
432
|
-
...node.graph.graph(),
|
|
433
|
-
ranksep: ranksep + 25,
|
|
434
|
-
nodesep
|
|
435
|
-
});
|
|
436
|
-
const o = await recursiveRender(
|
|
437
|
-
nodes,
|
|
438
|
-
node.graph,
|
|
439
|
-
diagramType,
|
|
440
|
-
id,
|
|
441
|
-
graph.node(v),
|
|
442
|
-
siteConfig
|
|
443
|
-
);
|
|
444
|
-
const newEl = o.elem;
|
|
445
|
-
updateNodeBounds(node, newEl);
|
|
446
|
-
node.diff = o.diff || 0;
|
|
447
|
-
log.info(
|
|
448
|
-
"New compound node after recursive render XAX",
|
|
449
|
-
v,
|
|
450
|
-
"width",
|
|
451
|
-
// node,
|
|
452
|
-
node.width,
|
|
453
|
-
"height",
|
|
454
|
-
node.height
|
|
455
|
-
// node.x,
|
|
456
|
-
// node.y
|
|
457
|
-
);
|
|
458
|
-
setNodeElem(newEl, node);
|
|
459
|
-
} else {
|
|
460
|
-
if (graph.children(v).length > 0) {
|
|
461
|
-
log.trace(
|
|
462
|
-
"Cluster - the non recursive path XBX",
|
|
463
|
-
v,
|
|
464
|
-
node.id,
|
|
465
|
-
node,
|
|
466
|
-
node.width,
|
|
467
|
-
"Graph:",
|
|
468
|
-
graph
|
|
469
|
-
);
|
|
470
|
-
log.trace(findNonClusterChild(node.id, graph));
|
|
471
|
-
clusterDb.set(node.id, { id: findNonClusterChild(node.id, graph), node });
|
|
472
|
-
} else {
|
|
473
|
-
log.trace("Node - the non recursive path XAX", v, nodes, graph.node(v), dir);
|
|
474
|
-
await insertNode(nodes, graph.node(v), { config: siteConfig, dir });
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
})
|
|
478
|
-
);
|
|
479
|
-
const processEdges = /* @__PURE__ */ __name(async () => {
|
|
480
|
-
const edgePromises = graph.edges().map(async function(e) {
|
|
481
|
-
const edge = graph.edge(e.v, e.w, e.name);
|
|
482
|
-
log.info("Edge " + e.v + " -> " + e.w + ": " + JSON.stringify(e));
|
|
483
|
-
log.info("Edge " + e.v + " -> " + e.w + ": ", e, " ", JSON.stringify(graph.edge(e)));
|
|
484
|
-
log.info(
|
|
485
|
-
"Fix",
|
|
486
|
-
clusterDb,
|
|
487
|
-
"ids:",
|
|
488
|
-
e.v,
|
|
489
|
-
e.w,
|
|
490
|
-
"Translating: ",
|
|
491
|
-
clusterDb.get(e.v),
|
|
492
|
-
clusterDb.get(e.w)
|
|
493
|
-
);
|
|
494
|
-
await insertEdgeLabel(edgeLabels, edge);
|
|
495
|
-
});
|
|
496
|
-
await Promise.all(edgePromises);
|
|
497
|
-
}, "processEdges");
|
|
498
|
-
await processEdges();
|
|
499
|
-
log.info("Graph before layout:", JSON.stringify(write(graph)));
|
|
500
|
-
log.info("############################################# XXX");
|
|
501
|
-
log.info("### Layout ### XXX");
|
|
502
|
-
log.info("############################################# XXX");
|
|
503
|
-
layout(graph);
|
|
504
|
-
log.info("Graph after layout:", JSON.stringify(write(graph)));
|
|
505
|
-
let diff = 0;
|
|
506
|
-
let { subGraphTitleTotalMargin } = getSubGraphTitleMargins(siteConfig);
|
|
507
|
-
await Promise.all(
|
|
508
|
-
sortNodesByHierarchy(graph).map(async function(v) {
|
|
509
|
-
var _a;
|
|
510
|
-
const node = graph.node(v);
|
|
511
|
-
log.info(
|
|
512
|
-
"Position XBX => " + v + ": (" + node.x,
|
|
513
|
-
"," + node.y,
|
|
514
|
-
") width: ",
|
|
515
|
-
node.width,
|
|
516
|
-
" height: ",
|
|
517
|
-
node.height
|
|
518
|
-
);
|
|
519
|
-
if (node == null ? void 0 : node.clusterNode) {
|
|
520
|
-
node.y += subGraphTitleTotalMargin;
|
|
521
|
-
log.info(
|
|
522
|
-
"A tainted cluster node XBX1",
|
|
523
|
-
v,
|
|
524
|
-
node.id,
|
|
525
|
-
node.width,
|
|
526
|
-
node.height,
|
|
527
|
-
node.x,
|
|
528
|
-
node.y,
|
|
529
|
-
graph.parent(v)
|
|
530
|
-
);
|
|
531
|
-
clusterDb.get(node.id).node = node;
|
|
532
|
-
positionNode(node);
|
|
533
|
-
} else {
|
|
534
|
-
if (graph.children(v).length > 0) {
|
|
535
|
-
log.info(
|
|
536
|
-
"A pure cluster node XBX1",
|
|
537
|
-
v,
|
|
538
|
-
node.id,
|
|
539
|
-
node.x,
|
|
540
|
-
node.y,
|
|
541
|
-
node.width,
|
|
542
|
-
node.height,
|
|
543
|
-
graph.parent(v)
|
|
544
|
-
);
|
|
545
|
-
node.height += subGraphTitleTotalMargin;
|
|
546
|
-
graph.node(node.parentId);
|
|
547
|
-
const halfPadding = (node == null ? void 0 : node.padding) / 2 || 0;
|
|
548
|
-
const labelHeight = ((_a = node == null ? void 0 : node.labelBBox) == null ? void 0 : _a.height) || 0;
|
|
549
|
-
const offsetY = labelHeight - halfPadding || 0;
|
|
550
|
-
log.debug("OffsetY", offsetY, "labelHeight", labelHeight, "halfPadding", halfPadding);
|
|
551
|
-
await insertCluster(clusters, node);
|
|
552
|
-
clusterDb.get(node.id).node = node;
|
|
553
|
-
} else {
|
|
554
|
-
const parent = graph.node(node.parentId);
|
|
555
|
-
node.y += subGraphTitleTotalMargin / 2;
|
|
556
|
-
log.info(
|
|
557
|
-
"A regular node XBX1 - using the padding",
|
|
558
|
-
node.id,
|
|
559
|
-
"parent",
|
|
560
|
-
node.parentId,
|
|
561
|
-
node.width,
|
|
562
|
-
node.height,
|
|
563
|
-
node.x,
|
|
564
|
-
node.y,
|
|
565
|
-
"offsetY",
|
|
566
|
-
node.offsetY,
|
|
567
|
-
"parent",
|
|
568
|
-
parent,
|
|
569
|
-
parent == null ? void 0 : parent.offsetY,
|
|
570
|
-
node
|
|
571
|
-
);
|
|
572
|
-
positionNode(node);
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
})
|
|
576
|
-
);
|
|
577
|
-
graph.edges().forEach(function(e) {
|
|
578
|
-
const edge = graph.edge(e);
|
|
579
|
-
log.info("Edge " + e.v + " -> " + e.w + ": " + JSON.stringify(edge), edge);
|
|
580
|
-
edge.points.forEach((point) => point.y += subGraphTitleTotalMargin / 2);
|
|
581
|
-
const startNode = graph.node(e.v);
|
|
582
|
-
var endNode = graph.node(e.w);
|
|
583
|
-
const paths = insertEdge(edgePaths, edge, clusterDb, diagramType, startNode, endNode, id);
|
|
584
|
-
positionEdgeLabel(edge, paths);
|
|
585
|
-
});
|
|
586
|
-
graph.nodes().forEach(function(v) {
|
|
587
|
-
const n = graph.node(v);
|
|
588
|
-
log.info(v, n.type, n.diff);
|
|
589
|
-
if (n.isGroup) {
|
|
590
|
-
diff = n.diff;
|
|
591
|
-
}
|
|
592
|
-
});
|
|
593
|
-
log.warn("Returning from recursive render XAX", elem, diff);
|
|
594
|
-
return { elem, diff };
|
|
595
|
-
}, "recursiveRender");
|
|
596
|
-
var render = /* @__PURE__ */ __name(async (data4Layout, svg) => {
|
|
597
|
-
var _a, _b, _c, _d, _e, _f;
|
|
598
|
-
const graph = new Graph({
|
|
599
|
-
multigraph: true,
|
|
600
|
-
compound: true
|
|
601
|
-
}).setGraph({
|
|
602
|
-
rankdir: data4Layout.direction,
|
|
603
|
-
nodesep: ((_a = data4Layout.config) == null ? void 0 : _a.nodeSpacing) || ((_c = (_b = data4Layout.config) == null ? void 0 : _b.flowchart) == null ? void 0 : _c.nodeSpacing) || data4Layout.nodeSpacing,
|
|
604
|
-
ranksep: ((_d = data4Layout.config) == null ? void 0 : _d.rankSpacing) || ((_f = (_e = data4Layout.config) == null ? void 0 : _e.flowchart) == null ? void 0 : _f.rankSpacing) || data4Layout.rankSpacing,
|
|
605
|
-
marginx: 8,
|
|
606
|
-
marginy: 8
|
|
607
|
-
}).setDefaultEdgeLabel(function() {
|
|
608
|
-
return {};
|
|
609
|
-
});
|
|
610
|
-
const element = svg.select("g");
|
|
611
|
-
markers_default(element, data4Layout.markers, data4Layout.type, data4Layout.diagramId);
|
|
612
|
-
clear2();
|
|
613
|
-
clear();
|
|
614
|
-
clear$1();
|
|
615
|
-
clear4();
|
|
616
|
-
data4Layout.nodes.forEach((node) => {
|
|
617
|
-
graph.setNode(node.id, { ...node });
|
|
618
|
-
if (node.parentId) {
|
|
619
|
-
graph.setParent(node.id, node.parentId);
|
|
620
|
-
}
|
|
621
|
-
});
|
|
622
|
-
log.debug("Edges:", data4Layout.edges);
|
|
623
|
-
data4Layout.edges.forEach((edge) => {
|
|
624
|
-
if (edge.start === edge.end) {
|
|
625
|
-
const nodeId = edge.start;
|
|
626
|
-
const specialId1 = nodeId + "---" + nodeId + "---1";
|
|
627
|
-
const specialId2 = nodeId + "---" + nodeId + "---2";
|
|
628
|
-
const node = graph.node(nodeId);
|
|
629
|
-
graph.setNode(specialId1, {
|
|
630
|
-
domId: specialId1,
|
|
631
|
-
id: specialId1,
|
|
632
|
-
parentId: node.parentId,
|
|
633
|
-
labelStyle: "",
|
|
634
|
-
label: "",
|
|
635
|
-
padding: 0,
|
|
636
|
-
shape: "labelRect",
|
|
637
|
-
// shape: 'rect',
|
|
638
|
-
style: "",
|
|
639
|
-
width: 10,
|
|
640
|
-
height: 10
|
|
641
|
-
});
|
|
642
|
-
graph.setParent(specialId1, node.parentId);
|
|
643
|
-
graph.setNode(specialId2, {
|
|
644
|
-
domId: specialId2,
|
|
645
|
-
id: specialId2,
|
|
646
|
-
parentId: node.parentId,
|
|
647
|
-
labelStyle: "",
|
|
648
|
-
padding: 0,
|
|
649
|
-
// shape: 'rect',
|
|
650
|
-
shape: "labelRect",
|
|
651
|
-
label: "",
|
|
652
|
-
style: "",
|
|
653
|
-
width: 10,
|
|
654
|
-
height: 10
|
|
655
|
-
});
|
|
656
|
-
graph.setParent(specialId2, node.parentId);
|
|
657
|
-
const edge1 = structuredClone(edge);
|
|
658
|
-
const edgeMid = structuredClone(edge);
|
|
659
|
-
const edge2 = structuredClone(edge);
|
|
660
|
-
edge1.label = "";
|
|
661
|
-
edge1.arrowTypeEnd = "none";
|
|
662
|
-
edge1.id = nodeId + "-cyclic-special-1";
|
|
663
|
-
edgeMid.arrowTypeStart = "none";
|
|
664
|
-
edgeMid.arrowTypeEnd = "none";
|
|
665
|
-
edgeMid.id = nodeId + "-cyclic-special-mid";
|
|
666
|
-
edge2.label = "";
|
|
667
|
-
if (node.isGroup) {
|
|
668
|
-
edge1.fromCluster = nodeId;
|
|
669
|
-
edge2.toCluster = nodeId;
|
|
670
|
-
}
|
|
671
|
-
edge2.id = nodeId + "-cyclic-special-2";
|
|
672
|
-
edge2.arrowTypeStart = "none";
|
|
673
|
-
graph.setEdge(nodeId, specialId1, edge1, nodeId + "-cyclic-special-0");
|
|
674
|
-
graph.setEdge(specialId1, specialId2, edgeMid, nodeId + "-cyclic-special-1");
|
|
675
|
-
graph.setEdge(specialId2, nodeId, edge2, nodeId + "-cyc<lic-special-2");
|
|
676
|
-
} else {
|
|
677
|
-
graph.setEdge(edge.start, edge.end, { ...edge }, edge.id);
|
|
678
|
-
}
|
|
679
|
-
});
|
|
680
|
-
log.warn("Graph at first:", JSON.stringify(write(graph)));
|
|
681
|
-
adjustClustersAndEdges(graph);
|
|
682
|
-
log.warn("Graph after XAX:", JSON.stringify(write(graph)));
|
|
683
|
-
const siteConfig = getConfig2();
|
|
684
|
-
await recursiveRender(
|
|
685
|
-
element,
|
|
686
|
-
graph,
|
|
687
|
-
data4Layout.type,
|
|
688
|
-
data4Layout.diagramId,
|
|
689
|
-
void 0,
|
|
690
|
-
siteConfig
|
|
691
|
-
);
|
|
692
|
-
}, "render");
|
|
693
|
-
export {
|
|
694
|
-
render
|
|
695
|
-
};
|
|
696
|
-
//# sourceMappingURL=dagre-6UL2VRFP-D1VXYHDk.js.map
|