@joint/core 4.2.0 → 4.2.1
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/geometry.js +1 -1
- package/dist/geometry.min.js +1 -1
- package/dist/joint.d.ts +92 -135
- package/dist/joint.js +2 -2
- package/dist/joint.min.js +2 -2
- package/dist/joint.nowrap.js +2 -2
- package/dist/joint.nowrap.min.js +2 -2
- package/dist/vectorizer.js +1 -1
- package/dist/vectorizer.min.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +1 -1
- package/types/joint.d.ts +91 -134
package/dist/geometry.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! JointJS v4.2.
|
|
1
|
+
/*! JointJS v4.2.1 (2025-11-20) - JavaScript diagramming library
|
|
2
2
|
|
|
3
3
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
4
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
package/dist/geometry.min.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! JointJS v4.2.
|
|
1
|
+
/*! JointJS v4.2.1 (2025-11-20) - JavaScript diagramming library
|
|
2
2
|
|
|
3
3
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
4
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
package/dist/joint.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! JointJS v4.2.
|
|
1
|
+
/*! JointJS v4.2.1 (2025-11-20) - JavaScript diagramming library
|
|
2
2
|
|
|
3
3
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
4
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
@@ -1101,7 +1101,7 @@ export declare namespace dia {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
|
|
1103
1103
|
export interface Selectors {
|
|
1104
|
-
[selector: string]: attributes.SVGAttributes | undefined;
|
|
1104
|
+
[selector: string]: Nullable<attributes.SVGAttributes> | undefined;
|
|
1105
1105
|
}
|
|
1106
1106
|
|
|
1107
1107
|
export interface Attributes extends GenericAttributes<Selectors> {
|
|
@@ -1526,18 +1526,7 @@ export declare namespace dia {
|
|
|
1526
1526
|
connector?: connectors.Connector | connectors.ConnectorJSON;
|
|
1527
1527
|
}
|
|
1528
1528
|
|
|
1529
|
-
export interface
|
|
1530
|
-
'.connection'?: attributes.SVGPathAttributes;
|
|
1531
|
-
'.connection-wrap'?: attributes.SVGPathAttributes;
|
|
1532
|
-
'.marker-source'?: attributes.SVGPathAttributes;
|
|
1533
|
-
'.marker-target'?: attributes.SVGPathAttributes;
|
|
1534
|
-
'.labels'?: attributes.SVGAttributes;
|
|
1535
|
-
'.marker-vertices'?: attributes.SVGAttributes;
|
|
1536
|
-
'.marker-arrowheads'?: attributes.SVGAttributes;
|
|
1537
|
-
'.link-tools'?: attributes.SVGAttributes;
|
|
1538
|
-
}
|
|
1539
|
-
|
|
1540
|
-
export interface Attributes extends Cell.GenericAttributes<LinkSelectors> {
|
|
1529
|
+
export interface Attributes extends Cell.GenericAttributes<Cell.Selectors> {
|
|
1541
1530
|
}
|
|
1542
1531
|
|
|
1543
1532
|
export interface LabelPosition {
|
|
@@ -4312,9 +4301,17 @@ export declare namespace layout {
|
|
|
4312
4301
|
angle: number;
|
|
4313
4302
|
};
|
|
4314
4303
|
|
|
4315
|
-
export
|
|
4304
|
+
export interface LayoutOptions {
|
|
4305
|
+
[key: string]: any;
|
|
4306
|
+
}
|
|
4307
|
+
|
|
4308
|
+
export type LayoutFunction<T = LayoutOptions> = (
|
|
4309
|
+
portsArgs: Array<T>,
|
|
4310
|
+
elBBox: g.Rect,
|
|
4311
|
+
portGroupArgs: LayoutOptions
|
|
4312
|
+
) => Array<Partial<Transformation>>;
|
|
4316
4313
|
|
|
4317
|
-
export interface Options {
|
|
4314
|
+
export interface Options extends LayoutOptions {
|
|
4318
4315
|
x?: number | string;
|
|
4319
4316
|
y?: number | string;
|
|
4320
4317
|
dx?: number;
|
|
@@ -4325,19 +4322,20 @@ export declare namespace layout {
|
|
|
4325
4322
|
startAngle?: number;
|
|
4326
4323
|
step?: number;
|
|
4327
4324
|
compensateRotation?: boolean;
|
|
4328
|
-
[key: string]: any;
|
|
4329
4325
|
}
|
|
4330
4326
|
|
|
4331
|
-
|
|
4327
|
+
/** @todo define Options types per-layout */
|
|
4328
|
+
var absolute: LayoutFunction<Options>;
|
|
4329
|
+
var line: LayoutFunction<Options>;
|
|
4330
|
+
var left: LayoutFunction<Options>;
|
|
4331
|
+
var right: LayoutFunction<Options>;
|
|
4332
|
+
var top: LayoutFunction<Options>;
|
|
4333
|
+
var bottom: LayoutFunction<Options>;
|
|
4334
|
+
var ellipseSpread: LayoutFunction<Options>;
|
|
4335
|
+
var ellipse: LayoutFunction<Options>;
|
|
4336
|
+
|
|
4332
4337
|
/** @deprecated */
|
|
4333
|
-
var fn: LayoutFunction
|
|
4334
|
-
var line: LayoutFunction;
|
|
4335
|
-
var left: LayoutFunction;
|
|
4336
|
-
var right: LayoutFunction;
|
|
4337
|
-
var top: LayoutFunction;
|
|
4338
|
-
var bottom: LayoutFunction;
|
|
4339
|
-
var ellipseSpread: LayoutFunction;
|
|
4340
|
-
var ellipse: LayoutFunction;
|
|
4338
|
+
var fn: LayoutFunction<Options>;
|
|
4341
4339
|
}
|
|
4342
4340
|
|
|
4343
4341
|
export namespace PortLabel {
|
|
@@ -5247,6 +5245,11 @@ export declare namespace mvc {
|
|
|
5247
5245
|
|
|
5248
5246
|
declare type NativeEvent = Event;
|
|
5249
5247
|
|
|
5248
|
+
/**
|
|
5249
|
+
* A type that makes all properties of T nullable.
|
|
5250
|
+
*/
|
|
5251
|
+
declare type Nullable<T> = { [K in keyof T]: T[K] | null };
|
|
5252
|
+
|
|
5250
5253
|
export declare namespace routers {
|
|
5251
5254
|
|
|
5252
5255
|
export interface NormalRouterArguments {
|
|
@@ -5354,43 +5357,43 @@ export declare function setTheme(theme: string): void;
|
|
|
5354
5357
|
export declare namespace shapes {
|
|
5355
5358
|
|
|
5356
5359
|
export interface SVGTextSelector extends dia.Cell.Selectors {
|
|
5357
|
-
text?: attributes.SVGTextAttributes
|
|
5360
|
+
text?: Nullable<attributes.SVGTextAttributes>;
|
|
5358
5361
|
}
|
|
5359
5362
|
|
|
5360
5363
|
export interface SVGRectSelector extends dia.Cell.Selectors {
|
|
5361
|
-
rect?: attributes.SVGRectAttributes
|
|
5364
|
+
rect?: Nullable<attributes.SVGRectAttributes>;
|
|
5362
5365
|
}
|
|
5363
5366
|
|
|
5364
5367
|
export interface SVGCircleSelector extends dia.Cell.Selectors {
|
|
5365
|
-
circle?: attributes.SVGCircleAttributes
|
|
5368
|
+
circle?: Nullable<attributes.SVGCircleAttributes>;
|
|
5366
5369
|
}
|
|
5367
5370
|
|
|
5368
5371
|
export interface SVGEllipseSelector extends dia.Cell.Selectors {
|
|
5369
|
-
ellipse?: attributes.SVGEllipseAttributes
|
|
5372
|
+
ellipse?: Nullable<attributes.SVGEllipseAttributes>;
|
|
5370
5373
|
}
|
|
5371
5374
|
|
|
5372
5375
|
export interface SVGPolygonSelector extends dia.Cell.Selectors {
|
|
5373
|
-
polygon?: attributes.SVGPolygonAttributes
|
|
5376
|
+
polygon?: Nullable<attributes.SVGPolygonAttributes>;
|
|
5374
5377
|
}
|
|
5375
5378
|
|
|
5376
5379
|
export interface SVGPolylineSelector extends dia.Cell.Selectors {
|
|
5377
|
-
polyline?: attributes.SVGPolylineAttributes
|
|
5380
|
+
polyline?: Nullable<attributes.SVGPolylineAttributes>;
|
|
5378
5381
|
}
|
|
5379
5382
|
|
|
5380
5383
|
export interface SVGImageSelector extends dia.Cell.Selectors {
|
|
5381
|
-
image?: attributes.SVGImageAttributes
|
|
5384
|
+
image?: Nullable<attributes.SVGImageAttributes>;
|
|
5382
5385
|
}
|
|
5383
5386
|
|
|
5384
5387
|
export interface SVGPathSelector extends dia.Cell.Selectors {
|
|
5385
|
-
path?: attributes.SVGPathAttributes
|
|
5388
|
+
path?: Nullable<attributes.SVGPathAttributes>;
|
|
5386
5389
|
}
|
|
5387
5390
|
|
|
5388
5391
|
export namespace standard {
|
|
5389
5392
|
|
|
5390
5393
|
export interface RectangleSelectors extends dia.Cell.Selectors {
|
|
5391
|
-
root?: attributes.SVGAttributes
|
|
5392
|
-
body?: attributes.SVGRectAttributes
|
|
5393
|
-
label?: attributes.SVGTextAttributes
|
|
5394
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5395
|
+
body?: Nullable<attributes.SVGRectAttributes>;
|
|
5396
|
+
label?: Nullable<attributes.SVGTextAttributes>;
|
|
5394
5397
|
}
|
|
5395
5398
|
|
|
5396
5399
|
export type RectangleAttributes = dia.Element.GenericAttributes<RectangleSelectors>;
|
|
@@ -5399,9 +5402,9 @@ export declare namespace shapes {
|
|
|
5399
5402
|
}
|
|
5400
5403
|
|
|
5401
5404
|
export interface CircleSelectors extends dia.Cell.Selectors {
|
|
5402
|
-
root?: attributes.SVGAttributes
|
|
5403
|
-
body?: attributes.SVGCircleAttributes
|
|
5404
|
-
label?: attributes.SVGTextAttributes
|
|
5405
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5406
|
+
body?: Nullable<attributes.SVGCircleAttributes>;
|
|
5407
|
+
label?: Nullable<attributes.SVGTextAttributes>;
|
|
5405
5408
|
}
|
|
5406
5409
|
|
|
5407
5410
|
export type CircleAttributes = dia.Element.GenericAttributes<CircleSelectors>;
|
|
@@ -5410,9 +5413,9 @@ export declare namespace shapes {
|
|
|
5410
5413
|
}
|
|
5411
5414
|
|
|
5412
5415
|
export interface EllipseSelectors extends dia.Cell.Selectors {
|
|
5413
|
-
root?: attributes.SVGAttributes
|
|
5414
|
-
body?: attributes.SVGEllipseAttributes
|
|
5415
|
-
label?: attributes.SVGTextAttributes
|
|
5416
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5417
|
+
body?: Nullable<attributes.SVGEllipseAttributes>;
|
|
5418
|
+
label?: Nullable<attributes.SVGTextAttributes>;
|
|
5416
5419
|
}
|
|
5417
5420
|
|
|
5418
5421
|
export type EllipseAttributes = dia.Element.GenericAttributes<EllipseSelectors>;
|
|
@@ -5421,9 +5424,9 @@ export declare namespace shapes {
|
|
|
5421
5424
|
}
|
|
5422
5425
|
|
|
5423
5426
|
export interface PathSelectors extends dia.Cell.Selectors {
|
|
5424
|
-
root?: attributes.SVGAttributes
|
|
5425
|
-
body?: attributes.SVGPathAttributes
|
|
5426
|
-
label?: attributes.SVGTextAttributes
|
|
5427
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5428
|
+
body?: Nullable<attributes.SVGPathAttributes>;
|
|
5429
|
+
label?: Nullable<attributes.SVGTextAttributes>;
|
|
5427
5430
|
}
|
|
5428
5431
|
|
|
5429
5432
|
export type PathAttributes = dia.Element.GenericAttributes<PathSelectors>;
|
|
@@ -5432,9 +5435,9 @@ export declare namespace shapes {
|
|
|
5432
5435
|
}
|
|
5433
5436
|
|
|
5434
5437
|
export interface PolygonSelectors extends dia.Cell.Selectors {
|
|
5435
|
-
root?: attributes.SVGAttributes
|
|
5436
|
-
body?: attributes.SVGPolygonAttributes
|
|
5437
|
-
label?: attributes.SVGTextAttributes
|
|
5438
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5439
|
+
body?: Nullable<attributes.SVGPolygonAttributes>;
|
|
5440
|
+
label?: Nullable<attributes.SVGTextAttributes>;
|
|
5438
5441
|
}
|
|
5439
5442
|
|
|
5440
5443
|
export type PolygonAttributes = dia.Element.GenericAttributes<PolygonSelectors>;
|
|
@@ -5443,9 +5446,9 @@ export declare namespace shapes {
|
|
|
5443
5446
|
}
|
|
5444
5447
|
|
|
5445
5448
|
export interface PolylineSelectors extends dia.Cell.Selectors {
|
|
5446
|
-
root?: attributes.SVGAttributes
|
|
5447
|
-
body?: attributes.SVGPolylineAttributes
|
|
5448
|
-
label?: attributes.SVGTextAttributes
|
|
5449
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5450
|
+
body?: Nullable<attributes.SVGPolylineAttributes>;
|
|
5451
|
+
label?: Nullable<attributes.SVGTextAttributes>;
|
|
5449
5452
|
}
|
|
5450
5453
|
|
|
5451
5454
|
export type PolylineAttributes = dia.Element.GenericAttributes<PolylineSelectors>;
|
|
@@ -5454,9 +5457,9 @@ export declare namespace shapes {
|
|
|
5454
5457
|
}
|
|
5455
5458
|
|
|
5456
5459
|
export interface ImageSelectors extends dia.Cell.Selectors {
|
|
5457
|
-
root?: attributes.SVGAttributes
|
|
5458
|
-
image?: attributes.SVGImageAttributes
|
|
5459
|
-
label?: attributes.SVGTextAttributes
|
|
5460
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5461
|
+
image?: Nullable<attributes.SVGImageAttributes>;
|
|
5462
|
+
label?: Nullable<attributes.SVGTextAttributes>;
|
|
5460
5463
|
}
|
|
5461
5464
|
|
|
5462
5465
|
export type ImageAttributes = dia.Element.GenericAttributes<ImageSelectors>;
|
|
@@ -5465,11 +5468,11 @@ export declare namespace shapes {
|
|
|
5465
5468
|
}
|
|
5466
5469
|
|
|
5467
5470
|
export interface BorderedImageSelectors extends dia.Cell.Selectors {
|
|
5468
|
-
root?: attributes.SVGAttributes
|
|
5469
|
-
border?: attributes.SVGRectAttributes
|
|
5470
|
-
background?: attributes.SVGRectAttributes
|
|
5471
|
-
image?: attributes.SVGImageAttributes
|
|
5472
|
-
label?: attributes.SVGTextAttributes
|
|
5471
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5472
|
+
border?: Nullable<attributes.SVGRectAttributes>;
|
|
5473
|
+
background?: Nullable<attributes.SVGRectAttributes>;
|
|
5474
|
+
image?: Nullable<attributes.SVGImageAttributes>;
|
|
5475
|
+
label?: Nullable<attributes.SVGTextAttributes>;
|
|
5473
5476
|
}
|
|
5474
5477
|
|
|
5475
5478
|
export type BorderedImageAttributes = dia.Element.GenericAttributes<BorderedImageSelectors>;
|
|
@@ -5478,10 +5481,10 @@ export declare namespace shapes {
|
|
|
5478
5481
|
}
|
|
5479
5482
|
|
|
5480
5483
|
export interface EmbeddedImageSelectors extends dia.Cell.Selectors {
|
|
5481
|
-
root?: attributes.SVGAttributes
|
|
5482
|
-
body?: attributes.SVGRectAttributes
|
|
5483
|
-
image?: attributes.SVGImageAttributes
|
|
5484
|
-
label?: attributes.SVGTextAttributes
|
|
5484
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5485
|
+
body?: Nullable<attributes.SVGRectAttributes>;
|
|
5486
|
+
image?: Nullable<attributes.SVGImageAttributes>;
|
|
5487
|
+
label?: Nullable<attributes.SVGTextAttributes>;
|
|
5485
5488
|
}
|
|
5486
5489
|
|
|
5487
5490
|
export type EmbeddedImageAttributes = dia.Element.GenericAttributes<EmbeddedImageSelectors>;
|
|
@@ -5490,11 +5493,11 @@ export declare namespace shapes {
|
|
|
5490
5493
|
}
|
|
5491
5494
|
|
|
5492
5495
|
export interface InscribedImageSelectors extends dia.Cell.Selectors {
|
|
5493
|
-
root?: attributes.SVGAttributes
|
|
5494
|
-
border?: attributes.SVGEllipseAttributes
|
|
5495
|
-
background?: attributes.SVGEllipseAttributes
|
|
5496
|
-
image?: attributes.SVGImageAttributes
|
|
5497
|
-
label?: attributes.SVGTextAttributes
|
|
5496
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5497
|
+
border?: Nullable<attributes.SVGEllipseAttributes>;
|
|
5498
|
+
background?: Nullable<attributes.SVGEllipseAttributes>;
|
|
5499
|
+
image?: Nullable<attributes.SVGImageAttributes>;
|
|
5500
|
+
label?: Nullable<attributes.SVGTextAttributes>;
|
|
5498
5501
|
}
|
|
5499
5502
|
|
|
5500
5503
|
export type InscribedImageAttributes = dia.Element.GenericAttributes<InscribedImageSelectors>;
|
|
@@ -5503,11 +5506,11 @@ export declare namespace shapes {
|
|
|
5503
5506
|
}
|
|
5504
5507
|
|
|
5505
5508
|
export interface HeaderedRectangleSelectors extends dia.Cell.Selectors {
|
|
5506
|
-
root?: attributes.SVGAttributes
|
|
5507
|
-
body?: attributes.SVGRectAttributes
|
|
5508
|
-
header?: attributes.SVGRectAttributes
|
|
5509
|
-
headerText?: attributes.SVGTextAttributes
|
|
5510
|
-
bodyText?: attributes.SVGTextAttributes
|
|
5509
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5510
|
+
body?: Nullable<attributes.SVGRectAttributes>;
|
|
5511
|
+
header?: Nullable<attributes.SVGRectAttributes>;
|
|
5512
|
+
headerText?: Nullable<attributes.SVGTextAttributes>;
|
|
5513
|
+
bodyText?: Nullable<attributes.SVGTextAttributes>;
|
|
5511
5514
|
}
|
|
5512
5515
|
|
|
5513
5516
|
export type HeaderedRectangleAttributes = dia.Element.GenericAttributes<HeaderedRectangleSelectors>;
|
|
@@ -5520,9 +5523,9 @@ export declare namespace shapes {
|
|
|
5520
5523
|
}
|
|
5521
5524
|
|
|
5522
5525
|
export interface CylinderSelectors extends dia.Cell.Selectors {
|
|
5523
|
-
root?: attributes.SVGAttributes
|
|
5526
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5524
5527
|
body?: CylinderBodyAttributes;
|
|
5525
|
-
top?: attributes.SVGEllipseAttributes
|
|
5528
|
+
top?: Nullable<attributes.SVGEllipseAttributes>;
|
|
5526
5529
|
}
|
|
5527
5530
|
|
|
5528
5531
|
export type CylinderAttributes = dia.Element.GenericAttributes<CylinderSelectors>;
|
|
@@ -5533,13 +5536,13 @@ export declare namespace shapes {
|
|
|
5533
5536
|
}
|
|
5534
5537
|
|
|
5535
5538
|
export interface TextBlockSelectors extends dia.Cell.Selectors {
|
|
5536
|
-
root?: attributes.SVGAttributes
|
|
5537
|
-
body?: attributes.SVGRectAttributes
|
|
5538
|
-
label?: {
|
|
5539
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5540
|
+
body?: Nullable<attributes.SVGRectAttributes>;
|
|
5541
|
+
label?: Nullable<{
|
|
5539
5542
|
text?: string;
|
|
5540
5543
|
style?: { [key: string]: any };
|
|
5541
5544
|
[key: string]: any;
|
|
5542
|
-
}
|
|
5545
|
+
}>;
|
|
5543
5546
|
}
|
|
5544
5547
|
|
|
5545
5548
|
export type TextBlockAttributes = dia.Element.GenericAttributes<TextBlockSelectors>;
|
|
@@ -5548,9 +5551,9 @@ export declare namespace shapes {
|
|
|
5548
5551
|
}
|
|
5549
5552
|
|
|
5550
5553
|
export interface LinkSelectors extends dia.Cell.Selectors {
|
|
5551
|
-
root?: attributes.SVGAttributes
|
|
5552
|
-
line?: attributes.SVGPathAttributes
|
|
5553
|
-
wrapper?: attributes.SVGPathAttributes
|
|
5554
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5555
|
+
line?: Nullable<attributes.SVGPathAttributes>;
|
|
5556
|
+
wrapper?: Nullable<attributes.SVGPathAttributes>;
|
|
5554
5557
|
}
|
|
5555
5558
|
|
|
5556
5559
|
export type LinkAttributes = dia.Link.GenericAttributes<LinkSelectors>;
|
|
@@ -5559,9 +5562,9 @@ export declare namespace shapes {
|
|
|
5559
5562
|
}
|
|
5560
5563
|
|
|
5561
5564
|
export interface DoubleLinkSelectors extends dia.Cell.Selectors {
|
|
5562
|
-
root?: attributes.SVGAttributes
|
|
5563
|
-
line?: attributes.SVGPathAttributes
|
|
5564
|
-
outline?: attributes.SVGPathAttributes
|
|
5565
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5566
|
+
line?: Nullable<attributes.SVGPathAttributes>;
|
|
5567
|
+
outline?: Nullable<attributes.SVGPathAttributes>;
|
|
5565
5568
|
}
|
|
5566
5569
|
|
|
5567
5570
|
export type DoubleLinkAttributes = dia.Link.GenericAttributes<DoubleLinkSelectors>;
|
|
@@ -5570,9 +5573,9 @@ export declare namespace shapes {
|
|
|
5570
5573
|
}
|
|
5571
5574
|
|
|
5572
5575
|
export interface ShadowLinkSelectors extends dia.Cell.Selectors {
|
|
5573
|
-
root?: attributes.SVGAttributes
|
|
5574
|
-
line?: attributes.SVGPathAttributes
|
|
5575
|
-
shadow?: attributes.SVGPathAttributes
|
|
5576
|
+
root?: Nullable<attributes.SVGAttributes>;
|
|
5577
|
+
line?: Nullable<attributes.SVGPathAttributes>;
|
|
5578
|
+
shadow?: Nullable<attributes.SVGPathAttributes>;
|
|
5576
5579
|
}
|
|
5577
5580
|
|
|
5578
5581
|
export type ShadowLinkAttributes = dia.Link.GenericAttributes<ShadowLinkSelectors>;
|
|
@@ -5580,52 +5583,6 @@ export declare namespace shapes {
|
|
|
5580
5583
|
export class ShadowLink extends dia.Link<ShadowLinkAttributes> {
|
|
5581
5584
|
}
|
|
5582
5585
|
}
|
|
5583
|
-
|
|
5584
|
-
export namespace devs {
|
|
5585
|
-
|
|
5586
|
-
export interface ModelSelectors extends dia.Cell.Selectors {
|
|
5587
|
-
'.label'?: attributes.SVGTextAttributes;
|
|
5588
|
-
'.body'?: attributes.SVGRectAttributes;
|
|
5589
|
-
}
|
|
5590
|
-
|
|
5591
|
-
export interface ModelAttributes extends dia.Element.GenericAttributes<ModelSelectors> {
|
|
5592
|
-
inPorts?: string[];
|
|
5593
|
-
outPorts?: string[];
|
|
5594
|
-
}
|
|
5595
|
-
|
|
5596
|
-
export class Model extends dia.Element {
|
|
5597
|
-
|
|
5598
|
-
constructor(attributes?: ModelAttributes, opt?: { [key: string]: any });
|
|
5599
|
-
|
|
5600
|
-
changeInGroup(properties: any, opt?: any): boolean;
|
|
5601
|
-
|
|
5602
|
-
changeOutGroup(properties: any, opt?: any): boolean;
|
|
5603
|
-
|
|
5604
|
-
createPortItem(group: string, port: string): any;
|
|
5605
|
-
|
|
5606
|
-
createPortItems(group: string, ports: string[]): any[];
|
|
5607
|
-
|
|
5608
|
-
addOutPort(port: string, opt?: any): this;
|
|
5609
|
-
|
|
5610
|
-
addInPort(port: string, opt?: any): this;
|
|
5611
|
-
|
|
5612
|
-
removeOutPort(port: string, opt?: any): this;
|
|
5613
|
-
|
|
5614
|
-
removeInPort(port: string, opt?: any): this;
|
|
5615
|
-
}
|
|
5616
|
-
|
|
5617
|
-
export class Coupled extends Model {
|
|
5618
|
-
|
|
5619
|
-
}
|
|
5620
|
-
|
|
5621
|
-
export class Atomic extends Model {
|
|
5622
|
-
|
|
5623
|
-
}
|
|
5624
|
-
|
|
5625
|
-
export class Link extends dia.Link {
|
|
5626
|
-
|
|
5627
|
-
}
|
|
5628
|
-
}
|
|
5629
5586
|
}
|
|
5630
5587
|
|
|
5631
5588
|
export declare namespace util {
|
package/dist/joint.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! JointJS v4.2.
|
|
1
|
+
/*! JointJS v4.2.1 (2025-11-20) - JavaScript diagramming library
|
|
2
2
|
|
|
3
3
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
4
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
@@ -39645,7 +39645,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
39645
39645
|
Remove: Remove
|
|
39646
39646
|
};
|
|
39647
39647
|
|
|
39648
|
-
var version = "4.2.
|
|
39648
|
+
var version = "4.2.1";
|
|
39649
39649
|
|
|
39650
39650
|
const Vectorizer = V;
|
|
39651
39651
|
const layout$1 = {
|