We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
``Hi,
When using "straight" as EdgeStyle I'm getting following errors in my console.
<Svelvet id="my-canvas" {height} minimap={true} controls={true} on:connection={(e) => connectionCreated(e)} zoom={0.8} edgeStyle="straight" > {#each nodes as node (node.id)} <BaseNode nodeData={node} onAddNodeClicked={() => addNode(node.id)} /> {/each} </Svelvet>
The text was updated successfully, but these errors were encountered:
In ../components/Edge/Edge.svelte, line 129, changing:
$: if (!step || edgeKey === "cursor" || $edgeType === "bezier") { path = `M ${sourceX},${sourceY} ${!straight && controlPointString} ${targetX},${targetY}`; }
to:
$: if (!step || edgeKey === "cursor" || $edgeType === "bezier") { path = `M ${sourceX},${sourceY} ${!straight ? controlPointString : ''} ${targetX},${targetY}`; }
fixes it for me.
Sorry, something went wrong.
Can confirm this issue still persists in the latest version
No branches or pull requests
``Hi,
When using "straight" as EdgeStyle I'm getting following errors in my console.
The text was updated successfully, but these errors were encountered: