graph

topleveltools.graph(argument, image_format='pdf', layout='dot', graph_attributes=None, node_attributes=None, edge_attributes=None, **keywords)

Graphs argument.

>>> import abjad

Graphs staff:

>>> staff = abjad.Staff("c'4 d' e' f'")
>>> graph(staff) 

Graphs rhythm tree:

>>> rtm_syntax = '(3 ((2 (2 1)) 2))'
>>> parser = abjad.rhythmtreetools.RhythmTreeParser()
>>> rhythm_tree = parser(rtm_syntax)[0]
>>> topleveltools.graph(rhythm_tree) 

Creates GraphViz object.

Opens image in default image viewer.

Returns none.