#NEWLINE# def render_ann( self , a ) : #NEWLINE# #INDENT# '\n        Used to render the annotation elements of the Graph.\n        ' #NEWLINE# annotation = Element ( 'a' , { #NEWLINE# #INDENT# 'as' : a . label , #NEWLINE# 'label' : a . label , #NEWLINE# 'ref' : a . element . id , #NEWLINE# 'xml:id' : a . id , #NEWLINE# #UNINDENT# } ) #NEWLINE# if a . features : #NEWLINE# #INDENT# annotation . append ( self . render_fs ( annotation . features ) ) #NEWLINE# #UNINDENT# return annotation