forked from HEL/chronos
		
	fixed and completed arrow tips
This commit is contained in:
		| @@ -65,11 +65,11 @@ chronos.diagram({ | ||||
|   _seq("a", "b", end-tip: "x", comment: `->x`) | ||||
|   _seq("a", "b", start-tip: "x", comment: `x->`) | ||||
|   _seq("a", "b", start-tip: "o", comment: `o->`) | ||||
|   _seq("a", "b", end-tip: "o", comment: `->o`) | ||||
|   _seq("a", "b", start-tip: "o", end-tip: "o", comment: `o->o`) | ||||
|   _seq("a", "b", end-tip: ("o", ">"), comment: `->o`) | ||||
|   _seq("a", "b", start-tip: "o", end-tip: ("o", ">"), comment: `o->o`) | ||||
|   _seq("a", "b", start-tip: ">", end-tip: ">", comment: `<->`) | ||||
|   _seq("a", "b", start-tip: ("o", ">"), end-tip: ("o", ">"), comment: `o<->o`) | ||||
|   _seq("a", "b", start-tip: ("x", ">"), end-tip: ("x", ">"), comment: `x<->x`) | ||||
|   _seq("a", "b", start-tip: "x", end-tip: "x", comment: `x<->x`) | ||||
|   _seq("a", "b", end-tip: ("o", ">>"), comment: `->>o`) | ||||
|   _seq("a", "b", end-tip: ("o", "\\"), comment: `-\o`) | ||||
|   _seq("a", "b", end-tip: ("o", "\\\\"), comment: `-\\o`) | ||||
| @@ -78,6 +78,34 @@ chronos.diagram({ | ||||
|   _seq("a", "b", start-tip: "x", end-tip: ("o", ">"), comment: `x->o`) | ||||
| }), | ||||
|  | ||||
| chronos.diagram({ | ||||
|   import chronos: * | ||||
|  | ||||
|   _par("a", display-name: "Alice") | ||||
|   _par("b", display-name: "Bob") | ||||
|  | ||||
|   _seq("b", "a", end-tip: ">", comment: `->`) | ||||
|   _seq("b", "a", end-tip: ">>", comment: `->>`) | ||||
|   _seq("b", "a", end-tip: "\\", comment: `-\`) | ||||
|   _seq("b", "a", end-tip: "\\\\", comment: `-\\`) | ||||
|   _seq("b", "a", end-tip: "/", comment: `-/`) | ||||
|   _seq("b", "a", end-tip: "//", comment: `-//`) | ||||
|   _seq("b", "a", end-tip: "x", comment: `->x`) | ||||
|   _seq("b", "a", start-tip: "x", comment: `x->`) | ||||
|   _seq("b", "a", start-tip: "o", comment: `o->`) | ||||
|   _seq("b", "a", end-tip: ("o", ">"), comment: `->o`) | ||||
|   _seq("b", "a", start-tip: "o", end-tip: ("o", ">"), comment: `o->o`) | ||||
|   _seq("b", "a", start-tip: ">", end-tip: ">", comment: `<->`) | ||||
|   _seq("b", "a", start-tip: ("o", ">"), end-tip: ("o", ">"), comment: `o<->o`) | ||||
|   _seq("b", "a", start-tip: "x", end-tip: "x", comment: `x<->x`) | ||||
|   _seq("b", "a", end-tip: ("o", ">>"), comment: `->>o`) | ||||
|   _seq("b", "a", end-tip: ("o", "\\"), comment: `-\o`) | ||||
|   _seq("b", "a", end-tip: ("o", "\\\\"), comment: `-\\o`) | ||||
|   _seq("b", "a", end-tip: ("o", "/"), comment: `-/o`) | ||||
|   _seq("b", "a", end-tip: ("o", "//"), comment: `-//o`) | ||||
|   _seq("b", "a", start-tip: "x", end-tip: ("o", ">"), comment: `x->o`) | ||||
| }), | ||||
|  | ||||
| chronos.diagram({ | ||||
|   import chronos: * | ||||
|  | ||||
| @@ -93,11 +121,11 @@ chronos.diagram({ | ||||
|   _seq("a", "a", end-tip: "x", comment: `->x`) | ||||
|   _seq("a", "a", start-tip: "x", comment: `x->`) | ||||
|   _seq("a", "a", start-tip: "o", comment: `o->`) | ||||
|   _seq("a", "a", end-tip: "o", comment: `->o`) | ||||
|   _seq("a", "a", start-tip: "o", end-tip: "o", comment: `o->o`) | ||||
|   _seq("a", "a", end-tip: ("o", ">"), comment: `->o`) | ||||
|   _seq("a", "a", start-tip: "o", end-tip: ("o", ">"), comment: `o->o`) | ||||
|   _seq("a", "a", start-tip: ">", end-tip: ">", comment: `<->`) | ||||
|   _seq("a", "a", start-tip: ("o", ">"), end-tip: ("o", ">"), comment: `o<->o`) | ||||
|   _seq("a", "a", start-tip: ("x", ">"), end-tip: ("x", ">"), comment: `x<->x`) | ||||
|   _seq("a", "a", start-tip: "x", end-tip: "x", comment: `x<->x`) | ||||
|   _seq("a", "a", end-tip: ("o", ">>"), comment: `->>o`) | ||||
|   _seq("a", "a", end-tip: ("o", "\\"), comment: `-\o`) | ||||
|   _seq("a", "a", end-tip: ("o", "\\\\"), comment: `-\\o`) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user