Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

renderdag: box: option to pad between nodes from separate branches#1163

Open
thomasa88 wants to merge 3 commits intofacebook:main from
thomasa88:box-drawing-branch-spacing
Open

renderdag: box: option to pad between nodes from separate branches #1163
thomasa88 wants to merge 3 commits intofacebook:main from
thomasa88:box-drawing-branch-spacing

Conversation

@thomasa88
Copy link

@thomasa88 thomasa88 commented Dec 13, 2025
edited
Loading

Makes it easier to visually scan the branches and find the heads quickly.

Before:

│ │ │ o F some text message
│ ├───╯ that continues on the next line
│ │ │ o E some text message
│ ├───╯ that continues on the next line
│ │ o D some text message
│ │ │ that continues on the next line
│ │ o C some text message
│ │ │ that continues on the next line
│ o │ B some text message
│ ├─╯ that continues on the next line
│ o A some text message
├─╯ that continues on the next line

After:

│ │ │ o F some text message
│ ├───╯ that continues on the next line
│ │ │
│ │ │ o E some text message
│ ├───╯ that continues on the next line
│ │ │
│ │ o D some text message
│ │ │ that continues on the next line
│ │ o C some text message
│ │ │ that continues on the next line
│ │ │
│ o │ B some text message
│ ├─╯ that continues on the next line
│ o A some text message
├─╯ that continues on the next line

Makes it easier to visually scan the branches and find the heads quickly.
Before:
 │ │ │ o F some text message
 │ ├───╯ that continues on the next line
 │ │ │ o E some text message
 │ ├───╯ that continues on the next line
 │ │ o D some text message
 │ │ │ that continues on the next line
 │ │ o C some text message
 │ │ │ that continues on the next line
 │ o │ B some text message
 │ ├─╯ that continues on the next line
 │ o A some text message
 ├─╯ that continues on the next line
After:
 │ │ │ o F some text message
 │ ├───╯ that continues on the next line
 │ │ │
 │ │ │ o E some text message
 │ ├───╯ that continues on the next line
 │ │ │
 │ │ o D some text message
 │ │ │ that continues on the next line
 │ │ o C some text message
 │ │ │ that continues on the next line
 │ │ │
 │ o │ B some text message
 │ ├─╯ that continues on the next line
 │ o A some text message
 ├─╯ that continues on the next line
@thomasa88 thomasa88 force-pushed the box-drawing-branch-spacing branch from 90f5bb8 to f0d2cc3 Compare December 13, 2025 12:08
Copy link
Contributor

@thomasa88 has updated the pull request. You must reimport the pull request before landing.

Copy link

meta-codesync bot commented Dec 13, 2025

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this in D89118021. (Because this pull request was imported automatically, there will not be any future comments.)

Copy link
Contributor

@quark-zju quark-zju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

Copy link
Contributor

Sorry for the slow review. In your example it seems inconsistent that there are no spaces between (A, B), or (D, C) but there are spaces between (E, F), (B, C), and (D, E).

If you want more spaces, have you tried appending new lines \n to "that continues on the next line", or use the with_min_row_height(3) API?

Copy link
Contributor

@quark-zju quark-zju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

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

Reviewers

@quark-zju quark-zju quark-zju requested changes

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /