Skip to main content

render

Function render 

Source
pub async fn render(
    graph_db: &dyn GraphDBTrait,
) -> Result<String, VisualizationError>
Expand description

Render the HTML visualization string for the supplied graph database, without writing it anywhere.

Useful when the caller wants to stream the HTML over HTTP, embed it into a larger page, or post-process it before persisting.