Skip to content

Instantly share code, notes, and snippets.

@DevPGSV
Created September 19, 2018 07:33
Show Gist options
  • Save DevPGSV/a7b8e7c8abaacbc514fc9321e2e1c67f to your computer and use it in GitHub Desktop.
Save DevPGSV/a7b8e7c8abaacbc514fc9321e2e1c67f to your computer and use it in GitHub Desktop.
Gist from yEd-Live
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--Created by yFiles for HTML 2.1.0.4-->
<graphml xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml.html/2.0/ygraphml.xsd " xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:demostyle="http://www.yworks.com/yFilesHTML/demos/FlatDemoStyle/1.0" xmlns:bpmn="http://www.yworks.com/xml/yfiles-for-html/bpmn/2.0" xmlns:demotablestyle="http://www.yworks.com/yFilesHTML/demos/FlatDemoTableStyle/1.0" xmlns:uml="http://www.yworks.com/yFilesHTML/demos/UMLDemoStyle/1.0" xmlns:compat="http://www.yworks.com/xml/yfiles-compat-arrows/1.0" xmlns:VuejsNodeStyle="http://www.yworks.com/demos/yfiles-vuejs-node-style/1.0" xmlns:y="http://www.yworks.com/xml/yfiles-common/3.0" xmlns:x="http://www.yworks.com/xml/yfiles-common/markup/3.0" xmlns:yjs="http://www.yworks.com/xml/yfiles-for-html/2.0/xaml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<key id="d0" for="node" attr.type="boolean" attr.name="Expanded" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/folding/Expanded">
<default>true</default>
</key>
<key id="d1" for="node" attr.name="NodeLabels" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/NodeLabels"/>
<key id="d2" for="node" attr.name="NodeGeometry" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/NodeGeometry"/>
<key id="d3" for="all" attr.name="UserTags" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/UserTags"/>
<key id="d4" for="node" attr.name="NodeStyle" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/NodeStyle"/>
<key id="d5" for="node" attr.name="NodeViewState" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/folding/1.1/NodeViewState"/>
<key id="d6" for="edge" attr.name="EdgeLabels" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/EdgeLabels"/>
<key id="d7" for="edge" attr.name="EdgeGeometry" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/EdgeGeometry"/>
<key id="d8" for="edge" attr.name="EdgeStyle" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/EdgeStyle"/>
<key id="d9" for="edge" attr.name="EdgeViewState" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/folding/1.1/EdgeViewState"/>
<key id="d10" for="port" attr.name="PortLabels" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/PortLabels"/>
<key id="d11" for="port" attr.name="PortLocationParameter" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/PortLocationParameter">
<default>
<x:Static Member="y:FreeNodePortLocationModel.NodeCenterAnchored"/>
</default>
</key>
<key id="d12" for="port" attr.name="PortStyle" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/PortStyle">
<default>
<x:Static Member="y:VoidPortStyle.Instance"/>
</default>
</key>
<key id="d13" for="port" attr.name="PortViewState" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/folding/1.1/PortViewState"/>
<key id="d14" attr.name="SharedData" y:attr.uri="http://www.yworks.com/xml/yfiles-common/2.0/SharedData"/>
<data key="d14">
<y:SharedData>
<yjs:Font x:Key="1" fontSize="25"/>
<yjs:Stroke x:Key="2" fill="{y:GraphMLReference 3}"/>
<yjs:SolidColorFill x:Key="3" color="DarkOrange"/>
<yjs:Stroke x:Key="4" fill="{y:GraphMLReference 3}"/>
<yjs:Font x:Key="5" fontSize="21"/>
<yjs:Stroke x:Key="6" fill="{y:GraphMLReference 3}"/>
<yjs:Font x:Key="7" fontSize="20"/>
<yjs:Font x:Key="8" fontSize="20" textDecoration="UNDERLINE"/>
<yjs:PolylineEdgeStyle x:Key="9" stroke="{y:GraphMLReference 11}"/>
<y:SmartEdgeLabelModelParameter x:Key="10" Model="{y:GraphMLReference 13}" Distance="5"/>
<yjs:Stroke x:Key="11" fill="BLACK" thickness="0.75"/>
<yjs:PolylineEdgeStyle x:Key="12" stroke="{y:GraphMLReference 11}"/>
<y:SmartEdgeLabelModel x:Key="13"/>
</y:SharedData>
</data>
<graph id="G" edgedefault="directed">
<node id="n0">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Paises</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 1}" textFill="BLACK" textSize="25"/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="-149.5" Y="-202" Width="131" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 2}" fill="{y:GraphMLReference 3}"/>
</data>
<port name="p0"/>
<port name="p1"/>
<port name="p2"/>
<port name="p3"/>
<port name="p4"/>
<port name="p5"/>
<port name="p6"/>
<port name="p7">
<data key="d11">
<y:FreeNodePortLocationModelParameter Ratio="0.5,0.02564102564102566"/>
</data>
</port>
</node>
<node id="n1">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Productos</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 1}" textFill="BLACK" textSize="25"/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="351.5" Y="-202" Width="131" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 2}" fill="{y:GraphMLReference 3}"/>
</data>
<port name="p0"/>
<port name="p1"/>
<port name="p2"/>
<port name="p3"/>
</node>
<node id="n2">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Nombre</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="20">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="20" textDecoration="UNDERLINE"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="-30" Y="-232" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 3}" shape="ELLIPSE"/>
</data>
<port name="p0"/>
</node>
<node id="n3">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>NumHabitantes</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 7}" textFill="BLACK" textSize="20"/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="-55" Y="-273.75" Width="148" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 3}" shape="ELLIPSE"/>
</data>
<port name="p0"/>
</node>
<node id="n4">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Nombre</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 8}" textFill="BLACK" textSize="20"/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="300.5" Y="-252" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 3}" shape="ELLIPSE"/>
</data>
<port name="p0"/>
</node>
<node id="n5">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Vende</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 5}" textFill="BLACK" textSize="21"/>
</y:Label.Style>
</y:Label>
<y:Label>
<y:Label.Text>N:N</y:Label.Text>
<y:Label.LayoutParameter>
<y:RatioAnchoredLabelModelParameter LayoutOffset="58.663482195328584,25"/>
</y:Label.LayoutParameter>
<y:Label.Style>
<bpmn:AnnotationLabelStyle/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="123" Y="-205" Width="148" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 6}" fill="{y:GraphMLReference 3}" shape="DIAMOND"/>
</data>
<port name="p0"/>
<port name="p1"/>
<port name="p2"/>
</node>
<node id="n6">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Compra</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 5}" textFill="BLACK" textSize="21"/>
</y:Label.Style>
</y:Label>
<y:Label>
<y:Label.Text>N:N</y:Label.Text>
<y:Label.LayoutParameter>
<y:RatioAnchoredLabelModelParameter LayoutOffset="58.663482195328584,25"/>
</y:Label.LayoutParameter>
<y:Label.Style>
<bpmn:AnnotationLabelStyle/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="123" Y="-118" Width="148" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 6}" fill="{y:GraphMLReference 3}" shape="DIAMOND"/>
</data>
<port name="p0"/>
<port name="p1"/>
<port name="p2"/>
</node>
<node id="n7">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Cantidad</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 7}" textFill="BLACK" textSize="20"/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="100.75" Y="-235" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 3}" shape="ELLIPSE"/>
</data>
<port name="p0"/>
</node>
<node id="n8">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Cantidad</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 7}" textFill="BLACK" textSize="20"/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="100.75" Y="-151" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 3}" shape="ELLIPSE"/>
</data>
<port name="p0"/>
</node>
<node id="n9">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Rey</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 1}" textFill="BLACK" textSize="25"/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="-149.5" Y="-28" Width="131" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 2}" fill="{y:GraphMLReference 3}"/>
</data>
<port name="p0"/>
<port name="p1"/>
<port name="p2"/>
</node>
<node id="n10">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>UID</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="20">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="20" textDecoration="UNDERLINE"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="-58.5" Y="-78" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 3}" shape="ELLIPSE"/>
</data>
<port name="p0"/>
</node>
<node id="n11">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text><![CDATA[Color Ojos]]></y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 7}" textFill="BLACK" textSize="20"/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="-9.25" Y="-42" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 3}" shape="ELLIPSE"/>
</data>
<port name="p0"/>
</node>
<node id="n12">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text><![CDATA[Reinado por]]></y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 5}" textFill="BLACK" textSize="21"/>
</y:Label.Style>
</y:Label>
<y:Label>
<y:Label.Text>1:N</y:Label.Text>
<y:Label.LayoutParameter>
<y:RatioAnchoredLabelModelParameter LayoutOffset="-15.336517804671416,0"/>
</y:Label.LayoutParameter>
<y:Label.Style>
<bpmn:AnnotationLabelStyle/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="-158" Y="-115" Width="148" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 6}" fill="{y:GraphMLReference 3}" shape="DIAMOND"/>
</data>
<port name="p0"/>
<port name="p1"/>
</node>
<node id="n13">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Colonias</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 1}" textFill="BLACK" textSize="25"/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="351.5" Y="-28" Width="131" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 2}" fill="{y:GraphMLReference 3}"/>
</data>
<port name="p0"/>
<port name="p1"/>
<port name="p2"/>
<port name="p3"/>
</node>
<node id="n14">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Elabora</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 5}" textFill="BLACK" textSize="21"/>
</y:Label.Style>
</y:Label>
<y:Label>
<y:Label.Text>N:N</y:Label.Text>
<y:Label.LayoutParameter>
<y:RatioAnchoredLabelModelParameter LayoutOffset="117.32696439065717,0"/>
</y:Label.LayoutParameter>
<y:Label.Style>
<bpmn:AnnotationLabelStyle/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="343" Y="-115" Width="148" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 6}" fill="{y:GraphMLReference 3}" shape="DIAMOND"/>
</data>
<port name="p0"/>
<port name="p1">
<data key="d11">
<y:FreeNodePortLocationModelParameter Ratio="0.5,0.02564102564102566"/>
</data>
</port>
<port name="p2"/>
</node>
<node id="n15">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Tiene</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 5}" textFill="BLACK" textSize="21"/>
</y:Label.Style>
</y:Label>
<y:Label>
<y:Label.Text>1:N</y:Label.Text>
<y:Label.LayoutParameter>
<y:RatioAnchoredLabelModelParameter LayoutOffset="59.659914305787396,25"/>
</y:Label.LayoutParameter>
<y:Label.Style>
<bpmn:AnnotationLabelStyle/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="123" Y="-28" Width="148" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 6}" fill="{y:GraphMLReference 3}" shape="DIAMOND"/>
</data>
<port name="p0"/>
<port name="p1"/>
</node>
<node id="n16">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Nombre</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 8}" textFill="BLACK" textSize="20"/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="239.625" Y="16" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 3}" shape="ELLIPSE"/>
</data>
<port name="p0"/>
</node>
<node id="n17">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>NumHabitantes</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 7}" textFill="BLACK" textSize="20"/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="276.625" Y="53" Width="148" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 3}" shape="ELLIPSE"/>
</data>
<port name="p0"/>
</node>
<node id="n18">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Cantidad</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 7}" textFill="BLACK" textSize="20"/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="259" Y="-78" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 3}" shape="ELLIPSE"/>
</data>
<port name="p0"/>
</node>
<node id="n19">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text><![CDATA[En guerra]]></y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" font="{y:GraphMLReference 5}" textFill="BLACK" textSize="21"/>
</y:Label.Style>
</y:Label>
<y:Label>
<y:Label.Text>N:N</y:Label.Text>
<y:Label.LayoutParameter>
<y:RatioAnchoredLabelModelParameter LayoutOffset="58.663482195328584,-24"/>
</y:Label.LayoutParameter>
<y:Label.Style>
<bpmn:AnnotationLabelStyle/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="-267.25" Y="-256.875" Width="148" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 6}" fill="{y:GraphMLReference 3}" shape="DIAMOND"/>
</data>
<port name="p0">
<data key="d11">
<y:FreeNodePortLocationModelParameter Ratio="0.9933333333333334,0.5"/>
</data>
</port>
<port name="p1">
<data key="d11">
<y:FreeNodePortLocationModelParameter Ratio="0.5,0.9743589743589743"/>
</data>
</port>
</node>
<edge id="e0" source="n0" target="n2" sourceport="p0" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="9"/>
</data>
</edge>
<edge id="e1" source="n0" target="n3" sourceport="p1" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="9"/>
</data>
</edge>
<edge id="e2" source="n1" target="n4" sourceport="p0" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="9"/>
</data>
</edge>
<edge id="e3" source="n5" target="n7" sourceport="p0" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="9"/>
</data>
</edge>
<edge id="e4" source="n6" target="n8" sourceport="p0" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="9"/>
</data>
</edge>
<edge id="e5" source="n0" target="n5" sourceport="p2" targetport="p1">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 10}">
<y:Label.Text>0:N</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle textFill="BLACK">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="12"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d8">
<y:GraphMLReference ResourceKey="9"/>
</data>
</edge>
<edge id="e6" source="n5" target="n1" sourceport="p2" targetport="p1">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 10}">
<y:Label.Text>0:N</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle textFill="BLACK">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="12"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d8">
<y:GraphMLReference ResourceKey="9"/>
</data>
</edge>
<edge id="e7" source="n0" target="n6" sourceport="p3" targetport="p1">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 10}">
<y:Label.Text>0:N</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle textFill="BLACK">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="12"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d8">
<y:GraphMLReference ResourceKey="9"/>
</data>
</edge>
<edge id="e8" source="n1" target="n6" sourceport="p2" targetport="p2">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 10}">
<y:Label.Text>0:N</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle textFill="BLACK">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="12"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d8">
<y:GraphMLReference ResourceKey="9"/>
</data>
</edge>
<edge id="e9" source="n9" target="n10" sourceport="p0" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="12"/>
</data>
</edge>
<edge id="e10" source="n9" target="n11" sourceport="p1" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="12"/>
</data>
</edge>
<edge id="e11" source="n0" target="n12" sourceport="p4" targetport="p0">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 10}">
<y:Label.Text>1,N</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle textFill="BLACK">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="12"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d8">
<y:GraphMLReference ResourceKey="12"/>
</data>
</edge>
<edge id="e12" source="n9" target="n12" sourceport="p2" targetport="p1">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 10}">
<y:Label.Text>0:1</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle textFill="BLACK">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="12"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d8">
<y:GraphMLReference ResourceKey="12"/>
</data>
</edge>
<edge id="e13" source="n13" target="n14" sourceport="p0" targetport="p0">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 10}">
<y:Label.Text>0:N</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle textFill="BLACK">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="12"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d8">
<y:GraphMLReference ResourceKey="12"/>
</data>
</edge>
<edge id="e14" source="n1" target="n14" sourceport="p3" targetport="p1">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 10}">
<y:Label.Text>0:N</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle textFill="BLACK">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="12"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d8">
<y:GraphMLReference ResourceKey="12"/>
</data>
</edge>
<edge id="e15" source="n0" target="n15" sourceport="p5" targetport="p0">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 10}">
<y:Label.Text>1:1</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle textFill="BLACK">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="12"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d8">
<y:GraphMLReference ResourceKey="12"/>
</data>
</edge>
<edge id="e16" source="n13" target="n15" sourceport="p1" targetport="p1">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 10}">
<y:Label.Text>0:N</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle textFill="BLACK">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="12"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d8">
<y:GraphMLReference ResourceKey="12"/>
</data>
</edge>
<edge id="e17" source="n13" target="n16" sourceport="p2" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="12"/>
</data>
</edge>
<edge id="e18" source="n13" target="n17" sourceport="p3" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="12"/>
</data>
</edge>
<edge id="e19" source="n14" target="n18" sourceport="p2" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="12"/>
</data>
</edge>
<edge id="e20" source="n0" target="n19" sourceport="p7" targetport="p0">
<data key="d6">
<x:List>
<y:Label>
<y:Label.Text>0:N</y:Label.Text>
<y:Label.LayoutParameter>
<y:SmartEdgeLabelModelParameter Model="{y:GraphMLReference 13}" Location="FromTarget" SegmentRatio="0.49999999999999944" Distance="-0.001"/>
</y:Label.LayoutParameter>
<y:Label.Style>
<yjs:DefaultLabelStyle textFill="BLACK">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="12"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d7">
<x:List>
<y:Bend Location="-84,-238.375"/>
</x:List>
</data>
<data key="d8">
<y:GraphMLReference ResourceKey="9"/>
</data>
</edge>
<edge id="e21" source="n0" target="n19" sourceport="p6" targetport="p1">
<data key="d6">
<x:List>
<y:Label>
<y:Label.Text>0,N</y:Label.Text>
<y:Label.LayoutParameter>
<y:SmartEdgeLabelModelParameter Model="{y:GraphMLReference 13}" SegmentRatio="0.12887957412033096" Distance="0.001"/>
</y:Label.LayoutParameter>
<y:Label.Style>
<yjs:DefaultLabelStyle textFill="BLACK">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="12"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d7">
<x:List>
<y:Bend Location="-193.25,-183.5"/>
</x:List>
</data>
<data key="d8">
<y:GraphMLReference ResourceKey="9"/>
</data>
</edge>
</graph>
</graphml>
@DevPGSV
Copy link
Author

DevPGSV commented Sep 19, 2018

Se guarda información de un videojuego.

Se guardan los países, con su nombre y número de habitantes.
En el turno actual, que países están en guerra con cuales otros.
Se guardan los productos, su nombre, cantidad vendida y comprada por cada país.
Se guardan las colonias, a que país pertenecen, su nombre, el número de habitantes, qué productos elaboran y la cantidad de cada producto.
Se guarda el rey de cada país y su color de ojos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment