@knowvah/dot-engine 1.5.0 → 1.6.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.
- package/dist/api/geometry.d.ts +16 -1
- package/dist/api/geometry.d.ts.map +1 -1
- package/dist/api.js +2 -0
- package/dist/api.js.map +2 -2
- package/dist/index.js +2 -0
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
- package/src/api/geometry.ts +17 -3
package/dist/index.js
CHANGED
|
@@ -53441,6 +53441,8 @@ function snapshotEdge(edge, flipY) {
|
|
|
53441
53441
|
if (tailLabel !== void 0) geom.tailLabel = tailLabel;
|
|
53442
53442
|
const headLabel = placedLabelPos(edge.info.head_label, flipY);
|
|
53443
53443
|
if (headLabel !== void 0) geom.headLabel = headLabel;
|
|
53444
|
+
const xlabel = placedLabelPos(edge.info.xlabel, flipY);
|
|
53445
|
+
if (xlabel !== void 0) geom.xlabel = xlabel;
|
|
53444
53446
|
const { sp, ep } = arrowAttachPoints(edge, flipY);
|
|
53445
53447
|
if (sp !== void 0) geom.sp = sp;
|
|
53446
53448
|
if (ep !== void 0) geom.ep = ep;
|