Wgraph:Demo arrow color

From FollowTheScore
Revision as of 10:44, 12 October 2007 by Gero (talk | contribs) (New page: * Normally an edge will have a solid black arrow of size 10. * Normally an edge will have no back_arrow;<br> this means that for the back_arrow: style = none, size = 0, color = black * To ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • Normally an edge will have a solid black arrow of size 10.
  • Normally an edge will have no back_arrow;
    this means that for the back_arrow: style = none, size = 0, color = black
  • To show a back_edge you must change its style and its size and optionally its color
  • To reverse an edge you can use kind=back or the back_edge command; you can (but should not for reasons of clarity) use the back_ attributes for back_edges or together with kind=back

{{#wgraph:svg|thumb=50|wgl|

 edge     A B {}
 edge     A C { arrow_color red                           }
 edge     A D { arrow_color #44ff99                       }
 edge     E F { back_arrow_color orange                   } /* will have no effect! */
 edge     G H { back_arrow_size 10 back_arrow_style solid }
 edge     I J { back_arrow_size 10 back_arrow_style solid back_arrow_color orange }
 backedge K L {}
 backedge M N { arrow_color orange                        }
 edge     O P { arrow_color orange kind back              }
 // you should avoid definitions like the following:
 backedge Q R { back_arrow_size 10 back_arrow_style solid back_arrow_color orange }

}}