NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #4378 most downloaded on pub.dev
A minimalistic ASCII Art Tree generator with multiple styles.
Latest stable
1.1.3
Last release 18 days ago
04 Nov 2026
Release timing varies
gaps range from 2 weeks to 3.1 years
Nearly every release is documented
notes for 11 of 11 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
11 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
sortByInputDependency is now stable: siblings tied by input dependency keep their insertion order (they were reversed). With expandSideBranches: true
sortByInputDependency is now stable: siblings tied by input dependency keep their insertion order (they were reversed). With expandSideBranches: true, tied side branches now render in insertion order (test golden updated).depth/shortestPathToRoot and an exact DFS maxDepth.Fixes GraphWalker maxDepth in DFS walks (a node reached again within maxDepth could be skipped), which affects side-branch expansion ( walkByNodes(exp
GraphWalker maxDepth in DFS walks (a node reached again within maxDepth could bewalkByNodes(expandSideBranches: ...)).Your coding agent can read these notes before it upgrades. Set up the MCP server →
graph_explorer: ^1.1.1, which fixes Graph.fromJson for non- String node values and Graph.toTree ignoring keyCast :
graph_explorer: ^1.1.1, which fixes Graph.fromJson for non-String node values and
Graph.toTree ignoring keyCast:
Maps: the lookup-by-node workaround map class was removed.Graph.toASCIIArtTree now uses Graph.toTree.generate: the styles now rewrite only the tree structure of each line, never the labels:
├, ╚─, ═┬─, ...) were altered byelegant style.dots and spaces dropped a root label up to its first space (my dir rendereddir), and a root's pathInfoProvider info replaced the root label.dots and spaces threw a StateError for a tree with only a blank root.hideReferences, a connector before hidden references at the end of a tree├ instead of └).Removed the unused collection dependency.
Tests: golden outputs for every style (wide, deep, multi-root, unicode, special
characters), path delimiters, JSON round-trips and CLI end-to-end. Line coverage: 100%.
graph_explorer: ^1.1.1
Fix: on current Dart runtimes every tree was rendered as just its root node.
Fix: on current Dart runtimes every tree was rendered as just its root node.
Graph.fromJson looks up each node's JSON entry by node value, and the runtime
compares map keys using the stored String key's ==, so the lookup never matched.New public ASCIIArtTreeNode: the node value type of ASCIIArtTree.graph
(previously private while exposed by graph and ASCIIArtTree.fromGraph).
hashCode is now consistent with == (both use graphKey).Graph.toASCIIArtTree: fix keyCast being ignored.
CLI:
.json files.--from-json and --to-json; errors go to stderr.Improved test coverage: all styles, edge cases, graphs, side branches and the CLI.
sdk: ^3.13.0
path: ^1.9.1
collection: ^1.19.1
graph_explorer: ^1.1.0
lints: ^6.1.0
dependency_validator: ^5.1.0
test: ^1.33.0
coverage: ^1.16.0
-ASCIIArtTree: - Using Graph as internal representation. - generate: - added parameter hideReferences and expandSideBranches. - Using GraphWalker.
Merge v1.0.6 (graph_walker)
-`ASCIIArtTree`:
- Using `Graph` as internal representation.
- `generate`:
- added parameter `hideReferences` and `expandSideBranches`.
- Using `GraphWalker`.
- graph_explorer: ^1.0.1
- ASCIIArtTree: - Added field pathDelimiter. - Added allowGraphs: support for graphs in the "tree". - Added totalRoots, roots, totalLeaves and leaves.
Merge v1.0.5 (allow graphs)
- `ASCIIArtTree`:
- Added field `pathDelimiter`.
- Added `allowGraphs`: support for graphs in the "tree".
- Added `totalRoots`, `roots`, `totalLeaves` and `leaves`.
- Fix `totalNodes` for graphs.
- `_buildTree`: remove recursion to avoid stack overflow and allow big trees.
- `toJson`: remove recursion and handles graphs.
- collection: ^1.17.0
Added pathInfoProvider, to allow extra info for each tree entry.
ASCIIArtTree:
pathInfoProvider, to allow extra info for each tree entry.generate: add parameters indent and trim.- Expose CLI. - ASCIIArtTree: - Not final fields: stripPrefix, stripSuffix and style.
v1.0.3
- Expose CLI.
- `ASCIIArtTree`:
- Not final fields: `stripPrefix`, `stripSuffix` and `style`.
- Fix example file name. - Improved documentation.
v1.0.2
- Fix example file name.
- Improved documentation.
Added totalLeafs and totalNodes.
ASCIIArtTree:
totalLeafs and totalNodes.- Initial version.
One column per quarter.