feat: updates connector width defaults

This commit is contained in:
Mark Mankarious
2023-08-20 11:41:04 +01:00
parent 14a72c7b2e
commit af5c060900
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ export const ConnectorControls = ({ id }: Props) => {
marks
step={10}
min={10}
max={40}
max={30}
value={connector.width}
onChange={(e, newWidth) => {
onConnectorUpdated({ width: newWidth as number });

View File

@@ -27,7 +27,7 @@ interface ConnectorDefaults {
}
export const CONNECTOR_DEFAULTS: ConnectorDefaults = {
width: 20,
width: 10,
// The boundaries of the search area for the pathfinder algorithm
// is the grid that encompasses the two nodes + the offset below.
searchOffset: { x: 3, y: 3 },