Skip to content

Commit

Permalink
Merge branch 'new/simulator-fixes' into new/add-setters-and-getters
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexIchenskiy committed Mar 20, 2024
2 parents c9de1cf + 2361dd6 commit d802e50
Show file tree
Hide file tree
Showing 9 changed files with 257 additions and 181 deletions.
8 changes: 0 additions & 8 deletions docs/view-default.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ interface IOrbViewSettings {
zoomFitTransitionMs: number;
isOutOfBoundsDragEnabled: boolean;
areCoordinatesRounded: boolean;
isSimulationAnimated: boolean;
areCollapsedContainerDimensionsAllowed: boolean;
}
```
Expand Down Expand Up @@ -161,7 +160,6 @@ const defaultSettings = {
zoomFitTransitionMs: 200,
isOutOfBoundsDragEnabled: false,
areCoordinatesRounded: true,
isSimulationAnimated: true,
areCollapsedContainerDimensionsAllowed: false;
}
```
Expand Down Expand Up @@ -356,12 +354,6 @@ Disabled by default (`false`).

Rounds node coordinates to integer values. Slightly improves performance. Enabled by default (`true`).

### Property `isSimulationAnimated`

Shows the process of simulation where the nodes are moved by the physics engine until they
converge to a stable position. If disabled, the graph will suddenly appear in its final position.
Enabled by default (`true`).

### Property `areCollapsedContainerDimensionsAllowed`

Enables setting the dimensions of the Orb container element to zero.
Expand Down
Loading

0 comments on commit d802e50

Please sign in to comment.