html-items.dot 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* html labels with only items, not tables */
  2. digraph "items"
  3. {
  4. /* to specify '&' use & */
  5. "1"[label=<&amp;amp;>];
  6. "2"[label=<this is a &amp;amp;>];
  7. /* point-size set the font size */
  8. "3"[label=<text<font point-size="6">small</font><font point-size="20">big</font>>];
  9. /* wrong font name but no warnings */
  10. "4"[label=<sans-font<font face="xyz">xyz-font</font>>];
  11. /* set font color to "blue" or rgb "#0000ff" */
  12. "5"[label=<<font color="blue">BlueColor</font>>];
  13. /* set background color */
  14. "6"[fillcolor="lightgreen" style="filled" label=<lightgreen>];
  15. /* <o> overline text depends on pango lib version for it to work */
  16. "7"[label=<is <o>overline</o>>];
  17. /* <u> underline text */
  18. "8"[label=<is <u>underline</u>>];
  19. /* <i> italic text */
  20. "9"[label=<is <i>italic</i>>];
  21. 1->2->3->4->5->6->7->8->9;
  22. /* <b> bold text */
  23. "10"[label=<is <b>bold</b>>];
  24. /* <sub> subscript text */
  25. "11"[label=<is <sub>subscript</sub>>];
  26. /* <sup> superscript text */
  27. "12"[label=<is <sup>superscript</sup>>];
  28. /* <br/> is newline */
  29. "13"[label=<line 1<br/>line two>];
  30. "14"[label=<line one<br/>line 2>];
  31. "15"[label=<line 1<br/><br/><br/>line 4>];
  32. /* align is parsed but not yet implemented */
  33. "16"[label=<top longer line<br/>line<br align="right"/>l2<br align="center"/>bottom<br align="left"/>end>];
  34. "17"[label=<<br/>middle<br/><br/>>];
  35. /* a <br/> can have a font size set */
  36. "18"[shape="box" label=<<font point-size="40"><br/>middle<br/></font><br/>>];
  37. /* <i> can be nested */
  38. "19"[label=<<br/><i><i><b>middle</b></i></i><br/><br/>>];
  39. 1->10->11->12->13->14->15->16->17->18->19;
  40. }