Skip to content

phantom edge - #1120

Closed
gavin-ts wants to merge 3 commits into
d2lang:masterfrom
gavin-ts:phantom-edge
Closed

phantom edge#1120
gavin-ts wants to merge 3 commits into
d2lang:masterfrom
gavin-ts:phantom-edge

Conversation

@gavin-ts

@gavin-ts gavin-ts commented Mar 31, 2023

Copy link
Copy Markdown
Contributor

option for #724, #949

to prevent db1 -- db2 edge affecting dagre layout

Screen Shot 2023-03-31 at 2 43 58 PM

adding phantom

app -> db1: w
app -> db2: r
db1 -- db2: {
	phantom: true
}

dagre layout without phantom edge + straight edge added in after

Screen Shot 2023-03-31 at 2 43 13 PM

@gavin-ts

Copy link
Copy Markdown
Contributor Author

not an ideal solution, edge only has straight line routing and will go over any other nodes in the way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant