Using yfiles-jupyter-graphs-for-neo4j on panel

I was working on building a dashboard using jupyter notebook. I am using yfiles-jupyter-graphs-for-neo4j to display graphs. This works fine on the Jupyter Notebook, but does anyone know how to make this servable using a panel for the dashboard?

with driver.session() as session:
        result = session.run(query)
        # Convert result to a Neo4j graph object
        graph = result.graph()
    
    # Initialize the GraphWidget with the graph data
    graph_widget = GraphWidget(graph=graph)

    layout = pn.Column(
        "# Neo4j Graph Visualization",
        graph_widget
    )
layout.servable()