Child

From Creately Developer

Jump to: navigation, search

Overview

The child tag defines a child object that is within a KObject. The child object generally denotes a visual component of a KObject. Simple example of a child object would be Manual Glupoint created by the user on a object when drawing the diagram.


Specification

Element/Attribute Type Parent Element Description Introduced in Removed in
children Element object The list of child objects belonging to a KObject 1.0 N/A
child Element children A definition of a child object belonging to the KObject 1.0 N/A
id Attribute child Unique identifier of the child object used within the Object 1.0 -
x Attribute child The x coordinate of the child object's location relative to the KObject's view in pixels 1.0 -
y Attribute child The y coordinate of the child object's location relative to the KObject's view in pixels 1.0 -
width Attribute child The width of the child object in pixels 1.0 -
height Attribute child The width of the child object in pixels 1.0 -
visible Attribute child This will indicate if the child object is visible in the view through "true" or "false" values 1.0 -
used Attribute child This attribute will have "true" value if the child is a Gluepoint and a connector is attached to the Gluepoint 1.0 -


Example

<children>
    <child id="CustomGP-1270121823614" x="12.5" y="0.2" width="1.0"
        height="1.0" used="false" visible="true"/>
    <child id="CustomGP-1270121823618" x="0" y="10" width="1.0"
        height="1.0" used="true" visible="true" />
</children>
Personal tools