Difference between revisions of "Wgraph:Demo icon"
From FollowTheScore
(New page: * Formats allowed are png, bmp, gif * you must set icon_colors to 256 * icon files must be in images/Wgraph/icons {{#wgraph:png|wgl|gdl| icon_colors 256 icons yes node Bus {labe...) |
|||
| Line 1: | Line 1: | ||
| − | * Formats allowed are png, | + | * Formats allowed are png, pbm, ppm |
| − | * you | + | * you should set icon_colors to 256 |
* icon files must be in images/Wgraph/icons | * icon files must be in images/Wgraph/icons | ||
| − | {{#wgraph:png|wgl | + | * but svg output only will find the icons if they are also present in the same directory as the svg file itself. |
| + | * note that U1 is hidden by B and/or C | ||
| + | {{#wgraph:png|svg|thumb=60|wgl| | ||
icon_colors 256 | icon_colors 256 | ||
icons yes | icons yes | ||
| − | node | + | node A {align left icon bus.png} |
| − | node | + | node B {align left icon bus.png width 500 } |
| − | node | + | node C {align left icon bus.png width 50 } |
| − | nodetype * {borderstyle solid bordercolor black color | + | node U1 {} |
| + | node U2 {label "" icon user.png} | ||
| + | edge B U2 {} | ||
| + | nodetype * {borderstyle solid bordercolor black color blue} | ||
}} | }} | ||
Latest revision as of 18:16, 21 October 2007
- Formats allowed are png, pbm, ppm
- you should set icon_colors to 256
- icon files must be in images/Wgraph/icons
- but svg output only will find the icons if they are also present in the same directory as the svg file itself.
- note that U1 is hidden by B and/or C
{{#wgraph:png|svg|thumb=60|wgl|
icon_colors 256
icons yes
node A {align left icon bus.png}
node B {align left icon bus.png width 500 }
node C {align left icon bus.png width 50 }
node U1 {}
node U2 {label "" icon user.png}
edge B U2 {}
nodetype * {borderstyle solid bordercolor black color blue}
}}