@floegence/floe-webapp-core 0.85.1 → 0.86.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/components/graph/layout.js +83 -80
- package/dist/components/graph/packing.d.ts +4 -0
- package/dist/components/graph/packing.js +74 -0
- package/dist/components/graph/positions.d.ts +2 -0
- package/dist/components/graph/positions.js +139 -134
- package/dist/components/graph/types.d.ts +2 -0
- package/dist/components/ui/FloatingWindow.d.ts +2 -0
- package/dist/components/ui/FloatingWindow.js +218 -210
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -46,6 +46,8 @@ export interface GraphLayout {
|
|
|
46
46
|
bounds: GraphBounds;
|
|
47
47
|
}
|
|
48
48
|
export interface GraphLayoutOptions {
|
|
49
|
+
/** Desired width/height when packing disconnected objects, including group members. */
|
|
50
|
+
aspectRatio?: number;
|
|
49
51
|
/** Absolute world positions. Descendants move with their group. Invalid positions always fail. */
|
|
50
52
|
positions?: readonly (GraphPoint & {
|
|
51
53
|
nodeId: string;
|
|
@@ -8,6 +8,8 @@ export interface FloatingWindowProps {
|
|
|
8
8
|
onOpenChange: (open: boolean) => void;
|
|
9
9
|
/** Window title */
|
|
10
10
|
title?: string;
|
|
11
|
+
/** Decorative identity icon beside the title; excluded from the accessible name. */
|
|
12
|
+
titleIcon?: JSX.Element;
|
|
11
13
|
/** Compact actions at the right of the title bar, before the window controls. */
|
|
12
14
|
headerActions?: JSX.Element;
|
|
13
15
|
/** Window content */
|