fletcher.parsing.parse-mark-shorthand()
Parse and interpret the marks argument provided to edge(). Returns a dictionary of processed edge() arguments.
- arg (string, array):
Can be a string, (e.g. "->", "<=>"), etc, or an array of marks. A mark can be a string (e.g., ">" or "head", "x" or "cross") or a dictionary containing the keys:
kind(required) the mark name, e.g."solid"or"bar"posthe position along the edge to place the mark, from 0 to 1revwhether to reverse the direction- parameters specific to the kind of mark, e.g.,
sizeorsharpness
fletcher.parsing.parse-mark-shorthand(arg) -> dictiony