yesworkflow-org/yw

Control format of YW annotation outlines

Closed this issue · 2 comments

As a user I want to be able control the layout of YW annotations in outlines of my script produced by YW.

I should be able to:

  • Choose to output qualifying annotations (@desc, @as, @uri, etc) on the same line as the primary annotations they qualify. For example:
@begin my block @description of my block
@in p @desc my input port
@end
  • Alternatively choose to output qualifying annotations on succeeding lines, with or without indenting. for example:
@begin my block 
  @description of my block
@in p 
  @desc my input port
@end
  • Or finally, output each annotation on a particular block on separate lines without indenting:
@begin my block 
@description of my block
@in p 
@desc my input port
@end

Commit cc00382 closes this issue.