pub fn gen_image<N: Clone, E: Clone>( graph: &ForceGraph<N, E>, settings: Option<Settings<N, E>>) -> Result<String, Box<dyn Error>>
Generate an image from a graph and a force.