Skip to content

renderdag: emit link_line for same-column named parents#1

Merged
geraschenko merged 1 commit intomainfrom
anton/min_row_height_1
Apr 26, 2026
Merged

renderdag: emit link_line for same-column named parents#1
geraschenko merged 1 commit intomainfrom
anton/min_row_height_1

Conversation

@geraschenko
Copy link
Copy Markdown
Owner

Fixes facebook#1292. With min_row_height(1), connected and disconnected same-column adjacent nodes render identically, with no between connected nodes.

Before / After (box_drawing, min_row_height=1) for new BASIC_DISCONNECTED fixture (dag: "A B-C", heads ["A", "C"]):

Before:
o  C
o  B
o  A

After:
o  C
│
o  B
o  A

With `min_row_height(1)`, connected and disconnected same-column adjacent nodes render identically, with no `│` between connected nodes. See facebook#1292.

Before / After (box_drawing, min_row_height=1) for new `BASIC_DISCONNECTED` fixture (`dag: "A B-C"`, heads `["A", "C"]`):
```
Before:
o  C
o  B
o  A

After:
o  C
│
o  B
o  A
```
@geraschenko geraschenko merged commit a8f96e2 into main Apr 26, 2026
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.

renderdag: same-column connected nodes indistinguishable from disconnected ones with min_row_height=1

1 participant