Rev | Line | |
---|
[3989] | 1 | /*
|
---|
| 2 | * Simple test style sheet. Includes a style for nodes where the label is derived
|
---|
| 3 | * from the value of a specific tag.
|
---|
| 4 | *
|
---|
| 5 | */
|
---|
| 6 |
|
---|
| 7 | meta {
|
---|
| 8 | title: "Test style - Deriving labels from tags";
|
---|
| 9 | }
|
---|
| 10 |
|
---|
| 11 | canvas {
|
---|
| 12 | background-color: #000000;
|
---|
| 13 | }
|
---|
| 14 |
|
---|
| 15 | node {
|
---|
| 16 | text: my_label_tag; /* take the value of the tag 'my_label_tag' as text */
|
---|
| 17 | text-color: white;
|
---|
| 18 | font-size: 12;
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | /*
|
---|
| 22 | * Simple test style sheet. Includes a style for nodes where the label is derived
|
---|
| 23 | * from the value of a specific tag.
|
---|
| 24 | *
|
---|
| 25 | */
|
---|
| 26 |
|
---|
| 27 | meta {
|
---|
| 28 | title: "Test style - Deriving labels from tags";
|
---|
| 29 | }
|
---|
| 30 |
|
---|
| 31 | canvas {
|
---|
| 32 | background-color: #000000;
|
---|
| 33 | }
|
---|
| 34 |
|
---|
| 35 | node {
|
---|
| 36 | text: my_label_tag; /* take the value of the tag 'my_label_tag' as text */
|
---|
| 37 | text-color: white;
|
---|
| 38 | font-size: 12;
|
---|
| 39 | }
|
---|
| 40 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.