On Thu, 2008-10-23 at 10:26 -0200, Donato Azevedo wrote:
> Hi guys,
> 
> I am considering using dia for a project on my company but we need a
> feature that I could not find described on the docs. So I am asking
> here in case there is indeed a way to do it:
> 
> I want to create an extra attribute that is a function of the block's
> children, for instance, I have an attribute called Cost: if a block is
> a summary block (meaning it is composed of others) the value of Cost
> is the sum of the attribute Cost of its children.
> 
>       _________________
>       |Summary Block  |
>       |               |
>       | Cost=2        |
>       -----------------
>               /\
>              /  \
>             /    \
>       _____v__  __v_____
>       | Leaf |  | Leaf |
>       |cost=1|  |cost=1|
>       --------  --------
> 
> Is it possible with Dia? Or would it require a developing effort?

This would not be possible without developing a plugin, either in C or
in Python.

-Lars

_______________________________________________
dia-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia

Reply via email to