Skip to content

Instantly share code, notes, and snippets.

@DevPGSV
Created September 19, 2018 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DevPGSV/a349af9ce13f8ea320bc087c81e5f9a1 to your computer and use it in GitHub Desktop.
Save DevPGSV/a349af9ce13f8ea320bc087c81e5f9a1 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:SolidColorFill x:Key="1" color="DarkOrange"/>
<yjs:Stroke x:Key="2" fill="{y:GraphMLReference 1}"/>
<yjs:Stroke x:Key="3" fill="{y:GraphMLReference 1}"/>
<yjs:Stroke x:Key="4" fill="{y:GraphMLReference 1}"/>
<yjs:Stroke x:Key="5" fill="BLACK" thickness="0.75"/>
<yjs:PolylineEdgeStyle x:Key="6" stroke="{y:GraphMLReference 5}"/>
<y:SmartEdgeLabelModel x:Key="7"/>
<y:SmartEdgeLabelModelParameter x:Key="8" Distance="5">
<y:SmartEdgeLabelModelParameter.Model>
<y:SmartEdgeLabelModel/>
</y:SmartEdgeLabelModelParameter.Model>
</y:SmartEdgeLabelModelParameter>
<yjs:PolylineEdgeStyle x:Key="9" stroke="{y:GraphMLReference 5}"/>
</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>Farmacia</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="25">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="25"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="-156" Y="-202" Width="131" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 2}" fill="{y:GraphMLReference 1}"/>
</data>
<port name="p0"/>
<port name="p1"/>
<port name="p2"/>
<port name="p3"/>
</node>
<node id="n1">
<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="-240" Y="-254.4375" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 3}" fill="{y:GraphMLReference 1}" shape="ELLIPSE"/>
</data>
<port name="p0"/>
</node>
<node id="n2">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Ciudad</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="25">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="25"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="-156" Y="-28" Width="131" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 2}" fill="{y:GraphMLReference 1}"/>
</data>
<port name="p0"/>
<port name="p1"/>
</node>
<node id="n3">
<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="-254.125" Y="-68" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 3}" fill="{y:GraphMLReference 1}" 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><![CDATA[Located in]]></y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="21">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="21"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
<y:Label>
<y:Label.Text>N:1</y:Label.Text>
<y:Label.LayoutParameter>
<y:RatioAnchoredLabelModelParameter LayoutOffset="93.78382861157479,25"/>
</y:Label.LayoutParameter>
<y:Label.Style>
<bpmn:AnnotationLabelStyle/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="-164.5" Y="-115" Width="148" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 1}" shape="DIAMOND"/>
</data>
<port name="p0"/>
<port name="p1"/>
</node>
<node id="n5">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Telefono</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="25">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="25"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="21.75" Y="-313.875" Width="131" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 2}" fill="{y:GraphMLReference 1}"/>
</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>Ingrediente</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="25">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="25"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="27.75" Y="-28" Width="131" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 2}" fill="{y:GraphMLReference 1}"/>
</data>
<port name="p0"/>
<port name="p1"/>
</node>
<node id="n7">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Lab</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="25">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="25"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="201.5" Y="-28" Width="131" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 2}" fill="{y:GraphMLReference 1}"/>
</data>
<port name="p0"/>
<port name="p1"/>
</node>
<node id="n8">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>TContactoF</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="21">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="21"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
<y:Label>
<y:Label.Text>1:N</y:Label.Text>
<y:Label.LayoutParameter>
<y:RatioAnchoredLabelModelParameter LayoutOffset="59.659914305787396,-24"/>
</y:Label.LayoutParameter>
<y:Label.Style>
<bpmn:AnnotationLabelStyle/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="-164.5" Y="-313.875" Width="148" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 1}" shape="DIAMOND"/>
</data>
<port name="p0"/>
<port name="p1"/>
</node>
<node id="n9">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>TContactoP</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="21">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="21"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
<y:Label>
<y:Label.Text>N:1</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="184.5" Y="-313.875" Width="148" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 1}" shape="DIAMOND"/>
</data>
<port name="p0"/>
<port name="p1"/>
</node>
<node id="n10">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Persona</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="25">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="25"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="370.6875" Y="-313.875" Width="131" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 2}" fill="{y:GraphMLReference 1}"/>
</data>
<port name="p0"/>
<port name="p1"/>
<port name="p2"/>
<port name="p3"/>
</node>
<node id="n11">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Contactos</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="21">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="21"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
<y:Label>
<y:Label.Text>1:N</y:Label.Text>
<y:Label.LayoutParameter>
<y:RatioAnchoredLabelModelParameter LayoutOffset="74.25,25"/>
</y:Label.LayoutParameter>
<y:Label.Style>
<bpmn:AnnotationLabelStyle/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="362.1875" Y="-28" Width="148" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 1}" shape="DIAMOND"/>
</data>
<port name="p0"/>
<port name="p1"/>
</node>
<node id="n12">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Med</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="25">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="25"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="193" Y="-202" Width="131" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 2}" fill="{y:GraphMLReference 1}"/>
</data>
<port name="p0"/>
<port name="p1"/>
<port name="p2"/>
</node>
<node id="n13">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Stock</y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="21">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="21"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
<y:Label>
<y:Label.Text>N:N</y:Label.Text>
<y:Label.LayoutParameter>
<y:RatioAnchoredLabelModelParameter LayoutOffset="58.66348219532857,25"/>
</y:Label.LayoutParameter>
<y:Label.Style>
<bpmn:AnnotationLabelStyle/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="19.25" Y="-202" Width="148" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 1}" shape="DIAMOND"/>
</data>
<port name="p0"/>
<port name="p1"/>
<port name="p2"/>
</node>
<node id="n14">
<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" textFill="BLACK" textSize="20">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="20"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="-1.5" Y="-242.5" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 3}" fill="{y:GraphMLReference 1}" shape="ELLIPSE"/>
</data>
<port name="p0"/>
</node>
<node id="n15">
<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" textFill="BLACK" textSize="21">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="21"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
<y:Label>
<y:Label.Text>N:N</y:Label.Text>
<y:Label.LayoutParameter>
<y:RatioAnchoredLabelModelParameter LayoutOffset="110.99996439065717,13"/>
</y:Label.LayoutParameter>
<y:Label.Style>
<bpmn:AnnotationLabelStyle/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="193" Y="-115" Width="148" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 1}" 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><![CDATA[Se compone]]></y:Label.Text>
<y:Label.Style>
<yjs:DefaultLabelStyle verticalTextAlignment="CENTER" horizontalTextAlignment="CENTER" textFill="BLACK" textSize="21">
<yjs:DefaultLabelStyle.font>
<yjs:Font fontSize="21"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
<y:Label>
<y:Label.Text>N:N</y:Label.Text>
<y:Label.LayoutParameter>
<y:RatioAnchoredLabelModelParameter LayoutOffset="58.66348219532857,-24"/>
</y:Label.LayoutParameter>
<y:Label.Style>
<bpmn:AnnotationLabelStyle/>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="19.25" Y="-115" Width="148" Height="37"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 4}" fill="{y:GraphMLReference 1}" shape="DIAMOND"/>
</data>
<port name="p0"/>
<port name="p1"/>
</node>
<node id="n17">
<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"/>
</yjs:DefaultLabelStyle.font>
</yjs:DefaultLabelStyle>
</y:Label.Style>
</y:Label>
</x:List>
</data>
<data key="d2">
<y:RectD X="408.8125" Y="-361.375" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 3}" fill="{y:GraphMLReference 1}" 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>NIF</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="313.8125" Y="-391.375" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 3}" fill="{y:GraphMLReference 1}" 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>Tel</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="25.75" Y="-369.75" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 3}" fill="{y:GraphMLReference 1}" shape="ELLIPSE"/>
</data>
<port name="p0"/>
</node>
<node id="n20">
<data key="d1">
<x:List>
<y:Label LayoutParameter="{x:Static y:InteriorLabelModel.North}">
<y:Label.Text>Ingrediente</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="5.875" Y="28.5" Width="123" Height="30"/>
</data>
<data key="d4">
<yjs:ShapeNodeStyle stroke="{y:GraphMLReference 3}" fill="{y:GraphMLReference 1}" shape="ELLIPSE"/>
</data>
<port name="p0"/>
</node>
<edge id="e0" source="n0" target="n1" sourceport="p0" targetport="p0">
<data key="d8">
<yjs:PolylineEdgeStyle stroke="{y:GraphMLReference 5}"/>
</data>
</edge>
<edge id="e1" source="n2" target="n3" sourceport="p0" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="6"/>
</data>
</edge>
<edge id="e2" source="n0" target="n4" sourceport="p1" 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 7}" Distance="5"/>
</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="d8">
<y:GraphMLReference ResourceKey="6"/>
</data>
</edge>
<edge id="e3" source="n2" target="n4" sourceport="p1" targetport="p1">
<data key="d6">
<x:List>
<y:Label>
<y:Label.Text>1:1</y:Label.Text>
<y:Label.LayoutParameter>
<y:SmartEdgeLabelModelParameter Model="{y:GraphMLReference 7}" SegmentRatio="0.4999999999999997" 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="d8">
<y:GraphMLReference ResourceKey="6"/>
</data>
</edge>
<edge id="e4" source="n0" target="n8" sourceport="p2" targetport="p0">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 8}">
<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="6"/>
</data>
</edge>
<edge id="e5" source="n10" target="n11" sourceport="p0" targetport="p0">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 8}">
<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="6"/>
</data>
</edge>
<edge id="e6" source="n10" target="n9" sourceport="p1" targetport="p0">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 8}">
<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="6"/>
</data>
</edge>
<edge id="e7" source="n5" target="n9" sourceport="p0" targetport="p1">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 8}">
<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="6"/>
</data>
</edge>
<edge id="e8" source="n5" target="n8" sourceport="p1" targetport="p1">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 8}">
<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="6"/>
</data>
</edge>
<edge id="e9" source="n0" target="n13" sourceport="p3" targetport="p0">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 8}">
<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="6"/>
</data>
</edge>
<edge id="e10" source="n12" target="n13" sourceport="p0" targetport="p1">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 8}">
<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="6"/>
</data>
</edge>
<edge id="e11" source="n13" target="n14" sourceport="p2" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="6"/>
</data>
</edge>
<edge id="e12" source="n12" target="n15" sourceport="p1" targetport="p0">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 8}">
<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="6"/>
</data>
</edge>
<edge id="e13" source="n12" target="n16" sourceport="p2" targetport="p0">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 8}">
<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="6"/>
</data>
</edge>
<edge id="e14" source="n7" target="n15" sourceport="p0" targetport="p1">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 8}">
<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="6"/>
</data>
</edge>
<edge id="e15" source="n6" target="n16" sourceport="p0" targetport="p1">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 8}">
<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="6"/>
</data>
</edge>
<edge id="e16" source="n7" target="n11" sourceport="p1" targetport="p1">
<data key="d6">
<x:List>
<y:Label LayoutParameter="{y:GraphMLReference 8}">
<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="6"/>
</data>
</edge>
<edge id="e17" source="n5" target="n19" sourceport="p2" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="6"/>
</data>
</edge>
<edge id="e18" source="n6" target="n20" sourceport="p1" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="9"/>
</data>
</edge>
<edge id="e19" source="n10" target="n17" sourceport="p2" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="9"/>
</data>
</edge>
<edge id="e20" source="n10" target="n18" sourceport="p3" targetport="p0">
<data key="d8">
<y:GraphMLReference ResourceKey="9"/>
</data>
</edge>
</graph>
</graphml>
@DevPGSV
Copy link
Author

DevPGSV commented Sep 19, 2018

BD para cadena de farmacias
De cada farmacia, guardar su nombre único, teléfonos de contacto.
Cada farmacia, en que ciudad está, y cuando habitantes tiene la ciudad.
Las farmacias tiene en stock medicamentos, de cada uno queremos saber cuanto hay en cada farmacia.
Cuales son los ingredientes de cada medicamento.
Qué laboratorios elaboran cada medicamento.
Cuales son las personas de contacto en ese lab: nombre, telefonos

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