parsegraph-layout
Advanced tools
Comparing version 1.5.10 to 1.5.12
import Rect from "parsegraph-rect"; | ||
import Size from "parsegraph-size"; | ||
import Extent from "parsegraph-extent"; | ||
import Direction, { NeighborData, DirectionNode } from "parsegraph-direction"; | ||
import Direction, { NeighborData, DirectionNode, Axis } from "parsegraph-direction"; | ||
import Fit from "./Fit"; | ||
@@ -20,4 +20,3 @@ import AxisOverlap from "./AxisOverlap"; | ||
} | ||
export default class LayoutNode extends DirectionNode { | ||
_style: object; | ||
export default abstract class LayoutNode extends DirectionNode { | ||
_rightToLeft: boolean; | ||
@@ -37,2 +36,7 @@ _scale: number; | ||
constructor(fromNode?: LayoutNode, parentDirection?: Direction); | ||
abstract size(bodySize?: Size): Size; | ||
abstract getSeparation(axis: Axis, dir: Direction): number; | ||
innerSeparation(dir: Direction): number; | ||
horizontalSeparation(dir: Direction): number; | ||
verticalSeparation(dir: Direction): number; | ||
parentNeighbor(): TypedNeighborData; | ||
@@ -62,3 +66,2 @@ createNeighborData(inDirection: Direction): NeighborData; | ||
setNodeFit(nodeFit: Fit): void; | ||
supportsDirection(_: Direction): boolean; | ||
invalidateLayout(): void; | ||
@@ -77,8 +80,4 @@ connectNode(inDirection: Direction, node: this): this; | ||
axisOverlap(inDirection?: Direction): AxisOverlap; | ||
blockStyle(): any; | ||
setBlockStyle(style: object): void; | ||
sizeIn(direction: Direction, bodySize?: Size): number; | ||
borderThickness(): number; | ||
absoluteSizeRect(rect?: Rect): Rect; | ||
size(bodySize?: Size): Size; | ||
absoluteSize(bodySize?: Size): Size; | ||
@@ -88,10 +87,5 @@ groupSize(bodySize?: Size): Size; | ||
ensureNeighbor(inDirection: Direction): TypedNeighborData; | ||
horizontalPadding(): number; | ||
verticalPadding(): number; | ||
verticalSeparation(_: Direction): number; | ||
horizontalSeparation(_: Direction): number; | ||
inNodeBody(x: number, y: number, userScale: number, bodySize?: Size): boolean; | ||
inNodeExtents(x: number, y: number, userScale: number, extentSize?: Size): boolean; | ||
nodeUnderCoords(x: number, y: number, userScale?: number): this; | ||
sizeWithoutPadding(size: Size): Size; | ||
separationAt(inDirection: Direction): number; | ||
@@ -98,0 +92,0 @@ dumpExtentBoundingRect(): void; |
@@ -11,3 +11,4 @@ import Alignment, { nameAlignment, readAlignment } from "./Alignment"; | ||
import checkExtentsEqual from "./checkExtentsEqual"; | ||
export { Alignment, nameAlignment, readAlignment, AxisOverlap, nameAxisOverlap, readAxisOverlap, BaseCommitLayoutData, CommitLayoutData, LINE_THICKNESS, Fit, nameFit, readFit, LayoutCaret, SHRINK_SCALE, LayoutNode, TypedNeighborData, AutocommitBehavior, setAutocommitBehavior, getAutocommitBehavior, LayoutNodePalette, style, checkExtentsEqual, }; | ||
import BasicLayoutNode from "./BasicLayoutNode"; | ||
export { Alignment, nameAlignment, readAlignment, AxisOverlap, nameAxisOverlap, readAxisOverlap, BaseCommitLayoutData, CommitLayoutData, LINE_THICKNESS, Fit, nameFit, readFit, LayoutCaret, SHRINK_SCALE, LayoutNode, TypedNeighborData, AutocommitBehavior, setAutocommitBehavior, getAutocommitBehavior, LayoutNodePalette, style, checkExtentsEqual, BasicLayoutNode }; | ||
//# sourceMappingURL=layout.d.ts.map |
{ | ||
"name": "parsegraph-layout", | ||
"version": "1.5.10", | ||
"version": "1.5.12", | ||
"description": "layout", | ||
@@ -18,3 +18,3 @@ "main": "dist/parsegraph-layout.js", | ||
"dependencies": { | ||
"parsegraph-direction": "^1.5.10", | ||
"parsegraph-direction": "^1.5.12", | ||
"parsegraph-extent": "^1.4.6", | ||
@@ -21,0 +21,0 @@ "parsegraph-rect": "^1.4.4", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
108364
30
312
0
Updatedparsegraph-direction@^1.5.12