Example of using a custom XML syntax on the client to dynamically generate graphics.
<Canvas> <Line Color="0x000fff" Stroke="3" X1="100" Y1="50" X2="300" Y2="100" /> <Line Color="0xff0000" Stroke="2" X1="200" Y1="300" X2="50" Y2="100" /> <Line Color="0x00ff00" Stroke="1" X1="300" Y1="200" X2="200" Y2="50" /> <Rectangle Color="0xff00ff" Stroke="5" X="10" Y="10" Width="100" Height="100" /> <Circle Color="0x00ffff" Stroke="3" X="300" Y="300" Radius="100" /> </Canvas>