ballerina-lang icon indicating copy to clipboard operation
ballerina-lang copied to clipboard

[Improvement]: Output a readable dependency tree for `bal graph`

Open gayaldassanayake opened this issue 1 year ago • 2 comments
trafficstars

Description

The bal graph command outputs a digraph.

Describe your problem(s)

This is not directly readable from the CLI and the users have to use a digraph visualizer to view the dependency graph.

The related discord thread - https://discord.com/channels/957996897782616114/1248138627821600809

Describe your solution(s)

This can be improved by printing a readable dependency tree in the CLI. The mvn dependency tree does this.

image

The digraph can be printed if needed with a different flag.

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

gayaldassanayake avatar Jun 06 '24 06:06 gayaldassanayake