Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acii art renderer #2353

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

acii art renderer #2353

wants to merge 2 commits into from

Conversation

DrSensor
Copy link

@DrSensor DrSensor commented Feb 14, 2025

/claim #924
close #924

see docs/**.txt for the examples output

```fish
for f in docs/**.d2
  set -l dir (dirname $f)
  set -l name (basename $f .d2)
  if [ $name = "in" ]
      set name out
  end
  if [ $name = "input" ]
      set name output
  end
  go run main.go $f $dir/$name.txt
end
```
@DrSensor
Copy link
Author

DrSensor commented Feb 14, 2025

still quite big though 😅
maybe caused by default padding 🤔

let me know if you have some request

Copy link
Collaborator

@alixander alixander left a comment

Choose a reason for hiding this comment

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

Yeah these are too large. I'm looking for diagrams that can be inlined into code. There should be no padding too.

I'm not quite sure how that can be achieved, because the layout engine gives a certain layout with those long lengths of edges. Shortening those edges would lead to overlaps of objects/text. The bounty placed on the issue is reward for solving that problem.

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

Successfully merging this pull request may close these issues.

ascii art renderer
2 participants