pub fn generate_path(params: &HashMap<String, Value>) -> Result<Graph, String>Expand description
Generates a path graph.
§Parameters
nodes(int, required): Number of nodes in the path.prefix(string, optional): Prefix for node IDs. Default: “n”.directed(bool, optional): If true, edges follow the path order. Default: false.