src/stepfunctions/workflow/widgets/graph.py [166:177]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def show(self, portrait=True):
        if __IPYTHON_IMPORTED__ is False:
            logger.error("IPython failed to import. Widgets/graphs cannot be visualized.")
            return ""
        if portrait is False:
            self.layout = 'LR'
        else:
            self.layout = 'TB'

        return HTML(self.template.substitute({
            'element_id': self.element_id,
            'definition': self.json_definition,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/stepfunctions/workflow/widgets/graph.py [196:207]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def show(self, portrait=True):
        if __IPYTHON_IMPORTED__ is False:
            logger.error("IPython failed to import. Widgets/graphs cannot be visualized.")
            return ""
        if portrait is False:
            self.layout = 'LR'
        else:
            self.layout = 'TB'

        return HTML(self.template.substitute({
            'element_id': self.element_id,
            'definition': self.json_definition,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



