near and grid makes connections draw as straight lines (Dagre/ELK)
It seems that when you use near or grid it changes the connection style of the lines, to be straight diagonal lines instead of the curvy (dagre) and orthogonal (elk). It would be nice if it was possible to retain the line style when using these methods.
Example (near): https://play.d2lang.com/?script=Sq1IzC3ISdXNy9fNS00s0jW0UqjmUlDISUxKzbFS8MtX8EtNLFIw5Krl4kJXaoRVqRGK0tTEIlRVqYlFXAoKEPGS_ALdosz0jBKQlpLEovTUEi4uLQVdOwUoBxAAAP__&layout=elk
example-no-near-1: {
label: No Near 1
}
example-no-near-2: {
label: No Near 2
}
example-near: {
label: Near
near: top-right
}
target
* -> target
Example (grid): https://play.d2lang.com/?script=Sq1IzC3ISdUtSUzKSbVSqOZSUEgvykzRLcovL7ZSMORSUMhJTErNsVIIASngUlBIzsjMSeGq5eKC6czLh2jWNYRoh6r3y4doAZuBW5MRdk1GyJpKEovSU0u4uLT0tBR07RSgXEAAAAD__w%3D%3D&layout=elk
example-table: {
grid-rows: 1
label: Table
child
}
example-no-table-1: {
label: No Table 1
child
}
example-no-table-2: {
label: No Table 2
child
}
target
*.* -> target
I have the same issue here!