pub fn parse(src: &str) -> Result<GitGraph, Error>Expand description
Parse a gitGraph source string into a GitGraph.
§Errors
Error::ParseError— missinggitGraphheader,checkoutof an unknown branch,cherry-pickof an unknown commit id, or amergeof an unknown branch.