@weasel-js/diagram 1.15.2 → 1.16.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/layout.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { s as BodyFloor, B as BodySpec, k as Bounds, v as BuiltinOutline, x as DEFAULT_HOP_SIZE, y as DEFAULT_NODE_GAP, z as DEFAULT_RANK_GAP, e as DiagramNode, E as EdgeHop, J as EdgeLabelRoom, G as Graph, K as GraphEdge, N as GraphGroup, Q as GraphNode, T as GridOptions, V as HOPS_DOC_KEY, W as HopsDocValue, X as LayoutAxes, o as LayoutDirection, c as LayoutFn, d as LayoutOptions, p as LayoutPlan, n as LayoutPlanner, L as LayoutPorts, l as LayoutResult, M as MeasureRowText, O as Outline, Y as OutlineDef, f as Port, P as PortAnchor, Z as PortSite, b as PortSpec, a as Row, _ as RowBox, $ as RowPort, a0 as RowPortBox, R as RowTextStyle, a1 as Slot, a2 as anchorOffset, a3 as axesFor, a5 as bodyOutline, a7 as boxForContent, a9 as canvasMeasure, aa as contentBox, aE as extent, ag as graphOrder, ah as grid, al as layoutBody, am as layoutRowPorts, an as measureBody, ao as outlineDetail, ap as outlinePath, aq as outlineSolid, ar as packAcross, at as pinnedSet, au as planOf, av as plannerPlan, ax as registerOutline, ay as seededOrder, az as settle, aA as sizeToBody, aC as translated, aD as untilSettled } from './types-D5ybp8Xh.js';
2
- export { e as AVOID_DEFAULTS, f as AvoidEdge, g as AvoidEnd, A as AvoidInput, h as AvoidLabel, i as AvoidObstacle, b as AvoidOptions, j as AvoidPort, a as AvoidRouter, c as AvoidRoutes, k as AvoidUpdateOptions, B as BodyNodeSpec, l as BuildBodyOptions, C as COMPASS, D as DEFAULT_PORTS, m as ForceBody, F as ForceOptions, n as ForceRelaxation, L as LabelPlacements, p as LayeredPlan, q as PORT_LABEL_GAP, r as PerimeterPortLabelBox, s as PlaceLabel, t as PlaceLabelsInput, d as PlaceLabelsOptions, u as PlaceRoute, P as PortsOptions, R as RowNodeData, w as backEdges, x as buildBody, y as chain, z as createAvoidRouter, E as edgeHops, G as footprintNode, H as force, I as forceRelaxation, J as forestOf, K as labelCenter, M as layered, N as layeredPlan, O as marginOf, Q as outlineFromD, S as outlinePolyline, T as placeLabels, U as portLabelBox, W as portOf, X as portSitesOf, Y as portsOf, Z as portsOnOutline, _ as radial, $ as ranksByLength, a0 as ranksOf, a1 as rayHit, a2 as routeHolds, a3 as subtreeBlocks, a4 as tree } from './layout.entry-zstuljAl.js';
1
+ export { s as BodyFloor, B as BodySpec, k as Bounds, v as BuiltinOutline, x as DEFAULT_HOP_SIZE, y as DEFAULT_NODE_GAP, z as DEFAULT_RANK_GAP, e as DiagramNode, E as EdgeHop, J as EdgeLabelRoom, G as Graph, K as GraphEdge, N as GraphGroup, Q as GraphNode, T as GridOptions, V as HOPS_DOC_KEY, W as HopsDocValue, X as LayoutAxes, o as LayoutDirection, c as LayoutFn, d as LayoutOptions, p as LayoutPlan, n as LayoutPlanner, L as LayoutPorts, l as LayoutResult, M as MeasureRowText, O as Outline, Y as OutlineDef, f as Port, P as PortAnchor, Z as PortSite, b as PortSpec, R as Row, _ as RowBox, $ as RowPort, a0 as RowPortBox, a as RowTextStyle, a1 as Slot, a2 as anchorOffset, a3 as axesFor, a5 as bodyOutline, a7 as boxForContent, a9 as canvasMeasure, aa as contentBox, aE as extent, ag as graphOrder, ah as grid, al as layoutBody, am as layoutRowPorts, an as measureBody, ao as outlineDetail, ap as outlinePath, aq as outlineSolid, ar as packAcross, at as pinnedSet, au as planOf, av as plannerPlan, ax as registerOutline, ay as seededOrder, az as settle, aA as sizeToBody, aC as translated, aD as untilSettled } from './types-DtWfIUIv.js';
2
+ export { e as AVOID_DEFAULTS, f as AvoidEdge, g as AvoidEnd, A as AvoidInput, h as AvoidLabel, i as AvoidObstacle, b as AvoidOptions, j as AvoidPort, a as AvoidRouter, c as AvoidRoutes, k as AvoidUpdateOptions, B as BodyNodeSpec, l as BuildBodyOptions, C as COMPASS, D as DEFAULT_PORTS, m as ForceBody, F as ForceOptions, n as ForceRelaxation, L as LabelPlacements, p as LayeredPlan, q as PORT_LABEL_GAP, r as PerimeterPortLabelBox, s as PlaceLabel, t as PlaceLabelsInput, d as PlaceLabelsOptions, u as PlaceRoute, P as PortsOptions, R as RowNodeData, w as backEdges, x as buildBody, y as chain, z as createAvoidRouter, E as edgeHops, G as footprintNode, H as force, I as forceRelaxation, J as forestOf, K as labelCenter, M as layered, N as layeredPlan, O as marginOf, Q as outlineFromD, S as outlinePolyline, T as placeLabels, U as portLabelBox, W as portOf, X as portSitesOf, Y as portsOf, Z as portsOnOutline, _ as radial, $ as ranksByLength, a0 as ranksOf, a1 as rayHit, a2 as routeHolds, a3 as subtreeBlocks, a4 as tree } from './layout.entry-CXtCbLRi.js';
3
3
  export { D as DiagramLabel, L as LabelSpot } from './labelTrait-moIciyXr.js';
4
4
  import '@weasel-js/geom';
5
5
  import '@weasel-js/core/math';
@@ -1,4 +1,4 @@
1
- import { k as Bounds, Y as OutlineDef, b as PortSpec, f as Port, U as GroupInset, e as DiagramNode, M as MeasureRowText, _ as RowBox, a0 as RowPortBox, B as BodySpec, Q as GraphNode, h as DiagramNodeReader, g as DiagramNodeLike, E as EdgeHop, d as LayoutOptions, G as Graph, l as LayoutResult, c as LayoutFn, L as LayoutPorts, O as Outline } from './types-D5ybp8Xh.js';
1
+ import { k as Bounds, Y as OutlineDef, b as PortSpec, f as Port, U as GroupInset, e as DiagramNode, M as MeasureRowText, _ as RowBox, a0 as RowPortBox, B as BodySpec, Q as GraphNode, h as DiagramNodeReader, g as DiagramNodeLike, E as EdgeHop, d as LayoutOptions, G as Graph, l as LayoutResult, c as LayoutFn, L as LayoutPorts, O as Outline } from './types-DtWfIUIv.js';
2
2
  import { Vec2, PoseDescriptor, Path } from '@weasel-js/core/math';
3
3
  import { SimulationNode, createSimulation } from '@weasel-js/simulation';
4
4
  import { D as DiagramLabel, L as LabelSpot } from './labelTrait-moIciyXr.js';
package/dist/layout.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import './chunk-WDIE35AK.js';
2
- export { AVOID_DEFAULTS, DEFAULT_HOP_SIZE, HOPS_DOC_KEY, createAvoidRouter, edgeHops, placeLabels } from './chunk-FQVZWS24.js';
3
- export { COMPASS, DEFAULT_NODE_GAP, DEFAULT_PORTS, DEFAULT_RANK_GAP, PORT_LABEL_GAP, anchorOffset, axesFor, backEdges, bodyOutline, boxForContent, buildBody, canvasMeasure, chain, contentBox, extent, footprintNode, force, forceRelaxation, forestOf, graphOrder, grid, labelCenter, layered, layeredPlan, layoutBody, layoutRowPorts, marginOf, measureBody, outlineDetail, outlineFromD, outlinePath, outlinePolyline, outlineSolid, packAcross, pinnedSet, planOf, plannerPlan, portLabelBox, portOf, portSitesOf, portsOf, portsOnOutline, radial, ranksByLength, ranksOf, rayHit, registerOutline, routeHolds, seededOrder, settle, sizeToBody, subtreeBlocks, translated, tree, untilSettled } from './chunk-7BV2MBED.js';
2
+ export { AVOID_DEFAULTS, DEFAULT_HOP_SIZE, HOPS_DOC_KEY, createAvoidRouter, edgeHops, placeLabels } from './chunk-6S5QNNPB.js';
3
+ export { COMPASS, DEFAULT_NODE_GAP, DEFAULT_PORTS, DEFAULT_RANK_GAP, PORT_LABEL_GAP, anchorOffset, axesFor, backEdges, bodyOutline, boxForContent, buildBody, canvasMeasure, chain, contentBox, extent, footprintNode, force, forceRelaxation, forestOf, graphOrder, grid, labelCenter, layered, layeredPlan, layoutBody, layoutRowPorts, marginOf, measureBody, outlineDetail, outlineFromD, outlinePath, outlinePolyline, outlineSolid, packAcross, pinnedSet, planOf, plannerPlan, portLabelBox, portOf, portSitesOf, portsOf, portsOnOutline, radial, ranksByLength, ranksOf, rayHit, registerOutline, routeHolds, seededOrder, settle, sizeToBody, subtreeBlocks, translated, tree, untilSettled } from './chunk-6EPWNUHC.js';
4
4
  //# sourceMappingURL=layout.js.map
5
5
  //# sourceMappingURL=layout.js.map
@@ -880,4 +880,4 @@ interface EdgeHop {
880
880
  r: number;
881
881
  }
882
882
 
883
- export { type RowPort as $, DIAGRAM_TRAIT_KEY as A, type BodySpec as B, type ContainerRole as C, type DiagramGroup as D, type EdgeHop as E, type FontField as F, type Graph as G, DIVIDER_HEIGHT as H, type DiagramNodeEntry as I, type EdgeLabelRoom as J, type GraphEdge as K, type LayoutPorts as L, type MeasureRowText as M, type GraphGroup as N, type Outline as O, type PortAnchor as P, type GraphNode as Q, type RowTextStyle as R, type StyleField as S, type GridOptions as T, type GroupInset as U, HOPS_DOC_KEY as V, type HopsDocValue as W, type LayoutAxes as X, type OutlineDef as Y, type PortSite as Z, type RowBox as _, type Row as a, type RowPortBox as a0, type Slot as a1, anchorOffset as a2, axesFor as a3, bodyBox as a4, bodyOutline as a5, bodyTrait as a6, boxForContent as a7, buildGraph as a8, canvasMeasure as a9, sizeToBody as aA, titleIdOf as aB, translated as aC, untilSettled as aD, extent as aE, contentBox as aa, createDiagramNodes as ab, dataKeyReader as ac, diagramContainerOf as ad, diagramNodeOf as ae, expandGroupEdges as af, graphOrder as ag, grid as ah, headerBox as ai, insetOf as aj, isPinned as ak, layoutBody as al, layoutRowPorts as am, measureBody as an, outlineDetail as ao, outlinePath as ap, outlineSolid as aq, packAcross as ar, packClusters as as, pinnedSet as at, planOf as au, plannerPlan as av, rankGaps as aw, registerOutline as ax, seededOrder as ay, settle as az, type PortSpec as b, type LayoutFn as c, type LayoutOptions as d, type DiagramNode as e, type Port as f, type DiagramNodeLike as g, type DiagramNodeReader as h, type DiagramContainer as i, type ContainerHeader as j, type Bounds as k, type LayoutResult as l, type GraphSource as m, type LayoutPlanner as n, type LayoutDirection as o, type LayoutPlan as p, type GraphNodeLike as q, type BodyDivider as r, type BodyFloor as s, type BodyLayout as t, type BuildGraphOptions as u, type BuiltinOutline as v, DEFAULT_GROUP_INSET as w, DEFAULT_HOP_SIZE as x, DEFAULT_NODE_GAP as y, DEFAULT_RANK_GAP as z };
883
+ export { type RowPort as $, DIAGRAM_TRAIT_KEY as A, type BodySpec as B, type ContainerRole as C, type DiagramGroup as D, type EdgeHop as E, type FontField as F, type Graph as G, DIVIDER_HEIGHT as H, type DiagramNodeEntry as I, type EdgeLabelRoom as J, type GraphEdge as K, type LayoutPorts as L, type MeasureRowText as M, type GraphGroup as N, type Outline as O, type PortAnchor as P, type GraphNode as Q, type Row as R, type StyleField as S, type GridOptions as T, type GroupInset as U, HOPS_DOC_KEY as V, type HopsDocValue as W, type LayoutAxes as X, type OutlineDef as Y, type PortSite as Z, type RowBox as _, type RowTextStyle as a, type RowPortBox as a0, type Slot as a1, anchorOffset as a2, axesFor as a3, bodyBox as a4, bodyOutline as a5, bodyTrait as a6, boxForContent as a7, buildGraph as a8, canvasMeasure as a9, sizeToBody as aA, titleIdOf as aB, translated as aC, untilSettled as aD, extent as aE, contentBox as aa, createDiagramNodes as ab, dataKeyReader as ac, diagramContainerOf as ad, diagramNodeOf as ae, expandGroupEdges as af, graphOrder as ag, grid as ah, headerBox as ai, insetOf as aj, isPinned as ak, layoutBody as al, layoutRowPorts as am, measureBody as an, outlineDetail as ao, outlinePath as ap, outlineSolid as aq, packAcross as ar, packClusters as as, pinnedSet as at, planOf as au, plannerPlan as av, rankGaps as aw, registerOutline as ax, seededOrder as ay, settle as az, type PortSpec as b, type LayoutFn as c, type LayoutOptions as d, type DiagramNode as e, type Port as f, type DiagramNodeLike as g, type DiagramNodeReader as h, type DiagramContainer as i, type ContainerHeader as j, type Bounds as k, type LayoutResult as l, type GraphSource as m, type LayoutPlanner as n, type LayoutDirection as o, type LayoutPlan as p, type GraphNodeLike as q, type BodyDivider as r, type BodyFloor as s, type BodyLayout as t, type BuildGraphOptions as u, type BuiltinOutline as v, DEFAULT_GROUP_INSET as w, DEFAULT_HOP_SIZE as x, DEFAULT_NODE_GAP as y, DEFAULT_RANK_GAP as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weasel-js/diagram",
3
- "version": "1.15.2",
3
+ "version": "1.16.0",
4
4
  "description": "Node-link diagramming for weasel: any scene node becomes a diagram participant, with ports on its perimeter and an optional body builder for flowchart-shaped boxes.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -33,13 +33,13 @@
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": ">=18",
36
- "@weasel-js/animator": "1.15.2",
37
- "@weasel-js/audio": "1.15.2",
38
- "@weasel-js/core": "1.15.2",
39
- "@weasel-js/font": "1.15.2",
40
- "@weasel-js/geom": "1.15.2",
41
- "@weasel-js/react": "1.15.2",
42
- "@weasel-js/simulation": "1.15.2"
36
+ "@weasel-js/animator": "1.16.0",
37
+ "@weasel-js/audio": "1.16.0",
38
+ "@weasel-js/core": "1.16.0",
39
+ "@weasel-js/font": "1.16.0",
40
+ "@weasel-js/geom": "1.16.0",
41
+ "@weasel-js/react": "1.16.0",
42
+ "@weasel-js/simulation": "1.16.0"
43
43
  },
44
44
  "peerDependenciesMeta": {
45
45
  "@weasel-js/audio": {
@@ -50,10 +50,10 @@
50
50
  "table": "./dist/icons.table.json"
51
51
  },
52
52
  "dependencies": {
53
- "@weasel-js/clock": "1.15.2",
54
- "@weasel-js/ui-logic": "1.15.2",
55
- "@weasel-js/icons": "1.15.2",
56
- "@weasel-js/registry": "1.15.2"
53
+ "@weasel-js/clock": "1.16.0",
54
+ "@weasel-js/ui-logic": "1.16.0",
55
+ "@weasel-js/icons": "1.16.0",
56
+ "@weasel-js/registry": "1.16.0"
57
57
  },
58
58
  "author": "orochi235",
59
59
  "homepage": "https://orochi235.github.io/weasel/",