Skip to content

Commit

Permalink
Added Behavioral pattern UMLs
Browse files Browse the repository at this point in the history
  • Loading branch information
John Webb committed Jul 31, 2014
1 parent 658d601 commit 1dabe3c
Show file tree
Hide file tree
Showing 37 changed files with 5,601 additions and 4 deletions.
36 changes: 36 additions & 0 deletions Behavioral/ChainOfResponsibilities/uml/ChainOfResponsibilities.uml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<Diagram>
<ID>PHP</ID>
<OriginalElement>\DesignPatterns\Behavioral\ChainOfResponsibilities\Handler</OriginalElement>
<nodes>
<node x="54.5" y="0.0">\DesignPatterns\Behavioral\ChainOfResponsibilities\Handler</node>
<node x="0.0" y="158.0">\DesignPatterns\Behavioral\ChainOfResponsibilities\Responsible\SlowStorage</node>
<node x="154.0" y="158.0">\DesignPatterns\Behavioral\ChainOfResponsibilities\Responsible\FastStorage</node>
<node x="304.0" y="45.0">\DesignPatterns\Behavioral\ChainOfResponsibilities\Request</node>
</nodes>
<notes />
<edges>
<edge source="\DesignPatterns\Behavioral\ChainOfResponsibilities\Responsible\SlowStorage" target="\DesignPatterns\Behavioral\ChainOfResponsibilities\Handler">
<point x="0.0" y="-44.5" />
<point x="67.0" y="133.0" />
<point x="99.25" y="133.0" />
<point x="-44.75" y="54.0" />
</edge>
<edge source="\DesignPatterns\Behavioral\ChainOfResponsibilities\Responsible\FastStorage" target="\DesignPatterns\Behavioral\ChainOfResponsibilities\Handler">
<point x="0.0" y="-44.5" />
<point x="221.0" y="133.0" />
<point x="188.75" y="133.0" />
<point x="44.75" y="54.0" />
</edge>
</edges>
<settings layout="Hierarchic Group" zoom="1.0" x="188.0" y="123.5" />
<SelectedNodes />
<Categories>
<Category>Fields</Category>
<Category>Constants</Category>
<Category>Constructors</Category>
<Category>Methods</Category>
</Categories>
<VISIBILITY>private</VISIBILITY>
</Diagram>

Binary file added Behavioral/ChainOfResponsibilities/uml/uml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
363 changes: 363 additions & 0 deletions Behavioral/ChainOfResponsibilities/uml/uml.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions Behavioral/Command/uml/Command.uml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<Diagram>
<ID>PHP</ID>
<OriginalElement>\DesignPatterns\Behavioral\Command\HelloCommand</OriginalElement>
<nodes>
<node x="185.0" y="15.0">\DesignPatterns\Behavioral\Command\Invoker</node>
<node x="0.0" y="97.0">\DesignPatterns\Behavioral\Command\HelloCommand</node>
<node x="189.0" y="139.0">\DesignPatterns\Behavioral\Command\Receiver</node>
<node x="10.0" y="0.0">\DesignPatterns\Behavioral\Command\CommandInterface</node>
</nodes>
<notes />
<edges>
<edge source="\DesignPatterns\Behavioral\Command\HelloCommand" target="\DesignPatterns\Behavioral\Command\CommandInterface">
<point x="0.0" y="-44.5" />
<point x="0.0" y="23.5" />
</edge>
</edges>
<settings layout="Hierarchic Group" zoom="1.0" x="171.0" y="93.0" />
<SelectedNodes />
<Categories>
<Category>Fields</Category>
<Category>Constants</Category>
<Category>Constructors</Category>
<Category>Methods</Category>
</Categories>
<VISIBILITY>private</VISIBILITY>
</Diagram>

Binary file added Behavioral/Command/uml/uml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
366 changes: 366 additions & 0 deletions Behavioral/Command/uml/uml.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions Behavioral/Iterator/uml/Iterator.uml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<Diagram>
<ID>PHP</ID>
<OriginalElement>\DesignPatterns\Behavioral\Iterator\Book</OriginalElement>
<nodes>
<node x="30.0" y="239.0">\DesignPatterns\Behavioral\Iterator\BookListReverseIterator</node>
<node x="315.380829015544" y="226.96891191709844">\DesignPatterns\Behavioral\Iterator\BookList</node>
<node x="0.0" y="0.0">\DesignPatterns\Behavioral\Iterator\BookListIterator</node>
<node x="296.0" y="0.0">\DesignPatterns\Behavioral\Iterator\Book</node>
</nodes>
<notes />
<edges>
<edge source="\DesignPatterns\Behavioral\Iterator\BookListReverseIterator" target="\DesignPatterns\Behavioral\Iterator\BookListIterator">
<point x="0.0" y="-64.5" />
<point x="0.0" y="94.5" />
</edge>
</edges>
<settings layout="Hierarchic Group" zoom="1.0" x="250.0" y="184.0" />
<SelectedNodes />
<Categories>
<Category>Fields</Category>
<Category>Constants</Category>
<Category>Constructors</Category>
<Category>Methods</Category>
</Categories>
<VISIBILITY>private</VISIBILITY>
</Diagram>

Binary file added Behavioral/Iterator/uml/uml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
638 changes: 638 additions & 0 deletions Behavioral/Iterator/uml/uml.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions Behavioral/Mediator/uml/Mediator.uml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<Diagram>
<ID>PHP</ID>
<OriginalElement>\DesignPatterns\Behavioral\Mediator\Colleague</OriginalElement>
<nodes>
<node x="196.3419689119171" y="221.44559585492226">\DesignPatterns\Behavioral\Mediator\Subsystem\Database</node>
<node x="-347.65803108808296" y="7.461139896373059">\DesignPatterns\Behavioral\Mediator\MediatorInterface</node>
<node x="55.34196891191709" y="211.44559585492226">\DesignPatterns\Behavioral\Mediator\Subsystem\Client</node>
<node x="-353.65803108808296" y="144.46113989637306">\DesignPatterns\Behavioral\Mediator\Mediator</node>
<node x="-65.65803108808291" y="221.44559585492226">\DesignPatterns\Behavioral\Mediator\Subsystem\Server</node>
<node x="38.84196891191709" y="72.44559585492226">\DesignPatterns\Behavioral\Mediator\Colleague</node>
</nodes>
<notes />
<edges>
<edge source="\DesignPatterns\Behavioral\Mediator\Subsystem\Server" target="\DesignPatterns\Behavioral\Mediator\Colleague">
<point x="0.0" y="-23.5" />
<point x="-15.158031088082907" y="186.44559585492226" />
<point x="64.50863557858375" y="186.44559585492226" />
<point x="-51.333333333333336" y="44.5" />
</edge>
<edge source="\DesignPatterns\Behavioral\Mediator\Mediator" target="\DesignPatterns\Behavioral\Mediator\MediatorInterface">
<point x="0.0" y="-84.0" />
<point x="0.0" y="43.5" />
</edge>
<edge source="\DesignPatterns\Behavioral\Mediator\Subsystem\Client" target="\DesignPatterns\Behavioral\Mediator\Colleague">
<point x="0.0" y="-33.5" />
<point x="0.0" y="44.5" />
</edge>
<edge source="\DesignPatterns\Behavioral\Mediator\Subsystem\Database" target="\DesignPatterns\Behavioral\Mediator\Colleague">
<point x="0.0" y="-23.5" />
<point x="247.8419689119171" y="186.44559585492226" />
<point x="167.17530224525044" y="186.44559585492226" />
<point x="51.33333333333334" y="44.5" />
</edge>
</edges>
<settings layout="Hierarchic Group" zoom="1.0" x="-27.0" y="160.0" />
<SelectedNodes />
<Categories>
<Category>Fields</Category>
<Category>Constants</Category>
<Category>Constructors</Category>
<Category>Methods</Category>
</Categories>
<VISIBILITY>private</VISIBILITY>
</Diagram>

Binary file added Behavioral/Mediator/uml/uml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1dabe3c

Please sign in to comment.