Live data from Hacker News

Show HN: Ascii_tree – A way to create beautiful ASCII trees

github.com

1–10 of 26 posts

Re: Show HN: Ascii_tree – A way to create beautiful ASCII trees

#4
I think that with all the unicodes lying around these days we can do a little nicer:

                ┌───┐
          ┌─────┤ 1 ├─────┐
          │     └───┘     │
        ┌─┴─┐           ┌─┴─┐
      ┌─┤ 2 ├─┐       ┌─┤ 3 ├─┐
      │ └───┘ │       │ └───┘ │
    ┌─┴─┐   ┌─┴─┐   ┌─┴─┐   ┌─┴─┐
    │ 4 │   │ 5 │   │ 6 │   │ 7 │
    └───┘   └───┘   └───┘   └───┘
(Better if the presentation doesn't lead beyond the font.)

Re: Show HN: Ascii_tree – A way to create beautiful ASCII trees

#5
post #4

I think that with all the unicodes lying around these days we can do a little nicer: ┌───┐ ┌─────┤ 1 ├─────┐ │ └───┘ │ ┌─┴─┐ ┌─┴─┐ ┌─┤ 2 ├─┐ ┌─┤ 3 ├─┐ │ └───┘ │ │ └───┘ │ ┌─┴─┐ ┌─┴─┐ ┌─┴─┐ ┌─┴─┐ │ 4 │ │ 5 │ │ 6 │ │ 7 │ └───┘ └───┘ └───┘ └───┘ (Better if the presentation doesn't lead beyond the font.)

Here's a good collection

https://en.wikipedia.org/wiki/Box-drawing_character

Re: Show HN: Ascii_tree – A way to create beautiful ASCII trees

#9
post #4

I think that with all the unicodes lying around these days we can do a little nicer: ┌───┐ ┌─────┤ 1 ├─────┐ │ └───┘ │ ┌─┴─┐ ┌─┴─┐ ┌─┤ 2 ├─┐ ┌─┤ 3 ├─┐ │ └───┘ │ │ └───┘ │ ┌─┴─┐ ┌─┴─┐ ┌─┴─┐ ┌─┴─┐ │ 4 │ │ 5 │ │ 6 │ │ 7 │ └───┘ └───┘ └───┘ └───┘ (Better if the presentation doesn't lead beyond the font.)

[deleted]

Re: Show HN: Ascii_tree – A way to create beautiful ASCII trees

#10
post #4

I think that with all the unicodes lying around these days we can do a little nicer: ┌───┐ ┌─────┤ 1 ├─────┐ │ └───┘ │ ┌─┴─┐ ┌─┴─┐ ┌─┤ 2 ├─┐ ┌─┤ 3 ├─┐ │ └───┘ │ │ └───┘ │ ┌─┴─┐ ┌─┴─┐ ┌─┴─┐ ┌─┴─┐ │ 4 │ │ 5 │ │ 6 │ │ 7 │ └───┘ └───┘ └───┘ └───┘ (Better if the presentation doesn't lead beyond the font.)

This is very pleasing to me.
Post reply on HN