Jim Cheetham wrote:
On Tue, Jul 1, 2008 at 10:21 AM, Douglas Royds <[EMAIL PROTECTED]> wrote:
I'd like to put a diagonal strike-out line through a node [shape=box] in a
dot graph.

Sounds like you'd need a custom shape for this.

http://www.graphviz.org/Documentation/html/shapehowto.html

I tried with an ugly record, but the line splines around the record
rather than going straight through it. Playing with splines=false and
overlap=true didn't help, as these are primarily for inter-node
layout, not intra-node ... :-(


item [shape=record, label="{ {<tl>tl|tm|tr} | {cl|centre|cr} |
{bl|bm|<br>br} }"]
item:tl:se -> item:br:nw

Ouch. I can live without it. I'll just use plan B, which is a light shade of grey [style=filled].

Thanks anyway,
Douglas.






=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
=======================================================================

Reply via email to