Graph-Easy-Manual

 view release on metacpan or  search on metacpan

doc/manual/syntax.html  view on Meta::CPAN

470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
The <code>||</code> here means that the attribute value is missing, please do
not confuse that with <code>||</code> inside the autosplit node itself,
where this introduces a "linebreak".
</p>
 
<p>
You can also set an attribute for all parts, or only for specific parts:
</p>
 
<ul>
  <li><code>[ A|B ] { class: |legend; }</code>
      will put B into class 'legend' and leave the class of A alone
  <li><code>[ A|B ] { class: legend|; }</code>
      will put A into class 'legend' and leave the class of B alone
  <li><code>[ A|B ] { class: legend; }</code>
      will put A <b>and</b> B into class 'legend'
</ul>
 
<p>
Here are the rules from above in an example showing their effect:
</p>
 
<pre class="graphtext">
node.1 { border: dotted; }
node.2 { border: dashed; }
node.3 { border: dot-dash; }



( run in 0.370 second using v1.01-cache-2.11-cpan-33209edd8b4 )