@floegence/floe-webapp-core 0.86.22 → 0.86.23

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.
@@ -1,3 +1,3 @@
1
1
  import type { GraphLayout, GraphLayoutOptions } from './types';
2
2
  /** Joint orthogonal routing through the final rectangular geometry. */
3
- export declare function routeGraphGeometry(layout: GraphLayout, options?: Pick<GraphLayoutOptions, 'edgeClearance'>): Promise<GraphLayout>;
3
+ export declare function routeGraphGeometry(layout: GraphLayout, options?: Pick<GraphLayoutOptions, 'edgeClearance' | 'routing'>): Promise<GraphLayout>;
@@ -46,6 +46,8 @@ export interface GraphLayout {
46
46
  bounds: GraphBounds;
47
47
  }
48
48
  export interface GraphLayoutOptions {
49
+ /** Keep topology for placement while deferring final paths to engine.route. Defaults to all. */
50
+ routing?: 'all' | 'none';
49
51
  /** Explicit packing of a group's direct children; independent of global direction and edges. */
50
52
  groupLayouts?: Readonly<Record<string, GraphGroupLayout>>;
51
53
  /** Clearance around routing obstacles in world units. Defaults to 4; never changes node geometry. */
@@ -74,6 +76,7 @@ export interface GraphLayoutOptions {
74
76
  position: GraphPoint;
75
77
  };
76
78
  }
79
+ export type GraphRoutingOptions = Pick<GraphLayoutOptions, 'edgeClearance'>;
77
80
  export interface GraphGroupLayout {
78
81
  /** Row fills left to right; column fills top to bottom. Omitted rules retain automatic layout. */
79
82
  flow: 'row' | 'column';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floegence/floe-webapp-core",
3
- "version": "0.86.22",
3
+ "version": "0.86.23",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",