Socket
Socket
Sign inDemoInstall

parsegraph-layout

Package Overview
Dependencies
9
Maintainers
2
Versions
130
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.10 to 1.5.12

parsegraph-layout/dist/BasicLayoutNode.d.ts

20

parsegraph-layout/dist/LayoutNode.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc