lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About flowcharts


From: Mark Summerfield
Subject: Re: About flowcharts
Date: Sat, 26 Mar 2011 06:27:31 +0000

Hi Dominique,

On Fri, 25 Mar 2011 22:52:10 +0100
Dominique Crétel <address@hidden> wrote:
> Hi Mark,
> 
> Thanks for your help.
> But I am really not a Lout expert.
>  
> Here is the lout document to start with.
> 
> @SysInclude { diag }
> @Include { flowchart.lout }
> @SysInclude { doc }
> @Doc @Text @Begin
> # here come the flowchart description ?
> @End @Text
> 
> Is it right?
> 
> Can you help me to use your macro file  ?
> Or give me an example ?
> 
> Dominique

The above seems fine to me. Here's a little more:

@SysInclude{diag}
@Include{flowchart.lout}
@SysInclude{doc}
@Doc
@Text @Begin
@CD @Heading{Flowchart}

@CD @Diag
    font{Helvetica Base 10p}
{
    @Centre{A:: @FileBox hsize{8f}{top}}
    //1c
    B:: @SlantBox hsize{8f}{left} |1c C:: @SlantBox hsize{8f}{right}
//
@VHVArrow address@hidden address@hidden
@VHVArrow address@hidden address@hidden
}

@End @Text


If it gets more complicated the usual approach is to put a table (@Tbl)
inside the diagram and put each item in a cell.

-- 
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
    C++, Python, Qt, PyQt - training and consultancy
        "Programming in Go" - ISBN 0321774639
            http://www.qtrac.eu/gobook.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]