[Click] Click diagram

Alan Tang hao.tang at student.groept.be
Fri Apr 15 17:17:44 EDT 2005


Hi Eddie,

Yes!!!!!!!! You saved my day!

Thank you!

Alan.

Eddie Kohler wrote:

> Hi Alan,
>
> You need to change some fields explicitly.  Here, I'm assuming you 
> have an element with 1 push input, and 4 outputs; output[0] is push, 
> output[1..3] pull.  Try:
>
> velementit.samp(...., 1, 4, push_to_pull);
> samp.outpers[1] := push;
>
> Eddie
>
>
> Alan Tang wrote:
>
>> Hi Everyone
>>
>> I have a element that has a push input, one pull output one push 
>> output. How could I write it in metapost?
>>
>>
>> This didn't work: velementit.samp(btex \element{XXX(...)} etex, 1, 4, 
>> push_to_push_pull);
>>
>> p.s. Bart , Thank you for your useful tip :-) . Well, the reason I 
>> asked Eddie for his file in his thesis is I didn't find diagram for 
>> Fig.14 in TOCS paper.
>>
>> Regards
>> Alan
>>
>> Bart Braem wrote:
>>
>>>> How to draw the classifier wider?  I tried with more \quad like this
>>>> {\quad\quadClassif{}ier(...)\quad\quad} to make the classifier 
>>>> wider, is
>>>> that correct?
>>>>   
>>>
>>>
>>>
>>> If I need to make elements wider I put ~'s in front or at the end of 
>>> the element. Often a few ~ do the job here.
>>> Eg:
>>> velementit.samp(btex \element{~~~~Classif{}ier(12/0806 20/0001, 
>>> 12/0806 20/0002, 12/0800, -)~~~~} etex, 1, 4, push);
>>>
>>>  
>>>
>>>> Eddie, May I have a look at your mp files for figures in your Ph.d
>>>> dissertation paper?
>>>>   
>>>
>>>
>>>
>>> They can be found in the folder etc/diagrams in the Click 
>>> distributions.
>>>
>>> I hope this helps,
>>> Bart
>>>
>>> _______________________________________________
>>> click mailing list
>>> click at amsterdam.lcs.mit.edu
>>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>>
>>>
>>>  
>>>
>>
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>



More information about the click mailing list