Skip to content

Commit

Permalink
Don't emit/use empty <symbols> (#33)
Browse files Browse the repository at this point in the history
* Don't output tile `<symbol>`s with no children, and don't `<use>` them
* Such symbols are still useful for spacing.
* For example, in `examples/grid-graph`, `ips_*_path.svg` reduced by 50%
  while `ips_example_*.svg` reduced by 78-82%.
  • Loading branch information
edemaine committed Sep 26, 2022
1 parent 81472e5 commit 7e7ca9e
Show file tree
Hide file tree
Showing 19 changed files with 35 additions and 13,279 deletions.
6 changes: 0 additions & 6 deletions examples/auto/grid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 0 additions & 19 deletions examples/chess/board-immortal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 0 additions & 17 deletions examples/chess/board-init.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 0 additions & 21 deletions examples/chess/board-kasparov-immortal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7e7ca9e

Please sign in to comment.