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