File size: 462 Bytes
7516245
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from IPython.display import Image, display, Markdown

def display_workflow(workflow):
    """
    Display a workflow graph using IPython
    
    Args:
        workflow: The workflow to display
    """
    display(Image(workflow.get_graph().draw_mermaid_png()))

def display_blog(blog_content):
    """
    Display a blog as markdown using IPython
    
    Args:
        blog_content (str): Markdown content to display
    """
    display(Markdown(blog_content))