xtuml/tools.py
def render(self, node):
        '''
        Try to invoke a method matching the pattern *render_<type name>*, where
        <type name> is the name of the rendering *node*.
        '''
        name = 'render_' + type(node).__name__
        fn = getattr(self, name, self.default_render)
        return fn(node)
def render(self, node):
        '''
        Try to invoke a method matching the pattern *render_<type name>*, where
        <type name> is the name of the rendering *node*.
        '''
        name = 'render_' + type(node).__name__
        fn = getattr(self, name, self.default_render)
        return fn(node)
def render ( self , node ) : name = 'render_' + type ( node ) . __name__ fn = getattr ( self , name , self . default_render ) return fn ( node )
Try to invoke a method matching the pattern *render_<type name>*, where
        <type name> is the name of the rendering *node*.
Try to invoke a method matching the pattern * render_<type name > * where <type name > is the name of the rendering * node * .