Example #1
0
 def _as_graphviz_node(self):
     from abjad.tools import documentationtools
     node = Component._as_graphviz_node(self)
     node[0].append(
         documentationtools.GraphvizTableRow([
             documentationtools.GraphvizTableCell(
                 label=type(self).__name__,
                 attributes={'border': 0},
             ),
         ]))
     return node
Example #2
0
 def _as_graphviz_node(self):
     from abjad.tools import documentationtools
     node = Component._as_graphviz_node(self)
     node[0].append(
         documentationtools.GraphvizTableRow([
             documentationtools.GraphvizTableCell(
                 label=type(self).__name__,
                 attributes={'border': 0},
                 ),
             ])
         )
     return node
Example #3
0
 def _as_graphviz_node(self):
     from abjad.tools import documentationtools
     lilypond_format = self._compact_representation
     lilypond_format = lilypond_format.replace('<', '&lt;')
     lilypond_format = lilypond_format.replace('>', '&gt;')
     node = Component._as_graphviz_node(self)
     node[0].extend([
         documentationtools.GraphvizTableRow([
             documentationtools.GraphvizTableCell(
                 label=type(self).__name__,
                 attributes={'border': 0},
                 ),
             ]),
         documentationtools.GraphvizTableHorizontalRule(),
         documentationtools.GraphvizTableRow([
             documentationtools.GraphvizTableCell(
                 label=lilypond_format,
                 attributes={'border': 0},
                 ),
             ]),
         ])
     return node
Example #4
0
File: Leaf.py Project: ajyoon/abjad
 def _as_graphviz_node(self):
     from abjad.tools import documentationtools
     lilypond_format = self._compact_representation
     lilypond_format = lilypond_format.replace('<', '&lt;')
     lilypond_format = lilypond_format.replace('>', '&gt;')
     node = Component._as_graphviz_node(self)
     node[0].extend([
         documentationtools.GraphvizTableRow([
             documentationtools.GraphvizTableCell(
                 label=type(self).__name__,
                 attributes={'border': 0},
                 ),
             ]),
         documentationtools.GraphvizTableHorizontalRule(),
         documentationtools.GraphvizTableRow([
             documentationtools.GraphvizTableCell(
                 label=lilypond_format,
                 attributes={'border': 0},
                 ),
             ]),
         ])
     return node