@@ -147,7 +147,7 @@ where
147147 let mut message_lines = pad_lines ( line. message . lines ( ) , self . options . min_row_height ) ;
148148 let mut need_extra_pad_line = false ;
149149
150- // Construct the nodeline
150+ // Construct the nodeline, which has the graph node symbol
151151 let mut node_line = String :: new ( ) ;
152152 let mut node_column = None ;
153153 for ( i, entry) in line. node_line . iter ( ) . enumerate ( ) {
@@ -187,7 +187,7 @@ where
187187
188188 let mut next_node_is_other_branch = false ;
189189
190- // Render the link line
190+ // Render the link line, to show branches and merges
191191 #[ allow( clippy:: if_same_then_else) ]
192192 if let Some ( link_row) = line. link_line {
193193 let mut link_line = String :: new ( ) ;
@@ -278,7 +278,7 @@ where
278278 out. push ( '\n' ) ;
279279 }
280280
281- // Render the term line
281+ // Render any term line, to indicate terminated branches
282282 if let Some ( term_row) = line. term_line {
283283 let term_strs = [ glyphs[ glyph:: PARENT ] , glyphs[ glyph:: TERMINATION ] ] ;
284284 for term_str in term_strs. iter ( ) {
@@ -305,7 +305,7 @@ where
305305 base_pad_line. push_str ( glyphs[ entry. to_glyph ( ) ] ) ;
306306 }
307307
308- // Render any pad lines
308+ // Render any pad lines, to fit multi-line messages
309309 for msg in message_lines {
310310 let mut pad_line = base_pad_line. clone ( ) ;
311311 pad_line. push ( ' ' ) ;
0 commit comments