Wgraph:Demo arrow mode
From FollowTheScore
If arrow_mode is fixed arrows will only have certain angles (multiples of 45°).
This is especially useful in combination with port_sharing.
arrow_mode=fixed | arrow_mode=free | |
---|---|---|
port_sharing no |
{{#wgraph:svg|thumb=10|wgl| edge A X {} edge B X {} edge C X {} edge A Y {} edge B Y {} edge C Y {} node Y { label "This is node Y" } arrow_mode fixed edgetype * { arrow_size 15 arrow_color red } }} |
{{#wgraph:name=Demo_arrowmode_2|svg|thumb=10|wgl| edge A X {} edge B X {} edge C X {} edge A Y {} edge B Y {} edge C Y {} node Y { label "This is node Y" } arrow_mode free edgetype * { arrow_size 15 arrow_color blue } }} |
port_sharing yes |
{{#wgraph:svg|name=Demo_arrowmode_3|thumb=10|wgl| edge A X {} edge B X {} edge C X {} edge A Y {} edge B Y {} edge C Y {} node Y { label "This is node Y" } arrow_mode fixed port_sharing yes edgetype * { arrow_size 15 arrow_color red } }} |
{{#wgraph:name=Demo_arrowmode_4|svg|thumb=10|wgl| edge A X {} edge B X {} edge C X {} edge A Y {} edge B Y {} edge C Y {} node Y { label "This is node Y" } arrow_mode free port_sharing yes edgetype * { arrow_size 15 arrow_color blue } }} |