@g1cloud/bpmn-modeler-next 5.0.0-alpha.64 → 5.0.0-alpha.65
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/agent/resolver/index.d.ts +1 -1
- package/dist/agent/resolver/routeRepair.d.ts +20 -0
- package/dist/bpmn-modeler.js +5088 -5034
- package/dist/bpmn-modeler.umd.cjs +60 -60
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ export type { DocumentIndex, ElementCategory } from './documentIndex';
|
|
|
8
8
|
export { buildRegistryIndex } from './documentIndex';
|
|
9
9
|
export { validateOps } from './validate';
|
|
10
10
|
export { lowerOps, resolverServicesOf, type ResolverServices } from './lower';
|
|
11
|
-
export { forwardThreePointCandidates, planCrossPoolRoute, planEdgeRepair, planLabelLineClearance, planLabelPlacement, planMiddleSegmentShifts, planOppositeOverlapRepair, planSegmentDetours, planBackEdgeBoundaryClearance, repairIntroducedBoundaryHugging, repairIntroducedCrossings, repairIntroducedFakeMerges, repairIntroducedOppositeOverlaps, repairIntroducedSharedSegmentLabels, repairIntroducedLabelLines, repairIntroducedShapeLabelLines, planShapeLabelClearance, rerouteIntroducedCrossPoolEdges, } from './routeRepair';
|
|
11
|
+
export { forwardThreePointCandidates, planCrossPoolRoute, planEdgeRepair, planLabelLineClearance, planLabelPlacement, planMiddleSegmentShifts, planOppositeOverlapRepair, planSegmentDetours, planBackEdgeBoundaryClearance, repairIntroducedBoundaryHugging, repairIntroducedCrossings, repairIntroducedEdgeCrossings, repairIntroducedFakeMerges, repairIntroducedOppositeOverlaps, repairIntroducedSharedSegmentLabels, repairIntroducedLabelLines, repairIntroducedShapeLabelLines, planShapeLabelClearance, rerouteIntroducedCrossPoolEdges, } from './routeRepair';
|
|
12
12
|
export interface ApplyBpmnOpsResult {
|
|
13
13
|
ok: boolean;
|
|
14
14
|
issues: ResolveIssue[];
|
|
@@ -79,6 +79,26 @@ export declare function planEdgeRepair(edge: GeometryEdge, targets: readonly Geo
|
|
|
79
79
|
export declare function repairIntroducedCrossings(services: Pick<ResolverServices, 'elementRegistry' | 'modeling'>, beforeKeys: ReadonlySet<string>,
|
|
80
80
|
/** 2차 호출 전용 — 이 간선들만 본다(B-90. 1차가 돌려준 «주석 때문에 포기» 집합). */
|
|
81
81
|
only?: ReadonlySet<string>): Set<string>;
|
|
82
|
+
/**
|
|
83
|
+
* 🔴 **이 배치가 새로 만든 간선 × 간선 교차 중 「대가 없이 없앨 수 있는 것」만 없앤다**(B-90 ⓑ).
|
|
84
|
+
*
|
|
85
|
+
* 🔴 **판별자를 찾는 축이 아니다 — 다섯 번 무너진 뒤의 결론이다.** 「어떤 교차가 결함인가」를 정적
|
|
86
|
+
* 술어로 가르려 했으나 구성(solid/dashed) · 직선강제 · 풀횡단 · 다중교차 · 회피가능이 전부 기각됐다.
|
|
87
|
+
* 실측이 말한 것은 **회차가 판단을 지배한다**는 것이다(같은 성질의 교차를 g29 는 전부 남기고 g30 은
|
|
88
|
+
* 전부 없앴다). ⇒ 묻지 않는다. **계산이 곧 판별이다** — 라우팅만으로 대가 없이 없앨 수 있으면 없애고,
|
|
89
|
+
* 아니면 그대로 둔다(B-9 "확신 없는 자동 수정보다 정직한 미해결"과 같은 자세).
|
|
90
|
+
*
|
|
91
|
+
* **범위**(N158 — 발동과 함께 정한다):
|
|
92
|
+
* - **이 배치가 만든 교차만**(`beforePairs` 에 없는 쌍). 기존 문서의 교차는 사람이 수용한 것일 수
|
|
93
|
+
* 있고 건드리면 교란이다(확정 7 ③).
|
|
94
|
+
* - **이 배치가 만든 간선만 움직인다**(`beforeEdgeIds` 밖). 남의 경로를 바꾸면 같은 이유로 교란이다.
|
|
95
|
+
* ⚠ 이 제한이 사정권을 줄인다 — 실측(6회차 introduced 30건) = 양쪽 허용이면 9, **신규만이면 6**.
|
|
96
|
+
* 그러나 그 **6 은 전부 사람이 실제로 없앤 것**이고 **사람이 남긴 것은 0** 이다(오탐 0).
|
|
97
|
+
*
|
|
98
|
+
* **대가 판정** — 이 쌍이 사라지고 · 도형 관통이 늘지 않고 · **다른 간선과 새 교차가 0** 이고 ·
|
|
99
|
+
* 읽을 수 없는 중첩이 늘지 않을 때만 채택(🔁 「채택 조건에 대가가 없다」 클래스를 미리 막는다).
|
|
100
|
+
*/
|
|
101
|
+
export declare function repairIntroducedEdgeCrossings(services: Pick<ResolverServices, 'elementRegistry' | 'modeling'>, beforePairs: ReadonlySet<string>, beforeEdgeIds: ReadonlySet<string>): void;
|
|
82
102
|
/**
|
|
83
103
|
* 풀 횡단 메시지플로우의 6점 경로 계획(순수). `null` = 이 간선은 대상이 아니거나(중간 풀 없음 ·
|
|
84
104
|
* 끝점 해소 불가) 더 나은 열이 없다.
|