[Date Prev ][Date Next ] [Thread Prev ][Thread Next ]
[Thread Index ]
[Date Index ]
[Author Index ]
Re: combined UML diagrams
From : SainTiss <saintiss gmx net>
To : dia-list gnome org
Subject : Re: combined UML diagrams
Date : Tue, 28 Oct 2003 18:31:19 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
> Take a look at select_transitively() in app/select.c, it does the same kind
> of thing, both ways.
>
> You're quite right that you're getting the same thing. The connection
> point is what's visualized by a little blue x, the handle is the box. A
> handle can only be connected to one thing, a connection point can have a
> number of handles connected to it. So when you go from handle to object,
> you need to look at handle->connected_to->object.
Hm, according to what you're saying, one of the handles of the class should be
connected to the same connectionpoint then, right? Well, when I do this:
for (i = 0; i <= 7; i++) {
handle = &((elem->resize_handles)[i]);
conpoint = handle->connected_to;
all those conpoints seem to be NULL... So something's definately wrong then?
>
> That sounds really strange, I'm sure people would have noticed by now --
> and indeed, it doesn't do that for me. Can you send me a diagram that
> behaves this way?
Ok, I've attached one... However, I just noticed that the behaviour only
occurs if the classes are parented inside a package...
Cheers,
Hans
>
> -Lars
- --
Ark Linux - Linux for the Masses (http://arklinux.org )
Capitalism:
You don't have any cows. The bank will not lend you money to buy cows,
because you don't have any cows to put up as collateral.
Representative Democracy:
You have two cows. Your neighbors pick someone to tell you who gets the milk.
In a world without walls and fences, who needs windows and gates?
Hans Schippers
2LIC INF
UA 2003-2004
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/nqfnXlnUYIbmLOQRAmdfAJkBylo2eOZTbBa78EDJla5ju7+h+gCePMM/
FWPR41QV4K2FvSWFJpTf6ho=
=1MkE
-----END PGP SIGNATURE-----
<?xml version="1.0" encoding="UTF-8"?>
<dia:diagram xmlns:dia="http://www.lysator.liu.se/~alla/dia/" ;>
<dia:diagramdata>
<dia:attribute name="background">
<dia:color val="#ffffff"/>
</dia:attribute>
<dia:attribute name="pagebreak">
<dia:color val="#000099"/>
</dia:attribute>
<dia:attribute name="paper">
<dia:composite type="paper">
<dia:attribute name="name">
<dia:string>#A4#</dia:string>
</dia:attribute>
<dia:attribute name="tmargin">
<dia:real val="2.8222"/>
</dia:attribute>
<dia:attribute name="bmargin">
<dia:real val="2.8222"/>
</dia:attribute>
<dia:attribute name="lmargin">
<dia:real val="2.8222"/>
</dia:attribute>
<dia:attribute name="rmargin">
<dia:real val="2.8222"/>
</dia:attribute>
<dia:attribute name="is_portrait">
<dia:boolean val="true"/>
</dia:attribute>
<dia:attribute name="scaling">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="fitto">
<dia:boolean val="false"/>
</dia:attribute>
</dia:composite>
</dia:attribute>
<dia:attribute name="grid">
<dia:composite type="grid">
<dia:attribute name="width_x">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="width_y">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="visible_x">
<dia:int val="1"/>
</dia:attribute>
<dia:attribute name="visible_y">
<dia:int val="1"/>
</dia:attribute>
<dia:composite type="color"/>
</dia:composite>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#d8e5e5"/>
</dia:attribute>
<dia:attribute name="guides">
<dia:composite type="guides">
<dia:attribute name="hguides"/>
<dia:attribute name="vguides"/>
</dia:composite>
</dia:attribute>
</dia:diagramdata>
<dia:layer name="Background" visible="true">
<dia:object type="UML - LargePackage" version="0" id="O0">
<dia:attribute name="obj_pos">
<dia:point val="4.3,3.6"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="4.25,2.55;19.45,15.95"/>
</dia:attribute>
<dia:attribute name="elem_corner">
<dia:point val="4.3,3.6"/>
</dia:attribute>
<dia:attribute name="elem_width">
<dia:real val="15.1"/>
</dia:attribute>
<dia:attribute name="elem_height">
<dia:real val="12.3"/>
</dia:attribute>
<dia:attribute name="stereotype">
<dia:string>##</dia:string>
</dia:attribute>
<dia:attribute name="name">
<dia:string>##</dia:string>
</dia:attribute>
<dia:children>
<dia:object type="UML - Association" version="0" id="O1">
<dia:attribute name="obj_pos">
<dia:point val="8.8,6.15"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="8.75,6.1;14.75,13.25"/>
</dia:attribute>
<dia:attribute name="orth_points">
<dia:point val="8.8,6.15"/>
<dia:point val="11.75,6.15"/>
<dia:point val="11.75,11.65"/>
<dia:point val="14.7,11.65"/>
</dia:attribute>
<dia:attribute name="orth_orient">
<dia:enum val="0"/>
<dia:enum val="1"/>
<dia:enum val="0"/>
</dia:attribute>
<dia:attribute name="name">
<dia:string>##</dia:string>
</dia:attribute>
<dia:attribute name="direction">
<dia:enum val="0"/>
</dia:attribute>
<dia:attribute name="ends">
<dia:composite>
<dia:attribute name="role">
<dia:string>##</dia:string>
</dia:attribute>
<dia:attribute name="multiplicity">
<dia:string>##</dia:string>
</dia:attribute>
<dia:attribute name="arrow">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="aggregate">
<dia:enum val="0"/>
</dia:attribute>
</dia:composite>
<dia:composite>
<dia:attribute name="role">
<dia:string>##</dia:string>
</dia:attribute>
<dia:attribute name="multiplicity">
<dia:string>##</dia:string>
</dia:attribute>
<dia:attribute name="arrow">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="aggregate">
<dia:enum val="0"/>
</dia:attribute>
</dia:composite>
</dia:attribute>
</dia:object>
<dia:object type="UML - Class" version="0" id="O2">
<dia:attribute name="obj_pos">
<dia:point val="14.7,10.95"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="14.65,10.9;17.35,13.2"/>
</dia:attribute>
<dia:attribute name="elem_corner">
<dia:point val="14.7,10.95"/>
</dia:attribute>
<dia:attribute name="elem_width">
<dia:real val="2.6"/>
</dia:attribute>
<dia:attribute name="elem_height">
<dia:real val="2.2"/>
</dia:attribute>
<dia:attribute name="name">
<dia:string>#Class#</dia:string>
</dia:attribute>
<dia:attribute name="stereotype">
<dia:string>##</dia:string>
</dia:attribute>
<dia:attribute name="comment">
<dia:string>##</dia:string>
</dia:attribute>
<dia:attribute name="abstract">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="suppress_attributes">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="suppress_operations">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="visible_attributes">
<dia:boolean val="true"/>
</dia:attribute>
<dia:attribute name="visible_operations">
<dia:boolean val="true"/>
</dia:attribute>
<dia:attribute name="visible_comments">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="foreground_color">
<dia:color val="#000000"/>
</dia:attribute>
<dia:attribute name="background_color">
<dia:color val="#ffffff"/>
</dia:attribute>
<dia:attribute name="normal_font">
<dia:font family="monospace" style="0" name="Courier"/>
</dia:attribute>
<dia:attribute name="abstract_font">
<dia:font family="monospace" style="88" name="Courier"/>
</dia:attribute>
<dia:attribute name="polymorphic_font">
<dia:font family="monospace" style="8" name="Courier"/>
</dia:attribute>
<dia:attribute name="classname_font">
<dia:font family="sans" style="80" name="Helvetica"/>
</dia:attribute>
<dia:attribute name="abstract_classname_font">
<dia:font family="sans" style="88" name="Helvetica"/>
</dia:attribute>
<dia:attribute name="comment_font">
<dia:font family="sans" style="8" name="Helvetica"/>
</dia:attribute>
<dia:attribute name="font_height">
<dia:real val="0.8"/>
</dia:attribute>
<dia:attribute name="polymorphic_font_height">
<dia:real val="0.8"/>
</dia:attribute>
<dia:attribute name="abstract_font_height">
<dia:real val="0.8"/>
</dia:attribute>
<dia:attribute name="classname_font_height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="abstract_classname_font_height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="comment_font_height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="attributes"/>
<dia:attribute name="operations"/>
<dia:attribute name="template">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="templates"/>
</dia:object>
<dia:object type="UML - Class" version="0" id="O3">
<dia:attribute name="obj_pos">
<dia:point val="6.2,5.45"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="6.15,5.4;8.85,7.7"/>
</dia:attribute>
<dia:attribute name="elem_corner">
<dia:point val="6.2,5.45"/>
</dia:attribute>
<dia:attribute name="elem_width">
<dia:real val="2.6"/>
</dia:attribute>
<dia:attribute name="elem_height">
<dia:real val="2.2"/>
</dia:attribute>
<dia:attribute name="name">
<dia:string>#Class#</dia:string>
</dia:attribute>
<dia:attribute name="stereotype">
<dia:string>##</dia:string>
</dia:attribute>
<dia:attribute name="comment">
<dia:string>##</dia:string>
</dia:attribute>
<dia:attribute name="abstract">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="suppress_attributes">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="suppress_operations">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="visible_attributes">
<dia:boolean val="true"/>
</dia:attribute>
<dia:attribute name="visible_operations">
<dia:boolean val="true"/>
</dia:attribute>
<dia:attribute name="visible_comments">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="foreground_color">
<dia:color val="#000000"/>
</dia:attribute>
<dia:attribute name="background_color">
<dia:color val="#ffffff"/>
</dia:attribute>
<dia:attribute name="normal_font">
<dia:font family="monospace" style="0" name="Courier"/>
</dia:attribute>
<dia:attribute name="abstract_font">
<dia:font family="monospace" style="88" name="Courier"/>
</dia:attribute>
<dia:attribute name="polymorphic_font">
<dia:font family="monospace" style="8" name="Courier"/>
</dia:attribute>
<dia:attribute name="classname_font">
<dia:font family="sans" style="80" name="Helvetica"/>
</dia:attribute>
<dia:attribute name="abstract_classname_font">
<dia:font family="sans" style="88" name="Helvetica"/>
</dia:attribute>
<dia:attribute name="comment_font">
<dia:font family="sans" style="8" name="Helvetica"/>
</dia:attribute>
<dia:attribute name="font_height">
<dia:real val="0.8"/>
</dia:attribute>
<dia:attribute name="polymorphic_font_height">
<dia:real val="0.8"/>
</dia:attribute>
<dia:attribute name="abstract_font_height">
<dia:real val="0.8"/>
</dia:attribute>
<dia:attribute name="classname_font_height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="abstract_classname_font_height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="comment_font_height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="attributes"/>
<dia:attribute name="operations"/>
<dia:attribute name="template">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="templates"/>
</dia:object>
</dia:children>
</dia:object>
</dia:layer>
</dia:diagram>
[Date Prev ][Date Next ] [Thread Prev ][Thread Next ]
[Thread Index ]
[Date Index ]
[Author Index ]
Mail converted by Mofo Magic and the Flying D
All trademarks and copyrights are the property of
their respective owners.
Other Directory Sites:
SeekWonder |
Directory Owners Forum
GuideSMACK