Example Document

From Creately Developer

Jump to: navigation, search

Overview

This page provides a full Creately File XML that contains all possible tags available in Creately File format. Note that this document will not render to a valid diagram and is purely a collection of XML tags for demonstration purposes.

Content

<creately-doc format-version="1.0" id="fr43s2ty" revision="1">
    <app-version>1.0.2.3333</app-version>
    <date-created>2010-03-01 03:00:20</date-created>
    <date-updated>2010-03-01 03:00:20</date-updated>
    <source-tool>PLUGIN-FOGBUGZ</source-tool>
    <docname>Data Flow diagram template</docname>
    <creator>hiraash@gmail.com</creator>
    <revision-user>hiraash@gmail.com</revision-user>
    <description></description>
    <tags>whatever,something</tags>
    <save-comments>Just made some minor changes to text</save-comments>
    <save-type>TYPE_MANUAL</save-type>
    <canvas-width>1500.0</canvas-width>
    <canvas-height>1500.0</canvas-height>
    <published>true</published>

    <!-- Diagram Objects -->
    <objects>
        <!-- This is a regular KO -->
        <object id="Trapezoid-g7cuzo40-ko9" type="NORMAL" name="Trapezoid"
            model-type="NORMAL"  locked="false" visible="true" zorder="1" >

            <style alpha="NaN" fill="yes" fill-color="268435455" fill-gradient="GRADIENT_FILL_SOLID"
             line-color="0" line-style="" line-thickness="1.0" />

            <kobject-def-id>
                root/abstractShapes/trapezoid?version=2&author=Cinergix
            </kobject-def-id>
            
            <!-- This will be set if the object is in a container -->
            <container-id>g7fqaglc-ko5</container-id>
            
            <!-- This will be set if the object is in a group -->
            <group-id>g7fqaglc-ko5</group-id>
            
            <dimension scale-x="1.0" scale-y="1.0" angle="0.0"
                width="56.3" height="91.0" x="465.0" y="585.0">        
                <default-bounds x="0.0" y="0.0" width="56.3" height="91.0" />
                <matrix a="1.0" b="0.0" c="0.0" d="1.0" tx="0.0" ty="0.0" />
            </dimension>
            
            <!-- Other properties in collapsed tag will not be set for normal KO  -->
            <collapse  expanded-x-pos="465.0" expanded-y-pos="585.0" 
            expanded-width="56.3" expanded-height="91.0" />

            <!-- Text -->
            <text position="{TEXT|CENTRE}" wrapping="{true|false}" text-rotation="NaN">

                <content>
                    Text Object(~!nl!~)with(~!nl!~)Multiple Styles
                </content>
                <text-formats>
                    <text-format block-indent="0.0" bold="false"
                        bullet="false" color="0.0" indent="0.0" italic="true"
                        kerning="false" leading="2.0" left-margin="0.0"
                        letter-spacing="0.0" right-margin="0.0" size="12.0"
                        underline="false" beginIndex="-1" endIndex="-1" order="3"
                        align="center" display="block" font="Arial">
                        <target />
                        <url />
                    </text-format>
                </text-formats>
            </text>

            <!-- Comments -->
            <comments>
                <comment priority = "1" >
                    <user-email>shantha@cinergix.com</user-email>
                    <user-id>
                        PHP72494-9DE0-AABE-71BF-D51A3AD66E3D
                    </user-id>
                    <user-name>Shantha Kumara</user-name>
                    <time-stamp>2010-03-29T05:53:28.526Z</time-stamp>
                    <comment-text>
                        This is a sample comment #1.
                    </comment-text>
                    <owner-id>Trapezoid-g7cuzo40-ko9</owner-id>
                    <referance-comment>{true|false}</referance-comment>
                </comment>
            </comments>
            <children>
                 <child id="CustomGP-1270121823614" y="0.2222222222222222" width="1.0"
                      height="1.0" used="{true|false}" visible="{true|false}" />
                 <child id="CustomGP-1270121823618" y="0.2222222222222222" width="1.0"
                      height="1.0" used="{true|false}" visible="{true|false}" />
            </children>
            <data-items>
                 <data-item name="isConnected" value="0" type="java.lang.Integer" />
                 <data-item name="notes" value="" type="java.lang.String" />
                 <data-item name="DiagramLinkURL" value="" type="java.lang.String" />
            </data-items>
            <libraries>
                <lib-ID>basic</lib-ID>                
            </libraries>
        </object>


        <!-- This object is a container -->
        <object id="Trapezoid-g7cuzo40-ko9" type="NORMAL" name="Trapezoid"
            model-type="CONTAINER"  locked="false" visible="true" zorder="1" >

            <style alpha="NaN" fill="yes" fill-color="268435455" fill-gradient="GRADIENT_FILL_SOLID"
             line-color="0" line-style="" line-thickness="1.0" />

            <kobject-def-id>
                root/abstractShapes/trapezoid?version=2&author=Cinergix
            </kobject-def-id>
            
            <!-- This will be set if the object is in a container -->
            <container-id>g7fqaglc-ko5</container-id>
            
            <!-- This will be set if the object is in a group -->
            <group-id>g7fqaglc-ko5</group-id>
            
            <dimension scale-x="1.0" scale-y="1.0" angle="0.0"
                width="56.3" height="91.0" x="465.0" y="585.0">        
                <default-bounds x="0.0" y="0.0" width="56.3" height="91.0" />
                <matrix a="1.0" b="0.0" c="0.0" d="1.0" tx="0.0" ty="0.0" />
            </dimension>
            
            <!-- Since this object is a container, additional properties are set -->
            <collapse collapsed="true" collapsed-x-pos="" collapsed-y-pos=""
            collapsed-width="" collapsed-height="" expanded-x-pos="465.0"
            expanded-y-pos="585.0" expanded-width="56.3" expanded-height="91.0" />            

            <!-- Text -->
            <text position="{TEXT|CENTRE}" wrapping="{true|false}" text-rotation="NaN">

                <content>
                    Text Object(~!nl!~)with(~!nl!~)Multiple Styles
                </content>

                <text-formats>
                    <text-format block-indent="0.0" bold="false"
                        bullet="false" color="0.0" indent="0.0" italic="true"
                        kerning="false" leading="2.0" left-margin="0.0"
                        letter-spacing="0.0" right-margin="0.0" size="12.0"
                        underline="false" beginIndex="-1" endIndex="-1" order="3"
                        align="center" display="block" font="Arial">
                        <target />
                        <url />
                    </text-format>
                </text-formats>
            </text>

            <!-- Comments -->
            <comments>
                <comment priority = "1">
                    <user-email>shantha@cinergix.com</user-email>
                    <user-id>
                        PHP72494-9DE0-AABE-71BF-D51A3AD66E3D
                    </user-id>
                    <user-name>Shantha Kumara</user-name>
                    <time-stamp>2010-03-29T05:53:28.526Z</time-stamp>
                    <comment-text>
                        This is a sample comment #1.
                    </comment-text>
                    <owner-id>Trapezoid-g7cuzo40-ko9</owner-id>
                    <referance-comment>{true|false}</referance-comment>
                </comment>
            </comments>
            <children>
                 <child id="CustomGP-1270121823614" y="0.2222222222222222" width="1.0"
                      height="1.0" used="{true|false}" visible="{true|false}" />
                 <child id="CustomGP-1270121823618" y="0.2222222222222222" width="1.0"
                      height="1.0" used="{true|false}" visible="{true|false}" />
            </children>
            <data-items>
                 <data-item name="isConnected" value="0" type="java.lang.Integer" />
                 <data-item name="notes" value="" type="java.lang.String" />
                 <data-item name="DiagramLinkURL" value="" type="java.lang.String" />
            </data-items>
            <libraries>
                <lib-ID>basic</lib-ID>                
            </libraries>
        </object>


        <!-- This object is a group -->
        <object id="Trapezoid-g7cuzo40-ko9" type="NORMAL" name="Trapezoid"
            model-type="GROUP" locked="false" visible="true" zorder="1" >

            <style alpha="NaN" fill="yes" fill-color="268435455" fill-gradient="GRADIENT_FILL_SOLID"
             line-color="0" line-style="" line-thickness="1.0" />

            <kobject-def-id>
                root/abstractShapes/trapezoid?version=2&author=Cinergix
            </kobject-def-id>
            
            <!-- This will be set if the object is in a container -->
            <container-id>g7fqaglc-ko5</container-id>
            
            <!-- This will be set if the object is in a group -->
            <group-id>g7fqaglc-ko5</group-id>
            
            <dimension scale-x="1.0" scale-y="1.0" angle="0.0"
                width="56.3" height="91.0" x="465.0" y="585.0">        
                <default-bounds x="0.0" y="0.0" width="56.3" height="91.0" />
                <matrix a="1.0" b="0.0" c="0.0" d="1.0" tx="0.0" ty="0.0" />
            </dimension>
            
            <!-- Since this object is a group, additional properties are set -->
            <collapse collapsed="true" collapsed-x-pos="" collapsed-y-pos=""
            collapsed-width="" collapsed-height="" expanded-x-pos="465.0"
            expanded-y-pos="585.0" expanded-width="56.3" expanded-height="91.0" />            

            <!-- Text -->
            <text position="{TEXT|CENTRE}" wrapping="{true|false}" text-rotation="NaN">

                <content>
                    Text Object(~!nl!~)with(~!nl!~)Multiple Styles
                </content>
                <text-formats>
                    <text-format block-indent="0.0" bold="false"
                        bullet="false" color="0.0" indent="0.0" italic="true"
                        kerning="false" leading="2.0" left-margin="0.0"
                        letter-spacing="0.0" right-margin="0.0" size="12.0"
                        underline="false" beginIndex="-1" endIndex="-1" order="3"
                        align="center" display="block" font="Arial">
                        <target />
                        <url />
                    </text-format>
                </text-formats>
            </text>

            <!-- Comments -->
            <comments>
                <comment priority = "1">
                    <user-email>shantha@cinergix.com</user-email>
                    <user-id>
                        PHP72494-9DE0-AABE-71BF-D51A3AD66E3D
                    </user-id>
                    <user-name>Shantha Kumara</user-name>
                    <time-stamp>2010-03-29T05:53:28.526Z</time-stamp>
                    <comment-text>
                        This is a sample comment #1.
                    </comment-text>
                    <owner-id>Trapezoid-g7cuzo40-ko9</owner-id>
                    <referance-comment>{true|false}</referance-comment>
                </comment>
            </comments> 
            <data-items>
                 <data-item name="isConnected" value="0" type="java.lang.Integer" />
                 <data-item name="notes" value="" type="java.lang.String" />
                 <data-item name="DiagramLinkURL" value="" type="java.lang.String" />
            </data-items>
            <libraries>
                <lib-ID>basic</lib-ID>                
            </libraries>
        </object>
        
    </objects>
        
    <!-- Connectors -->
        <connectors>
        <connector id="Trapezoid-g7cuzo40-ko8"
            model-type="{connector|line}" bi-directional="false"
            end-point-one-x="300.0" end-point-one-y="548.0"
            end-point-two-x="370.0" end-point-two-y="785.0"
            show-obj-one-img="false" show-obj-two-img="false" 
            locked="false" visible="true" zorder="1" >

            <style alpha="NaN" draw-style="1" line-color="0" line-style="" line-thickness="1.0" />

            <group-id>g7fqaglc-ko5</group-id>
            
            <!-- First object -->
            <object-one-id></object-one-id>
            
            <!-- Second Object -->
            <object-two-id></object-two-id>
            
            <connection-def-id></connection-def-id>
            
            <connection-name></connection-name>
            
            <connection-desc></connection-desc>
            
            <!-- Text -->
            <text position="{TEXT|CENTRE}" wrapping="{true|false}" text-rotation="NaN">

                <content>
                    Text Object(~!nl!~)with(~!nl!~)Multiple Styles
                </content>

                <text-formats>
                    <text-format block-indent="0.0" bold="false"
                        bullet="false" color="0.0" indent="0.0" italic="false"
                        kerning="false" leading="2.0" left-margin="0.0"
                        letter-spacing="0.0" right-margin="0.0" size="12.0"
                        underline="false" endIndex="12" align="center" display="block"
                        font="Arial">
                        <target />
                        <url />
                    </text-format>
                    <text-format block-indent="0.0" bold="true"
                        bullet="false" color="0.0" indent="0.0" italic="false"
                        kerning="false" leading="2.0" left-margin="0.0"
                         letter-spacing="0.0" right-margin="0.0" size="12.0"
                        underline="false" beginIndex="12" endIndex="16" order="1"
                        align="center" display="block" font="Arial">
                        <target />
                        <url />
                    </text-format>
                    <text-format block-indent="0.0" bold="false"
                        bullet="false" color="0.0" indent="0.0" italic="false"
                         kerning="false" leading="2.0" left-margin="0.0"
                         letter-spacing="0.0" right-margin="0.0" size="12.0"
                        underline="false" beginIndex="16" endIndex="17" order="2"
                        align="center" display="block" font="Arial">
                        <target />
                        <url />
                    </text-format>
                    <text-format block-indent="0.0" bold="false"
                        bullet="false" color="0.0" indent="0.0" italic="true"
                         kerning="false" leading="2.0" left-margin="0.0"
                        letter-spacing="0.0" right-margin="0.0" size="12.0"
                        underline="false" beginIndex="17" endIndex="32" order="3"
                        align="center" display="block" font="Arial">
                        <target />
                        <url />
                    </text-format>
                </text-formats>
            </text>
            <!-- Object Comments -->
            <comments>
                <comment priority = "1">
                    <user-email>shantha@cinergix.com</user-email>
                    <user-id>
                        PHP72494-9DE0-AABE-71BF-D51A3AD66E3D
                    </user-id>
                    <user-name>Shantha Kumara</user-name>
                    <time-stamp>2010-03-29T05:53:28.526Z</time-stamp>
                    <comment-text>
                        This is a sample comment #1.
                    </comment-text>
                    <owner-id>Trapezoid-g7cuzo40-ko8</owner-id>
                    <referance-comment>{true|false}</referance-comment>
                </comment>
                <comment priority = "">
                    <user-email>shantha@cinergix.com</user-email>
                    <user-id>
                        PHP72494-9DE0-AABE-71BF-D51A3AD66E3D
                    </user-id>
                    <user-name>Shantha Kumara</user-name>
                    <time-stamp>2010-03-29T05:54:32.122Z</time-stamp>
                    <comment-text>
                        This is a sample comment #2.
                    </comment-text>
                    <owner-id>Trapezoid-g7cuzo40-ko8</owner-id>
                    <referance-comment>{true|false}</referance-comment>
                </comment>
            </comments>
        </connector>
    </connectors>

    <!-- Group and document comments -->
    <comments>
        <comment>
            <user-email>shantha@cinergix.com</user-email>
            <user-id>PHP72494-9DE0-AABE-71BF-D51A3AD66E3D</user-id>
            <user-name>Shantha Kumara</user-name>
            <time-stamp>2010-03-29T05:53:28.526Z</time-stamp>
            <comment-text>
                This is a group sample comment #1.
            </comment-text>
            <owner-id>
                Trapezoid-g7cuzo40-ko9,Trapezoid-g7cuzo40-ko8
            </owner-id>
        </comment>
        <comment>
            <user-email>shantha@cinergix.com</user-email>
            <user-id>PHP72494-9DE0-AABE-71BF-D51A3AD66E3D</user-id>
            <user-name>Shantha Kumara</user-name>
            <time-stamp>2010-03-29T05:54:32.122Z</time-stamp>
            <comment-text>
                This is a group sample comment #2.
            </comment-text>
            <owner-id>
                Trapezoid-g7cuzo40-ko9,Trapezoid-g7cuzo40-ko8
            </owner-id>
        </comment>
    </comments>    
    <libraries>
        <lib-ID>basic</lib-ID>
        <lib-ID>sNetwork</lib-ID>
    </libraries>

    <!-- All the resoureces used in the document lists here -->
    <resources>
        <resource type="import-image" id="" content-encoding="base64" content-type="" >
            <data>dweiWQERDOSfdjslgjdsffogdsfd=</data>
        </resource>
        <resource type="thumbnail" id="" content-encoding="base64" content-type="" >
            <data>WDSFOSDksdfkasoedssk=</data>
        </resource>
    </resources>
</creately-doc>
Personal tools