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

Optionally render AssetGraph to GraphViz dot format #297

Merged
merged 2 commits into from
Dec 31, 2024

Conversation

alshdavid
Copy link
Contributor

@alshdavid alshdavid commented Dec 31, 2024

Trying to debug determinism bugs in v3, wrote a little renderer that converts the AssetGraph into GraphViz dot format.

export DEBUG_ASSET_GRAPH_DOT="./asset_graph.dot" 

#optional 
export DEBUG_ASSET_GRAPH_DOT_STYLE="true" 
export DEBUG_ASSET_GRAPH_DOT_SORT="true" 

npx atlaspack build

cat ./asset_graph.dot

@alshdavid alshdavid force-pushed the alsh/debug-asset-graph-dot branch 5 times, most recently from 547ec82 to 7d7d110 Compare December 31, 2024 04:27
@alshdavid alshdavid force-pushed the alsh/debug-asset-graph-dot branch from 7d7d110 to b661116 Compare December 31, 2024 04:31
Copy link
Contributor

@benjervis benjervis left a comment

Choose a reason for hiding this comment

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

.

@alshdavid alshdavid merged commit 43565ea into main Dec 31, 2024
17 checks passed
@alshdavid alshdavid deleted the alsh/debug-asset-graph-dot branch December 31, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants