Ascii_tree

Dev tools

diagram generator

SHOW HN2019

79points
23comments
#597of 2,195 in 2019
Top 28%of 2019 by points

How HN took it

MixedNo clear lean

3 positive, 5 neutral or asking, 2 mixed, 2 critical, out of 12 comments about the project. Thread score +0.08.

Idea: 2 for, 1 againstDesign: 1 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Pleasing, beautiful tree output

    From 2 comments

Objections

  • ASCII art is outdated; Unicode box drawing would look better

    From 2 comments
    • I think that with all the unicodes lying around these days we can do a little nicer: ``` ┌───┐ ┌─────┤ 1 ├─────┐ │ └───┘ │ ┌─┴─┐ ┌─┴─┐ ┌─┤ 2 ├─┐ ┌─┤ 3 ├─┐ │ └───┘ │ │ └───┘ │…
      kps on HN
    • I wish ASCII art would just die. This still looks lousy to me, and now also reminds me that we're trying to draw diagrams by emulating 1980's-era technology. You don't see people…
      ken on HN
  • Output lacks centering and wraps in terminals for large trees

    From 2 comments
    • The lack of centering is itching my ocd.
      baalimago on HN
    • Honestly, I was hoping for something like the `tree` command. I've implemented that algorithm before, but it was painful and not portable. These trees are definitely cooler and…
      cbarrick on HN

Requests

  • Support Unicode box-drawing characters

    From 1 comment
    • I think that with all the unicodes lying around these days we can do a little nicer: ``` ┌───┐ ┌─────┤ 1 ├─────┐ │ └───┘ │ ┌─┴─┐ ┌─┴─┐ ┌─┤ 2 ├─┐ ┌─┤ 3 ├─┐ │ └───┘ │ │ └───┘ │…
      kps on HN
  • Output for ditaa or Markdeep

    From 2 comments
    • Cool! With some minor alterations you could add support for ditaa output [1]. That would allow you to convert the trees to PNGs. [1] http://ditaa.sourceforge.net/
      octopoc on HN
    • Cool! Maybe a useful feature request: make the output compatible with Markdeep? https://casual-effects.com/markdeep/ I tried Ascii_tree with this online Markdeep demo:…
      dahart on HN

Alternatives named

  • Unix tree command

    From 1 comment
    • Honestly, I was hoping for something like the `tree` command. I've implemented that algorithm before, but it was painful and not portable. These trees are definitely cooler and…
      cbarrick on HN
  • Graphviz DOT

    From 2 comments
    • Honestly, I was hoping for something like the `tree` command. I've implemented that algorithm before, but it was painful and not portable. These trees are definitely cooler and…
      cbarrick on HN
    • DOT is fantastic, and trivial to output, highly recommend it
      shpongled on HN
  • tree-graph-generator

    From 1 comment
    • I have a tool that does a similar thing: https://github.com/EFanZh/tree-graph-generator Demo: https://efanzh.org/tree-graph-generator/ But it doesn’t have a good front end yet.
      EFanZh on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/21042390)