Skip to content

Commit

Permalink
Merge pull request #94 from ucudal/feature/componentsdiagrams
Browse files Browse the repository at this point in the history
Feature/componentsdiagrams
  • Loading branch information
mazzapao authored Oct 23, 2024
2 parents 5ab2e75 + f2e0ad4 commit 30ab292
Show file tree
Hide file tree
Showing 10 changed files with 122 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 2_Tecnicas_y_herramientas/2_1_2_Diagramas_de_contexto.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Con el diagrama de contexto es posible derivar los [eventos del
negocio](/4_Conceptos/4_Evento_del_negocio.md), aunque durante el relevamiento
la identificación de los eventos del negocio puede modificar el diagrama de
contexto y viceversa. Los eventos del negocio se especifican usando la [plantilla
de eventos del negocio](/3_Plantillas/3_8_Eventos_del_negocio.md).
de eventos del negocio](/3_Plantillas/3_17_Eventos_del_negocio.md).

[^1]: Robertson, S. & Robertson, J. (2012). Mastering the Requirements Process:
Getting Requirements Right, 3<sup>rd</sup> Edition. Addison-Wesley Professional.
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,30 @@ Los diagramas de componentes tienen principalmente:
componente proporciona comportamiento a través de interfaces provistas y
consume comportamiento a través de interfaces requeridas.

![Componente](/diagrams/Component_Diagram_Component.svg)

* Paquetes, agrupan elementos del modelo, en este caso componentes, pero también
otros paquetes.

![Paquete](/diagrams/Component_Diagram_Package.svg)

* Artefactos, que se representan con un rectángulo con el estereotipo
`≪artifact≫`, y son elementos del modelo que representan las entidades físicas
en un sistema. Los artefactos representan unidades de implementación físicas,
como archivos ejecutables, bibliotecas, componentes de software, documentos y
bases de datos.

![Artefacto](/diagrams/Component_Diagram_Artifact.svg)

* Interfaces, que definen conjuntos de operaciones proporcionadas —en el caso de
las interfaces provistas— o requeridas —en el caso de las consumidas—. Las
interfaces provistas se representan con el símbolo de *lollipop* y las
consumidas por el símbolo de medio círculo o con una flecha punteada, aunque
también se pueden representar con un rectángulo con el estereotipo
`≪interface≫`, pues también son clasificadores.

![Interfaz](/diagrams/Component_Diagram_Interfaces.svg)

* Relaciones, una relación es una conexión entre elementos del modelo, en este
caso, que un componente implementa una interfaz, o requiere una interfaz, o es
parte de un paquete, o se implementa o despliega en una artefacto en
Expand Down
13 changes: 13 additions & 0 deletions diagrams/Component_Diagram_Artifact.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<mxfile host="65bd71144e">
<diagram id="XqkYgf9HitdkyBAaJOiF" name="Page-1">
<mxGraphModel dx="590" dy="561" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="6" value="«artifact»&lt;br&gt;&lt;b&gt;Name&lt;/b&gt;" style="html=1;dropTarget=0;fillColor=none;fontColor=#006EAF;strokeColor=#006EAF;" vertex="1" parent="1">
<mxGeometry x="40" y="40" width="120" height="60" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
1 change: 1 addition & 0 deletions diagrams/Component_Diagram_Artifact.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions diagrams/Component_Diagram_Component.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<mxfile host="65bd71144e">
<diagram id="ld-54vbx5rih1PHv7tF_" name="Page-1">
<mxGraphModel dx="590" dy="561" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="4" value="&lt;b&gt;Name&lt;/b&gt;" style="html=1;dropTarget=0;fillColor=none;fontColor=#006EAF;strokeColor=#006EAF;" vertex="1" parent="1">
<mxGeometry x="40" y="40" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="5" value="" style="shape=module;jettyWidth=8;jettyHeight=4;fillColor=none;fontColor=#006EAF;strokeColor=#006EAF;" vertex="1" parent="4">
<mxGeometry x="1" width="20" height="20" relative="1" as="geometry">
<mxPoint x="-27" y="7" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="8" value="«component»&lt;br&gt;&lt;b&gt;Name&lt;/b&gt;" style="html=1;dropTarget=0;fillColor=none;fontColor=#006EAF;strokeColor=#006EAF;" vertex="1" parent="1">
<mxGeometry x="200" y="40" width="120" height="60" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
1 change: 1 addition & 0 deletions diagrams/Component_Diagram_Component.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions diagrams/Component_Diagram_Interfaces.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<mxfile host="65bd71144e">
<diagram id="8tBCo-Jt2KXwqOIFsZ1j" name="Page-1">
<mxGraphModel dx="590" dy="561" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="2" value="«interface»&lt;br&gt;&lt;b&gt;Name&lt;/b&gt;" style="html=1;fontColor=#006EAF;fillColor=none;strokeColor=#006EAF;" vertex="1" parent="1">
<mxGeometry x="220" y="40" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="3" value="" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;endFill=0;sketch=0;sourcePerimeterSpacing=0;targetPerimeterSpacing=0;fontColor=#006EAF;fillColor=#1ba1e2;strokeColor=#006EAF;" edge="1" parent="1" source="6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="290" y="295" as="sourcePoint"/>
<mxPoint x="210" y="150" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="4" value="" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=halfCircle;endFill=0;entryX=0.5;entryY=0.5;endSize=6;strokeWidth=1;sketch=0;fontColor=#006EAF;fillColor=#1ba1e2;strokeColor=#006EAF;" edge="1" target="5" parent="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="280" y="150" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="5" value="" style="ellipse;whiteSpace=wrap;html=1;align=center;aspect=fixed;resizable=0;points=[];outlineConnect=0;sketch=0;fontColor=#ffffff;fillColor=#1ba1e2;strokeColor=#006EAF;" vertex="1" parent="1">
<mxGeometry x="210" y="145" width="10" height="10" as="geometry"/>
</mxCell>
<mxCell id="6" value="«component»&lt;br&gt;&lt;b&gt;Exposing&lt;/b&gt;" style="html=1;fontColor=#006EAF;fillColor=none;strokeColor=#006EAF;" vertex="1" parent="1">
<mxGeometry x="40" y="120" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="7" value="«component»&lt;br&gt;&lt;b&gt;Consuming&lt;/b&gt;" style="html=1;fontColor=#006EAF;fillColor=none;strokeColor=#006EAF;" vertex="1" parent="1">
<mxGeometry x="280" y="120" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="8" value="«component»&lt;br&gt;&lt;b&gt;Exposing&lt;/b&gt;" style="html=1;fontColor=#006EAF;fillColor=none;strokeColor=#006EAF;" vertex="1" parent="1">
<mxGeometry x="40" y="40" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="9" value="" style="endArrow=block;html=1;rounded=0;align=center;verticalAlign=bottom;endFill=0;labelBackgroundColor=none;endSize=8;fontColor=#006EAF;fillColor=#1ba1e2;strokeColor=#006EAF;" edge="1" parent="1" source="8" target="2">
<mxGeometry relative="1" as="geometry">
<mxPoint x="160" y="300" as="sourcePoint"/>
<mxPoint x="320" y="300" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="10" value="" style="resizable=0;html=1;align=center;verticalAlign=top;labelBackgroundColor=none;fontColor=#006EAF;" connectable="0" vertex="1" parent="9">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="11" value="«component»&lt;br&gt;&lt;b&gt;Consuming&lt;/b&gt;" style="html=1;fontColor=#006EAF;fillColor=none;strokeColor=#006EAF;" vertex="1" parent="1">
<mxGeometry x="400" y="40" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="12" value="" style="endArrow=open;html=1;rounded=0;align=center;verticalAlign=bottom;dashed=1;endFill=0;labelBackgroundColor=none;fontColor=#006EAF;fillColor=#1ba1e2;strokeColor=#006EAF;" edge="1" parent="1" source="11" target="2">
<mxGeometry relative="1" as="geometry">
<mxPoint x="210" y="280" as="sourcePoint"/>
<mxPoint x="370" y="280" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="13" value="" style="resizable=0;html=1;align=center;verticalAlign=top;labelBackgroundColor=none;fontColor=#006EAF;" connectable="0" vertex="1" parent="12">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Loading

0 comments on commit 30ab292

Please sign in to comment.