File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,17 +30,6 @@ pub struct App {
3030 args : Args ,
3131}
3232
33- /// Tree-shaping options applied to a deserialized `--json-input` tree before visualization.
34- #[ derive( Clone , Copy ) ]
35- struct JsonInputShaping {
36- /// Maximum number of levels to display.
37- max_depth : u64 ,
38- /// Minimal size proportion required to appear.
39- min_ratio : f32 ,
40- /// Whether to preserve the input order of the entries.
41- no_sort : bool ,
42- }
43-
4433/// Geometry options that control how the chart is laid out.
4534#[ derive( Clone , Copy ) ]
4635struct ChartLayout {
@@ -52,6 +41,17 @@ struct ChartLayout {
5241 bar_alignment : BarAlignment ,
5342}
5443
44+ /// Tree-shaping options applied to a deserialized `--json-input` tree before visualization.
45+ #[ derive( Clone , Copy ) ]
46+ struct JsonInputShaping {
47+ /// Maximum number of levels to display.
48+ max_depth : u64 ,
49+ /// Minimal size proportion required to appear.
50+ min_ratio : f32 ,
51+ /// Whether to preserve the input order of the entries.
52+ no_sort : bool ,
53+ }
54+
5555impl App {
5656 /// Initialize the application from the environment.
5757 pub fn from_env ( ) -> Self {
You can’t perform that action at this time.
0 commit comments