Skip to content

Instantly share code, notes, and snippets.

@n-fukuju
Last active March 17, 2018 13:12
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 n-fukuju/4c1db61f17bb6763a38c31130625f15d to your computer and use it in GitHub Desktop.
Save n-fukuju/4c1db61f17bb6763a38c31130625f15d to your computer and use it in GitHub Desktop.
Jupyter Notebook で、PlantUMLを使用する。
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"PlantUML\n",
"==="
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 概要\n",
"Jupyter Notebook で、PlantUMLを使用する。 \n",
"リンク先の通りに作業すればよい。 \n",
"[plantuml.com](http://plantuml.com/) \n",
"[IPlantUML](https://pypi.python.org/pypi/IPlantUML/0.0.5) "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 導入\n",
"```bash\n",
"# PlantUML 本体を、/usr/local/bin へ\n",
"curl -L -o plantuml.jar http://sourceforge.net/projects/plantuml/files/plantuml.jar/download\n",
"sudo mv ./plantuml.jar /usr/local/bin/\n",
"\n",
"# Javaと、graphviz をインストール\n",
"sudo yum install java-1.8.0-openjdk\n",
"sudo yum install graphviz\n",
"\n",
"# Jupyter用のパッケージ追加\n",
"pip install iplantuml\n",
"```"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 環境確認"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"# pyenv versions\n",
" system\n",
"* anaconda3-4.3.1 (set by PYENV_VERSION environment variable)\n",
"# python --version\n",
"Python 3.6.0 :: Anaconda custom (64-bit)\n",
"# jupyter --version\n",
"4.2.1\n",
"# java -version\n",
"openjdk version \"1.8.0_131\"\n",
"OpenJDK Runtime Environment (build 1.8.0_131-b12)\n",
"OpenJDK 64-Bit Server VM (build 25.131-b12, mixed mode)\n",
"# echo ja_JP.UTF8\n"
]
}
],
"source": [
"%%bash\n",
"echo \"# pyenv versions\"\n",
"pyenv versions\n",
"echo \"# python --version\"\n",
"python --version 2>&1\n",
"echo \"# jupyter --version\"\n",
"jupyter --version\n",
"echo \"# java -version\"\n",
"java -version 2>&1\n",
"echo \"# echo $LANG\"\n",
"#localectl status"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 実行"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# インポート(カーネル起動のたびに必要)\n",
"import iplantuml"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg contentScriptType=\"application/ecmascript\" contentStyleType=\"text/css\" height=\"253px\" preserveAspectRatio=\"none\" style=\"width:274px;height:253px;\" version=\"1.1\" viewBox=\"0 0 274 253\" width=\"274px\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" zoomAndPan=\"magnify\"><defs><filter height=\"300%\" id=\"fphxmg53juilv\" width=\"300%\" x=\"-1\" y=\"-1\"><feGaussianBlur result=\"blurOut\" stdDeviation=\"2.0\"/><feColorMatrix in=\"blurOut\" result=\"blurOut2\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0\"/><feOffset dx=\"4.0\" dy=\"4.0\" in=\"blurOut2\" result=\"blurOut3\"/><feBlend in=\"SourceGraphic\" in2=\"blurOut3\" mode=\"normal\"/></filter></defs><g><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" font-weight=\"bold\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"42\" x=\"116.75\" y=\"23.7059\">シーケンス図</text><line style=\"stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;\" x1=\"32\" x2=\"32\" y1=\"71.3358\" y2=\"211.7119\"/><line style=\"stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;\" x1=\"245.5\" x2=\"245.5\" y1=\"71.3358\" y2=\"211.7119\"/><rect fill=\"#FEFECE\" filter=\"url(#fphxmg53juilv)\" height=\"31.3319\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"44\" x=\"8\" y=\"35.0039\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"30\" x=\"15\" y=\"55.3459\">Alice</text><rect fill=\"#FEFECE\" filter=\"url(#fphxmg53juilv)\" height=\"31.3319\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"44\" x=\"8\" y=\"210.7119\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"30\" x=\"15\" y=\"231.0538\">Alice</text><rect fill=\"#FEFECE\" filter=\"url(#fphxmg53juilv)\" height=\"31.3319\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"39\" x=\"224.5\" y=\"35.0039\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"25\" x=\"231.5\" y=\"55.3459\">Bob</text><rect fill=\"#FEFECE\" filter=\"url(#fphxmg53juilv)\" height=\"31.3319\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"39\" x=\"224.5\" y=\"210.7119\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"25\" x=\"231.5\" y=\"231.0538\">Bob</text><polygon fill=\"#A80036\" points=\"234,99.3358,244,103.3358,234,107.3358,238,103.3358\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><line style=\"stroke: #A80036; stroke-width: 1.0;\" x1=\"32\" x2=\"240\" y1=\"103.3358\" y2=\"103.3358\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"135\" x=\"39\" y=\"97.7249\">Authentication Request</text><polygon fill=\"#A80036\" points=\"43,129.4299,33,133.4299,43,137.4299,39,133.4299\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><line style=\"stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;\" x1=\"37\" x2=\"245\" y1=\"133.4299\" y2=\"133.4299\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"145\" x=\"49\" y=\"127.8189\">Authentication Response</text><polygon fill=\"#A80036\" points=\"234,159.5239,244,163.5239,234,167.5239,238,163.5239\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><line style=\"stroke: #A80036; stroke-width: 1.0;\" x1=\"32\" x2=\"240\" y1=\"163.5239\" y2=\"163.5239\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"182\" x=\"39\" y=\"157.9129\">Another authentication Request</text><polygon fill=\"#A80036\" points=\"43,189.6179,33,193.6179,43,197.6179,39,193.6179\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><line style=\"stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;\" x1=\"37\" x2=\"245\" y1=\"193.6179\" y2=\"193.6179\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"190\" x=\"49\" y=\"188.0069\">another authentication Response</text><!--\n",
"@startuml\n",
"Title シーケンス図\n",
"Alice -> Bob: Authentication Request\n",
"Bob - -> Alice: Authentication Response\n",
"\n",
"Alice -> Bob: Another authentication Request\n",
"Alice <- - Bob: another authentication Response\n",
"@enduml\n",
"\n",
"PlantUML version 1.2017.14(Mon Jun 05 09:56:32 UTC 2017)\n",
"(GPL source distribution)\n",
"Java Runtime: OpenJDK Runtime Environment\n",
"JVM: OpenJDK 64-Bit Server VM\n",
"Java Version: 1.8.0_131-b12\n",
"Operating System: Linux\n",
"OS Version: 3.10.0-514.21.2.el7.x86_64\n",
"Default Encoding: UTF-8\n",
"Language: ja\n",
"Country: JP\n",
"--></g></svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%%plantuml\n",
"@startuml\n",
"Title シーケンス図\n",
"Alice -> Bob: Authentication Request\n",
"Bob --> Alice: Authentication Response\n",
"\n",
"Alice -> Bob: Another authentication Request\n",
"Alice <-- Bob: another authentication Response\n",
"@enduml"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"scrolled": false
},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg contentScriptType=\"application/ecmascript\" contentStyleType=\"text/css\" height=\"387px\" preserveAspectRatio=\"none\" style=\"width:272px;height:387px;\" version=\"1.1\" viewBox=\"0 0 272 387\" width=\"272px\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" zoomAndPan=\"magnify\"><defs><filter height=\"300%\" id=\"f1mari8m1u3ktl\" width=\"300%\" x=\"-1\" y=\"-1\"><feGaussianBlur result=\"blurOut\" stdDeviation=\"2.0\"/><feColorMatrix in=\"blurOut\" result=\"blurOut2\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0\"/><feOffset dx=\"4.0\" dy=\"4.0\" in=\"blurOut2\" result=\"blurOut3\"/><feBlend in=\"SourceGraphic\" in2=\"blurOut3\" mode=\"normal\"/></filter></defs><g><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"18\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"35\" x=\"122.5\" y=\"17.1539\">ユースケース図</text><!--entity User--><ellipse cx=\"21\" cy=\"186.2839\" fill=\"#FEFECE\" filter=\"url(#f1mari8m1u3ktl)\" rx=\"8\" ry=\"8\" style=\"stroke: #A80036; stroke-width: 2.0;\"/><path d=\"M21,194.2839 L21,221.2839 M8,202.2839 L34,202.2839 M21,221.2839 L8,236.2839 M21,221.2839 L34,236.2839 \" fill=\"#FEFECE\" filter=\"url(#f1mari8m1u3ktl)\" style=\"stroke: #A80036; stroke-width: 2.0;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"30\" x=\"6\" y=\"256.6258\">User</text><ellipse cx=\"95.2132\" cy=\"218.0394\" fill=\"#FEFECE\" filter=\"url(#f1mari8m1u3ktl)\" rx=\"24.2132\" ry=\"15.2555\" style=\"stroke: #A80036; stroke-width: 1.5;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"30\" x=\"80.2132\" y=\"223.2053\">Start</text><ellipse cx=\"122.1659\" cy=\"358.167\" fill=\"#FEFECE\" filter=\"url(#f1mari8m1u3ktl)\" rx=\"77.4159\" ry=\"17.8832\" style=\"stroke: #A80036; stroke-width: 1.5;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"121\" x=\"61.6659\" y=\"363.333\">Use the application</text><!--entity Main Admin--><ellipse cx=\"189.25\" cy=\"40.2839\" fill=\"#FEFECE\" filter=\"url(#f1mari8m1u3ktl)\" rx=\"8\" ry=\"8\" style=\"stroke: #A80036; stroke-width: 2.0;\"/><path d=\"M189.25,48.2839 L189.25,75.2839 M176.25,56.2839 L202.25,56.2839 M189.25,75.2839 L176.25,90.2839 M189.25,75.2839 L202.25,90.2839 \" fill=\"#FEFECE\" filter=\"url(#f1mari8m1u3ktl)\" style=\"stroke: #A80036; stroke-width: 2.0;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"75\" x=\"151.75\" y=\"110.6258\">Main Admin</text><!--link User to Start--><path d=\"M36.0312,218.2839 C45.839,218.2839 55.6467,218.2839 65.4544,218.2839 \" fill=\"none\" id=\"User-Start\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><polygon fill=\"#A80036\" points=\"70.5833,218.2839,61.5833,214.2839,65.5833,218.2839,61.5833,222.2839,70.5833,218.2839\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><!--link User to Use the application--><path d=\"M36.1893,241.5889 C48.954,260.1589 67.8153,287.1993 85,310.2839 C91.3833,318.8587 98.6154,328.1368 104.9817,336.1662 \" fill=\"none\" id=\"User-Use the application\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><polygon fill=\"#A80036\" points=\"108.419,340.4861,105.9458,330.9528,105.306,336.5734,99.6854,335.9336,108.419,340.4861\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"75\" x=\"86\" y=\"304.1729\">A small label</text><!--link Main Admin to Use the application--><path d=\"M193.122,114.3479 C196.295,163.3249 196.078,246.5629 167,310.2839 C162.405,320.3524 154.737,329.5979 147.02,337.1757 \" fill=\"none\" id=\"Main Admin-Use the application\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><polygon fill=\"#A80036\" points=\"143.242,340.7581,152.5254,337.4689,146.8706,337.3181,147.0214,331.6632,143.242,340.7581\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"39\" x=\"208\" y=\"206.1729\">This is</text><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"65\" x=\"195\" y=\"222.2669\">yet another</text><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"27\" x=\"214\" y=\"238.3609\">label</text><!--\n",
"@startuml\n",
"Title ユースケース図\n",
"User -> (Start)\n",
"User - -> (Use the application) : A small label\n",
"\n",
":Main Admin: - - -> (Use the application) : This is\\nyet another\\nlabel\n",
"@enduml\n",
"\n",
"PlantUML version 1.2017.14(Mon Jun 05 09:56:32 UTC 2017)\n",
"(GPL source distribution)\n",
"Java Runtime: OpenJDK Runtime Environment\n",
"JVM: OpenJDK 64-Bit Server VM\n",
"Java Version: 1.8.0_131-b12\n",
"Operating System: Linux\n",
"OS Version: 3.10.0-514.21.2.el7.x86_64\n",
"Default Encoding: UTF-8\n",
"Language: ja\n",
"Country: JP\n",
"--></g></svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%%plantuml\n",
"@startuml\n",
"Title ユースケース図\n",
"User -> (Start)\n",
"User --> (Use the application) : A small label\n",
"\n",
":Main Admin: ---> (Use the application) : This is\\nyet another\\nlabel\n",
"@enduml"
]
},
{
"cell_type": "code",
"execution_count": 23,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg contentScriptType=\"application/ecmascript\" contentStyleType=\"text/css\" height=\"415px\" preserveAspectRatio=\"none\" style=\"width:612px;height:415px;\" version=\"1.1\" viewBox=\"0 0 612 415\" width=\"612px\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" zoomAndPan=\"magnify\"><defs><filter height=\"300%\" id=\"fxdex9g0032rf\" width=\"300%\" x=\"-1\" y=\"-1\"><feGaussianBlur result=\"blurOut\" stdDeviation=\"2.0\"/><feColorMatrix in=\"blurOut\" result=\"blurOut2\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0\"/><feOffset dx=\"4.0\" dy=\"4.0\" in=\"blurOut2\" result=\"blurOut3\"/><feBlend in=\"SourceGraphic\" in2=\"blurOut3\" mode=\"normal\"/></filter></defs><g><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"18\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"20\" x=\"294\" y=\"17.1539\">クラス図</text><!--class Object--><rect fill=\"#FEFECE\" filter=\"url(#fxdex9g0032rf)\" height=\"56.0122\" id=\"Object\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"84\" x=\"299\" y=\"138.2839\"/><ellipse cx=\"314\" cy=\"158.29\" fill=\"#ADD1B2\" rx=\"11\" ry=\"11\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><path d=\"M316.3438,153.9618 C315.4063,153.5243 314.8125,153.3837 313.9375,153.3837 C311.3125,153.3837 309.3125,155.4618 309.3125,158.1806 L309.3125,159.3056 C309.3125,161.8837 311.4219,163.7743 314.3125,163.7743 C315.5313,163.7743 316.6875,163.4775 317.4375,162.9306 C318.0156,162.5243 318.3438,162.0712 318.3438,161.6806 C318.3438,161.2275 317.9531,160.8368 317.4844,160.8368 C317.2656,160.8368 317.0625,160.915 316.875,161.1025 C316.4219,161.5868 316.4219,161.5868 316.2344,161.6806 C315.8125,161.9462 315.125,162.0712 314.3594,162.0712 C312.3125,162.0712 311.0156,160.9775 311.0156,159.2743 L311.0156,158.1806 C311.0156,156.3993 312.2656,155.0868 314,155.0868 C314.5781,155.0868 315.1875,155.2431 315.6563,155.4931 C316.1406,155.7743 316.3125,155.9931 316.4063,156.3993 C316.4688,156.8056 316.5,156.9306 316.6406,157.0556 C316.7813,157.1962 317.0156,157.3056 317.2344,157.3056 C317.5,157.3056 317.7656,157.165 317.9375,156.9462 C318.0469,156.79 318.0781,156.6025 318.0781,156.1806 L318.0781,154.7587 C318.0781,154.3212 318.0625,154.1962 317.9688,154.04 C317.8125,153.7743 317.5313,153.6337 317.2344,153.6337 C316.9375,153.6337 316.7344,153.7275 316.5156,154.04 L316.3438,153.9618 Z \"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"12\" font-style=\"italic\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"56\" x=\"326\" y=\"155.0319\">«general»</text><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"12\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"35\" x=\"336.5\" y=\"169.876\">Object</text><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"300\" x2=\"382\" y1=\"178.2961\" y2=\"178.2961\"/><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"300\" x2=\"382\" y1=\"186.2961\" y2=\"186.2961\"/><!--class ArrayList--><rect fill=\"#FEFECE\" filter=\"url(#fxdex9g0032rf)\" height=\"48\" id=\"ArrayList\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"80\" x=\"301\" y=\"356.2839\"/><ellipse cx=\"316\" cy=\"372.2839\" fill=\"#ADD1B2\" rx=\"11\" ry=\"11\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><path d=\"M318.3438,367.9557 C317.4063,367.5182 316.8125,367.3776 315.9375,367.3776 C313.3125,367.3776 311.3125,369.4557 311.3125,372.1745 L311.3125,373.2995 C311.3125,375.8776 313.4219,377.7682 316.3125,377.7682 C317.5313,377.7682 318.6875,377.4714 319.4375,376.9245 C320.0156,376.5182 320.3438,376.0651 320.3438,375.6745 C320.3438,375.2214 319.9531,374.8307 319.4844,374.8307 C319.2656,374.8307 319.0625,374.9089 318.875,375.0964 C318.4219,375.5807 318.4219,375.5807 318.2344,375.6745 C317.8125,375.9401 317.125,376.0651 316.3594,376.0651 C314.3125,376.0651 313.0156,374.9714 313.0156,373.2682 L313.0156,372.1745 C313.0156,370.3932 314.2656,369.0807 316,369.0807 C316.5781,369.0807 317.1875,369.237 317.6563,369.487 C318.1406,369.7682 318.3125,369.987 318.4063,370.3932 C318.4688,370.7995 318.5,370.9245 318.6406,371.0495 C318.7813,371.1901 319.0156,371.2995 319.2344,371.2995 C319.5,371.2995 319.7656,371.1589 319.9375,370.9401 C320.0469,370.7839 320.0781,370.5964 320.0781,370.1745 L320.0781,368.7526 C320.0781,368.3151 320.0625,368.1901 319.9688,368.0339 C319.8125,367.7682 319.5313,367.6276 319.2344,367.6276 C318.9375,367.6276 318.7344,367.7214 318.5156,368.0339 L318.3438,367.9557 Z \"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"12\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"48\" x=\"330\" y=\"376.2919\">ArrayList</text><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"302\" x2=\"380\" y1=\"388.2839\" y2=\"388.2839\"/><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"302\" x2=\"380\" y1=\"396.2839\" y2=\"396.2839\"/><polygon fill=\"#FBFB77\" filter=\"url(#fxdex9g0032rf)\" points=\"273.75,33.2839,273.75,75.4719,408.75,75.4719,408.75,43.2839,398.75,33.2839,273.75,33.2839\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><polygon fill=\"#FBFB77\" points=\"273.75,33.2839,273.75,75.4719,337,75.4719,341,138.1899,345,75.4719,408.75,75.4719,408.75,43.2839,398.75,33.2839,273.75,33.2839\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><line style=\"stroke: #A80036; stroke-width: 1.0;\" x1=\"398.75\" x2=\"398.75\" y1=\"33.2839\" y2=\"43.2839\"/><line style=\"stroke: #A80036; stroke-width: 1.0;\" x1=\"408.75\" x2=\"398.75\" y1=\"43.2839\" y2=\"43.2839\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"114\" x=\"279.75\" y=\"50.6729\">In java, every class</text><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"100\" x=\"279.75\" y=\"66.7669\">extends this one.</text><polygon fill=\"#FBFB77\" filter=\"url(#fxdex9g0032rf)\" points=\"444,41.2839,444,67.3779,590,67.3779,590,51.2839,580,41.2839,444,41.2839\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><line style=\"stroke: #A80036; stroke-width: 1.0;\" x1=\"580\" x2=\"580\" y1=\"41.2839\" y2=\"51.2839\"/><line style=\"stroke: #A80036; stroke-width: 1.0;\" x1=\"590\" x2=\"580\" y1=\"51.2839\" y2=\"51.2839\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"125\" x=\"450\" y=\"58.6729\">This is a floating note</text><polygon fill=\"#FBFB77\" filter=\"url(#fxdex9g0032rf)\" points=\"329.75,254.2839,329.75,296.4719,482.75,296.4719,482.75,264.2839,472.75,254.2839,329.75,254.2839\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><line style=\"stroke: #A80036; stroke-width: 1.0;\" x1=\"472.75\" x2=\"472.75\" y1=\"254.2839\" y2=\"264.2839\"/><line style=\"stroke: #A80036; stroke-width: 1.0;\" x1=\"482.75\" x2=\"472.75\" y1=\"264.2839\" y2=\"264.2839\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"132\" x=\"335.75\" y=\"271.6729\">This note is connected</text><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"107\" x=\"335.75\" y=\"287.7669\">to several objects.</text><!--class Foo--><rect fill=\"#FEFECE\" filter=\"url(#fxdex9g0032rf)\" height=\"48\" id=\"Foo\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"53\" x=\"185.75\" y=\"30.2839\"/><ellipse cx=\"200.75\" cy=\"46.2839\" fill=\"#ADD1B2\" rx=\"11\" ry=\"11\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><path d=\"M203.0938,41.9557 C202.1563,41.5182 201.5625,41.3776 200.6875,41.3776 C198.0625,41.3776 196.0625,43.4557 196.0625,46.1745 L196.0625,47.2995 C196.0625,49.8776 198.1719,51.7682 201.0625,51.7682 C202.2813,51.7682 203.4375,51.4714 204.1875,50.9245 C204.7656,50.5182 205.0938,50.0651 205.0938,49.6745 C205.0938,49.2214 204.7031,48.8307 204.2344,48.8307 C204.0156,48.8307 203.8125,48.9089 203.625,49.0964 C203.1719,49.5807 203.1719,49.5807 202.9844,49.6745 C202.5625,49.9401 201.875,50.0651 201.1094,50.0651 C199.0625,50.0651 197.7656,48.9714 197.7656,47.2682 L197.7656,46.1745 C197.7656,44.3932 199.0156,43.0807 200.75,43.0807 C201.3281,43.0807 201.9375,43.237 202.4063,43.487 C202.8906,43.7682 203.0625,43.987 203.1563,44.3932 C203.2188,44.7995 203.25,44.9245 203.3906,45.0495 C203.5313,45.1901 203.7656,45.2995 203.9844,45.2995 C204.25,45.2995 204.5156,45.1589 204.6875,44.9401 C204.7969,44.7839 204.8281,44.5964 204.8281,44.1745 L204.8281,42.7526 C204.8281,42.3151 204.8125,42.1901 204.7188,42.0339 C204.5625,41.7682 204.2813,41.6276 203.9844,41.6276 C203.6875,41.6276 203.4844,41.7214 203.2656,42.0339 L203.0938,41.9557 Z \"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"12\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"21\" x=\"214.75\" y=\"50.2919\">Foo</text><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"186.75\" x2=\"237.75\" y1=\"62.2839\" y2=\"62.2839\"/><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"186.75\" x2=\"237.75\" y1=\"70.2839\" y2=\"70.2839\"/><polygon fill=\"#FBFB77\" filter=\"url(#fxdex9g0032rf)\" points=\"6,41.2839,6,67.3779,150,67.3779,150,51.2839,140,41.2839,6,41.2839\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><polygon fill=\"#FBFB77\" points=\"6,41.2839,6,67.3779,150,67.3779,150,59.2839,185.46,54.2839,150,51.2839,150,51.2839,140,41.2839,6,41.2839\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><line style=\"stroke: #A80036; stroke-width: 1.0;\" x1=\"140\" x2=\"140\" y1=\"41.2839\" y2=\"51.2839\"/><line style=\"stroke: #A80036; stroke-width: 1.0;\" x1=\"150\" x2=\"140\" y1=\"51.2839\" y2=\"51.2839\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"123\" x=\"12\" y=\"58.6729\">On last defined class</text><!--link Object to ArrayList--><path d=\"M322.516,213.5599 C318.183,226.5259 314.192,240.7729 312,254.2839 C309.01,272.7099 308.877,277.8799 312,296.2839 C315.549,317.2019 323.794,339.8739 330.589,356.2282 \" fill=\"none\" id=\"Object-ArrayList\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><polygon fill=\"none\" points=\"316.014,210.9559,329.399,194.5299,329.179,215.7179,316.014,210.9559\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><!--link Object to N2--><path d=\"M357.402,194.2849 C368.685,212.8579 383.43,237.1309 393.707,254.0479 \" fill=\"none\" id=\"Object-N2\" style=\"stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 7.0,7.0;\"/><!--link N2 to ArrayList--><path d=\"M393.158,296.6329 C382.355,313.7527 366.909,338.2279 355.63,356.1005 \" fill=\"none\" id=\"N2-ArrayList\" style=\"stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 7.0,7.0;\"/><!--\n",
"@startuml\n",
"Title クラス図\n",
"class Object << general >>\n",
"Object <|- - - ArrayList\n",
"\n",
"note top of Object : In java, every class\\nextends this one.\n",
"\n",
"note \"This is a floating note\" as N1\n",
"note \"This note is connected\\nto several objects.\" as N2\n",
"Object .. N2\n",
"N2 .. ArrayList\n",
"\n",
"class Foo\n",
"note left: On last defined class\n",
"\n",
"@enduml\n",
"\n",
"PlantUML version 1.2017.14(Mon Jun 05 09:56:32 UTC 2017)\n",
"(GPL source distribution)\n",
"Java Runtime: OpenJDK Runtime Environment\n",
"JVM: OpenJDK 64-Bit Server VM\n",
"Java Version: 1.8.0_131-b12\n",
"Operating System: Linux\n",
"OS Version: 3.10.0-514.21.2.el7.x86_64\n",
"Default Encoding: UTF-8\n",
"Language: en\n",
"Country: US\n",
"--></g></svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"execution_count": 23,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%%plantuml\n",
"@startuml\n",
"Title クラス図\n",
"class Object << general >>\n",
"Object <|--- ArrayList\n",
"\n",
"note top of Object : In java, every class\\nextends this one.\n",
"\n",
"note \"This is a floating note\" as N1\n",
"note \"This note is connected\\nto several objects.\" as N2\n",
"Object .. N2\n",
"N2 .. ArrayList\n",
"\n",
"class Foo\n",
"note left: On last defined class\n",
"\n",
"@enduml"
]
},
{
"cell_type": "code",
"execution_count": 24,
"metadata": {
"scrolled": true
},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg contentScriptType=\"application/ecmascript\" contentStyleType=\"text/css\" height=\"194px\" preserveAspectRatio=\"none\" style=\"width:320px;height:194px;\" version=\"1.1\" viewBox=\"0 0 320 194\" width=\"320px\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" zoomAndPan=\"magnify\"><defs><filter height=\"300%\" id=\"f3oxho2jij9jq\" width=\"300%\" x=\"-1\" y=\"-1\"><feGaussianBlur result=\"blurOut\" stdDeviation=\"2.0\"/><feColorMatrix in=\"blurOut\" result=\"blurOut2\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0\"/><feOffset dx=\"4.0\" dy=\"4.0\" in=\"blurOut2\" result=\"blurOut3\"/><feBlend in=\"SourceGraphic\" in2=\"blurOut3\" mode=\"normal\"/></filter></defs><g><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"18\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"40\" x=\"143.25\" y=\"17.1539\">コンポーネント図</text><!--entity First component--><rect fill=\"#FEFECE\" filter=\"url(#f3oxho2jij9jq)\" height=\"37.3319\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"123\" x=\"6\" y=\"30.7839\"/><rect fill=\"#FEFECE\" height=\"5\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"10\" x=\"1\" y=\"35.7839\"/><rect fill=\"#FEFECE\" height=\"5\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"10\" x=\"1\" y=\"58.1158\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"103\" x=\"16\" y=\"54.1258\">First component</text><!--entity Comp2--><rect fill=\"#FEFECE\" filter=\"url(#f3oxho2jij9jq)\" height=\"37.3319\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"145\" x=\"164\" y=\"30.7839\"/><rect fill=\"#FEFECE\" height=\"5\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"10\" x=\"159\" y=\"35.7839\"/><rect fill=\"#FEFECE\" height=\"5\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"10\" x=\"159\" y=\"58.1158\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"125\" x=\"174\" y=\"54.1258\">Another component</text><!--entity Comp3--><rect fill=\"#FEFECE\" filter=\"url(#f3oxho2jij9jq)\" height=\"37.3319\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"66\" x=\"34.25\" y=\"137.7839\"/><rect fill=\"#FEFECE\" height=\"5\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"10\" x=\"29.25\" y=\"142.7839\"/><rect fill=\"#FEFECE\" height=\"5\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"10\" x=\"29.25\" y=\"165.1158\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"46\" x=\"44.25\" y=\"161.1258\">Comp3</text><!--entity Comp4--><rect fill=\"#FEFECE\" filter=\"url(#f3oxho2jij9jq)\" height=\"54.6638\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"91\" x=\"136\" y=\"128.7839\"/><rect fill=\"#FEFECE\" height=\"5\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"10\" x=\"131\" y=\"133.7839\"/><rect fill=\"#FEFECE\" height=\"5\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"10\" x=\"131\" y=\"173.4477\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"27\" x=\"146\" y=\"152.1258\">Last</text><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"71\" x=\"146\" y=\"169.4577\">component</text><!--link First component to Comp2--><!--link First component to Comp3--><!--link Comp3 to Comp4--><!--\n",
"@startuml\n",
"Title コンポーネント図\n",
"[First component]\n",
"[Another component] as Comp2 \n",
"component Comp3\n",
"component [Last\\ncomponent] as Comp4\n",
"\n",
"@enduml\n",
"\n",
"PlantUML version 1.2017.14(Mon Jun 05 09:56:32 UTC 2017)\n",
"(GPL source distribution)\n",
"Java Runtime: OpenJDK Runtime Environment\n",
"JVM: OpenJDK 64-Bit Server VM\n",
"Java Version: 1.8.0_131-b12\n",
"Operating System: Linux\n",
"OS Version: 3.10.0-514.21.2.el7.x86_64\n",
"Default Encoding: UTF-8\n",
"Language: en\n",
"Country: US\n",
"--></g></svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"execution_count": 24,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%%plantuml\n",
"@startuml\n",
"Title コンポーネント図\n",
"[First component]\n",
"[Another component] as Comp2 \n",
"component Comp3\n",
"component [Last\\ncomponent] as Comp4\n",
"\n",
"@enduml"
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg contentScriptType=\"application/ecmascript\" contentStyleType=\"text/css\" height=\"269px\" preserveAspectRatio=\"none\" style=\"width:243px;height:269px;\" version=\"1.1\" viewBox=\"0 0 243 269\" width=\"243px\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" zoomAndPan=\"magnify\"><defs><filter height=\"300%\" id=\"f140narsoo575k\" width=\"300%\" x=\"-1\" y=\"-1\"><feGaussianBlur result=\"blurOut\" stdDeviation=\"2.0\"/><feColorMatrix in=\"blurOut\" result=\"blurOut2\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0\"/><feOffset dx=\"4.0\" dy=\"4.0\" in=\"blurOut2\" result=\"blurOut3\"/><feBlend in=\"SourceGraphic\" in2=\"blurOut3\" mode=\"normal\"/></filter></defs><g><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"18\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"25\" x=\"111.75\" y=\"17.1539\">状態遷移図</text><ellipse cx=\"70.25\" cy=\"40.2839\" fill=\"#000000\" filter=\"url(#f140narsoo575k)\" rx=\"10\" ry=\"10\" style=\"stroke: none; stroke-width: 1.0;\"/><rect fill=\"#FEFECE\" filter=\"url(#f140narsoo575k)\" height=\"67.0441\" rx=\"12.5\" ry=\"12.5\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"129\" x=\"6\" y=\"110.7839\"/><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"6\" x2=\"135\" y1=\"138.1158\" y2=\"138.1158\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"41\" x=\"50\" y=\"129.1258\">State1</text><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"12\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"74\" x=\"11\" y=\"154.5519\">this is a string</text><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"12\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"109\" x=\"11\" y=\"169.408\">this is another string</text><ellipse cx=\"135.25\" cy=\"248.2839\" fill=\"none\" filter=\"url(#f140narsoo575k)\" rx=\"10\" ry=\"10\" style=\"stroke: #000000; stroke-width: 1.0;\"/><ellipse cx=\"135.75\" cy=\"248.7839\" fill=\"#000000\" rx=\"6\" ry=\"6\" style=\"stroke: none; stroke-width: 1.0;\"/><rect fill=\"#FEFECE\" filter=\"url(#f140narsoo575k)\" height=\"50\" rx=\"12.5\" ry=\"12.5\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"61\" x=\"170\" y=\"119.2839\"/><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"170\" x2=\"231\" y1=\"146.6158\" y2=\"146.6158\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"41\" x=\"180\" y=\"137.6258\">State2</text><!--link *start to State1--><path d=\"M70.25,50.3359 C70.25,62.5989 70.25,85.2449 70.25,105.1129 \" fill=\"none\" id=\"*start-State1\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><polygon fill=\"#A80036\" points=\"70.25,110.3629,74.25,101.3629,70.25,105.3629,66.25,101.3629,70.25,110.3629\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><!--link State1 to *end--><path d=\"M90.9951,177.8378 C103.4126,197.3236 118.476,220.9616 127.44,235.0278 \" fill=\"none\" id=\"State1-*end\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><polygon fill=\"#A80036\" points=\"130.233,239.4113,128.7702,229.6716,127.5462,235.1945,122.0234,233.9705,130.233,239.4113\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><!--link State1 to State2--><path d=\"M134.742,144.2839 C144.693,144.2839 154.644,144.2839 164.595,144.2839 \" fill=\"none\" id=\"State1-State2\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><polygon fill=\"#A80036\" points=\"169.799,144.2839,160.799,140.2839,164.799,144.2839,160.799,148.2839,169.799,144.2839\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><!--link State2 to *end--><path d=\"M184.846,169.4565 C171.781,189.9577 153.564,218.5444 143.235,234.7543 \" fill=\"none\" id=\"State2-*end\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><polygon fill=\"#A80036\" points=\"140.296,239.365,148.5066,233.9256,142.9835,235.1487,141.7605,229.6256,140.296,239.365\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><!--\n",
"@startuml\n",
"Title 状態遷移図\n",
"[*] - -> State1\n",
"State1 - -> [*]\n",
"State1 : this is a string\n",
"State1 : this is another string\n",
"\n",
"State1 -> State2\n",
"State2 - -> [*]\n",
"\n",
"@enduml\n",
"\n",
"PlantUML version 1.2017.14(Mon Jun 05 09:56:32 UTC 2017)\n",
"(GPL source distribution)\n",
"Java Runtime: OpenJDK Runtime Environment\n",
"JVM: OpenJDK 64-Bit Server VM\n",
"Java Version: 1.8.0_131-b12\n",
"Operating System: Linux\n",
"OS Version: 3.10.0-514.21.2.el7.x86_64\n",
"Default Encoding: UTF-8\n",
"Language: en\n",
"Country: US\n",
"--></g></svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"execution_count": 25,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%%plantuml\n",
"@startuml\n",
"Title 状態遷移図\n",
"[*] --> State1\n",
"State1 --> [*]\n",
"State1 : this is a string\n",
"State1 : this is another string\n",
"\n",
"State1 -> State2\n",
"State2 --> [*]\n",
"\n",
"@enduml"
]
},
{
"cell_type": "code",
"execution_count": 26,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg contentScriptType=\"application/ecmascript\" contentStyleType=\"text/css\" height=\"170px\" preserveAspectRatio=\"none\" style=\"width:414px;height:170px;\" version=\"1.1\" viewBox=\"0 0 414 170\" width=\"414px\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" zoomAndPan=\"magnify\"><defs><filter height=\"300%\" id=\"f1c54sujdwv4j7\" width=\"300%\" x=\"-1\" y=\"-1\"><feGaussianBlur result=\"blurOut\" stdDeviation=\"2.0\"/><feColorMatrix in=\"blurOut\" result=\"blurOut2\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0\"/><feOffset dx=\"4.0\" dy=\"4.0\" in=\"blurOut2\" result=\"blurOut3\"/><feBlend in=\"SourceGraphic\" in2=\"blurOut3\" mode=\"normal\"/></filter></defs><g><rect fill=\"#FEFECE\" filter=\"url(#f1c54sujdwv4j7)\" height=\"34.8561\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"63\" x=\"6\" y=\"8.5\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"12\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"49\" x=\"13\" y=\"21.9361\">Object01</text><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"7\" x2=\"68\" y1=\"27.3561\" y2=\"27.3561\"/><rect fill=\"#FEFECE\" filter=\"url(#f1c54sujdwv4j7)\" height=\"34.8561\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"63\" x=\"6\" y=\"124.5\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"12\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"49\" x=\"13\" y=\"137.9361\">Object02</text><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"7\" x2=\"68\" y1=\"143.3561\" y2=\"143.3561\"/><rect fill=\"#FEFECE\" filter=\"url(#f1c54sujdwv4j7)\" height=\"34.8561\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"63\" x=\"104\" y=\"8.5\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"12\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"49\" x=\"111\" y=\"21.9361\">Object03</text><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"105\" x2=\"166\" y1=\"27.3561\" y2=\"27.3561\"/><rect fill=\"#FEFECE\" filter=\"url(#f1c54sujdwv4j7)\" height=\"34.8561\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"63\" x=\"104\" y=\"124.5\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"12\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"49\" x=\"111\" y=\"137.9361\">Object04</text><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"105\" x2=\"166\" y1=\"143.3561\" y2=\"143.3561\"/><rect fill=\"#FEFECE\" filter=\"url(#f1c54sujdwv4j7)\" height=\"34.8561\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"63\" x=\"202\" y=\"8.5\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"12\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"49\" x=\"209\" y=\"21.9361\">Object05</text><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"203\" x2=\"264\" y1=\"27.3561\" y2=\"27.3561\"/><rect fill=\"#FEFECE\" filter=\"url(#f1c54sujdwv4j7)\" height=\"34.8561\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"63\" x=\"202\" y=\"124.5\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"12\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"49\" x=\"209\" y=\"137.9361\">Object06</text><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"203\" x2=\"264\" y1=\"143.3561\" y2=\"143.3561\"/><rect fill=\"#FEFECE\" filter=\"url(#f1c54sujdwv4j7)\" height=\"34.8561\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"63\" x=\"300\" y=\"8.5\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"12\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"49\" x=\"307\" y=\"21.9361\">Object07</text><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"301\" x2=\"362\" y1=\"27.3561\" y2=\"27.3561\"/><rect fill=\"#FEFECE\" filter=\"url(#f1c54sujdwv4j7)\" height=\"34.8561\" style=\"stroke: #A80036; stroke-width: 1.5;\" width=\"63\" x=\"300\" y=\"124.5\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"12\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"49\" x=\"307\" y=\"137.9361\">Object08</text><line style=\"stroke: #A80036; stroke-width: 1.5;\" x1=\"301\" x2=\"362\" y1=\"143.3561\" y2=\"143.3561\"/><!--link Object01 to Object02--><path d=\"M37.25,63.8403 C37.25,84.2715 37.25,108.6695 37.25,124.4805 \" fill=\"none\" id=\"Object01-Object02\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><polygon fill=\"none\" points=\"30.2501,63.8211,37.25,43.821,44.2501,63.8211,30.2501,63.8211\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><!--link Object03 to Object04--><path d=\"M135.25,56.851 C135.25,78.4438 135.25,106.8193 135.25,124.4805 \" fill=\"none\" id=\"Object03-Object04\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><polygon fill=\"#A80036\" points=\"135.25,43.821,131.25,49.821,135.25,55.821,139.25,49.821,135.25,43.821\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><!--link Object05 to Object06--><path d=\"M233.25,56.851 C233.25,78.4438 233.25,106.8193 233.25,124.4805 \" fill=\"none\" id=\"Object05-Object06\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><polygon fill=\"#FFFFFF\" points=\"233.25,43.821,229.25,49.821,233.25,55.821,237.25,49.821,233.25,43.821\" style=\"stroke: #A80036; stroke-width: 1.0;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"7\" x=\"223.9734\" y=\"112.7744\">4</text><!--link Object07 to Object08--><path d=\"M331.25,43.821 C331.25,65.4985 331.25,102.9506 331.25,124.4805 \" fill=\"none\" id=\"Object07-Object08\" style=\"stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 7.0,7.0;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"70\" x=\"332.25\" y=\"87.889\">some labels</text><!--\n",
"@startuml\n",
"object Object01\n",
"object Object02\n",
"object Object03\n",
"object Object04\n",
"object Object05\n",
"object Object06\n",
"object Object07\n",
"object Object08\n",
"\n",
"Object01 <|- - Object02\n",
"Object03 *- - Object04\n",
"Object05 o- - \"4\" Object06\n",
"Object07 .. Object08 : some labels\n",
"@enduml\n",
"\n",
"PlantUML version 1.2017.14(Mon Jun 05 09:56:32 UTC 2017)\n",
"(GPL source distribution)\n",
"Java Runtime: OpenJDK Runtime Environment\n",
"JVM: OpenJDK 64-Bit Server VM\n",
"Java Version: 1.8.0_131-b12\n",
"Operating System: Linux\n",
"OS Version: 3.10.0-514.21.2.el7.x86_64\n",
"Default Encoding: UTF-8\n",
"Language: en\n",
"Country: US\n",
"--></g></svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"execution_count": 26,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%%plantuml\n",
"@startuml\n",
"Title オブジェクト図\n",
"object Object01\n",
"object Object02\n",
"object Object03\n",
"object Object04\n",
"object Object05\n",
"object Object06\n",
"object Object07\n",
"object Object08\n",
"\n",
"Object01 <|-- Object02\n",
"Object03 *-- Object04\n",
"Object05 o-- \"4\" Object06\n",
"Object07 .. Object08 : some labels\n",
"@enduml"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"scrolled": true
},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg contentScriptType=\"application/ecmascript\" contentStyleType=\"text/css\" height=\"272px\" preserveAspectRatio=\"none\" style=\"width:284px;height:272px;\" version=\"1.1\" viewBox=\"0 0 284 272\" width=\"284px\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" zoomAndPan=\"magnify\"><defs><filter height=\"300%\" id=\"ftp9qg1toxa9o\" width=\"300%\" x=\"-1\" y=\"-1\"><feGaussianBlur result=\"blurOut\" stdDeviation=\"2.0\"/><feColorMatrix in=\"blurOut\" result=\"blurOut2\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0\"/><feOffset dx=\"4.0\" dy=\"4.0\" in=\"blurOut2\" result=\"blurOut3\"/><feBlend in=\"SourceGraphic\" in2=\"blurOut3\" mode=\"normal\"/></filter></defs><g><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"18\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"15\" x=\"138\" y=\"17.1539\">ヒゲ部</text><polygon fill=\"#FFFFFF\" filter=\"url(#ftp9qg1toxa9o)\" points=\"204.1421,45.0544,203.8955,47.2896,202.7802,49,201.8495,51.0041,200.2874,52.5488,198.0778,53.5503,196.2217,54.7781,193.7671,55.3648,191.7866,56.1452,189.4313,56.3471,186.7472,55.9552,184.3488,55.4394,181.8712,54.4568,180.1984,53.722,178.5454,52.5597,176.8424,50.9062,175.2639,48.9132,174.3421,47.0438,173.8431,45.1286,173.5399,43.0141,173.6852,40.9581,174.3694,39.0901,175.6897,37.5517,176.7417,35.6492,178.4973,34.2668,180.0562,32.7194,181.997,31.5628,184.3803,30.9163,186.4614,30.2202,189.2007,30.3405,191.5111,30.4188,193.746,30.7974,196.1619,31.7284,198.155,32.7319,200.256,34.2699,201.5214,35.5563,202.6722,37.1905,203.6679,39.1219,204.4343,41.2614,204.719,43.3604\" style=\"stroke: #FFFFFF; stroke-width: 1.5;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"12\" x=\"183.1331\" y=\"48.3563\">けじめ</text><polygon fill=\"#FFFFFF\" filter=\"url(#ftp9qg1toxa9o)\" points=\"138.1699,45.0777,137.5052,46.9621,136.6141,48.8606,135.8342,50.9913,133.9329,52.2514,132.0672,53.5414,130.172,54.7364,127.7024,55.3105,125.2331,55.6809,123.1133,56.0802,120.6798,55.8986,118.2117,55.3244,115.9802,54.5482,113.8864,53.4602,112.1449,52.2238,110.5408,50.6532,109.3463,48.9824,108.3612,47.0598,107.6801,44.9918,107.5991,43.0638,108.0687,41.2798,108.6742,39.3457,109.4137,37.3201,110.83,35.7233,112.0408,33.8838,114.0283,32.696,116.431,31.9269,118.6823,31.1696,120.6957,30.4168,122.8893,30.0792,125.5062,30.4147,127.8234,30.8624,129.9131,31.5196,131.9485,32.5587,134.0553,34.1016,135.434,35.483,137.0873,37.5387,137.9223,39.3354,138.3783,41.2145,138.4218,43.1111\" style=\"stroke: #FFFFFF; stroke-width: 1.5;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"12\" x=\"117.1331\" y=\"48.3563\">けじめ</text><polygon fill=\"#FFFFFF\" filter=\"url(#ftp9qg1toxa9o)\" points=\"72.3232,45.2063,71.6101,47.0501,70.9878,49.1741,69.6923,50.8722,68.2514,52.5187,66.1208,53.5864,64.2296,54.7847,61.6728,55.2857,59.239,55.6858,56.951,55.9441,54.5438,55.7845,52.6026,55.6524,50.1392,54.6817,47.8183,53.403,46.0511,52.1451,44.5049,50.6231,43.3787,49.0096,42.5479,47.2164,42.1619,45.396,41.5723,43.0413,41.9083,41.1452,42.5285,39.2235,43.6394,37.5094,44.7578,35.6628,45.9633,33.8188,47.9874,32.6617,50.1843,31.7199,52.6225,31.1195,54.8927,30.582,57.438,30.5396,59.3827,30.3111,61.8367,30.8735,64.3513,31.8872,66.2696,32.8281,68.0298,34.0802,69.7281,35.7297,71.0957,37.5458,71.4697,38.9556,72.5205,41.3338,72.8083,43.4354\" style=\"stroke: #FFFFFF; stroke-width: 1.5;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"12\" x=\"51.1331\" y=\"48.3563\">けじめ</text><polygon fill=\"#FFFFFF\" filter=\"url(#ftp9qg1toxa9o)\" points=\"59.3854,248.245,58.5248,250.6192,56.6995,252.6604,54.8001,254.8216,52.8851,257.0567,49.7477,258.564,46.0412,259.6495,42.5816,260.7178,37.9506,260.8476,34.569,261.4089,30.356,261.0997,26.5649,260.6118,22.3841,259.4186,19.2599,258.3491,16.438,256.935,13.2639,254.7799,11.886,253.1693,10.0793,250.7983,9.4064,248.6288,8.675,245.9947,8.735,243.4561,9.8156,241.2128,11.9365,239.3476,13.4801,236.9746,16.5006,235.3976,19.2199,233.6414,22.2614,232.16,26.1337,231.3374,30.8215,231.2414,33.9181,230.5105,38.5118,231.0463,42.2187,231.4841,46.2563,232.592,48.982,233.4243,52.3154,235.143,54.7885,236.8808,57.4163,239.2354,58.8357,241.3759,59.9838,243.8282,59.9645,246.0154\" style=\"stroke: #FFFFFF; stroke-width: 1.5;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"32\" x=\"18.3774\" y=\"251.2053\">3年間の思い出</text><polygon fill=\"#FFFFFF\" filter=\"url(#ftp9qg1toxa9o)\" points=\"62.2809,136.4096,61.4982,138.8765,59.1946,140.7692,57.1023,142.9394,53.8397,144.5653,50.8149,146.3187,46.6515,147.3785,42.5159,148.2892,39.0307,149.3073,34.3843,149.3906,29.3179,148.8731,25.9011,148.8102,21.8184,147.917,17.7591,146.531,13.8436,144.6975,11.4424,143.1446,9.0237,141.0576,7.3473,138.8633,6.0621,136.4054,5.3402,133.8197,5.5956,131.3823,7.3072,129.4134,9.0196,127.2037,11.4596,125.2199,14.0645,123.2413,17.9681,121.9591,21.3375,120.4736,25.0206,119.3204,30.0722,119.1421,34.5656,118.9767,39.197,119.261,42.7642,119.4045,46.9941,120.3767,51.2036,121.8432,54.7355,123.471,57.0867,124.9971,59.0943,126.8637,61.7581,129.5874,61.9697,131.4697,62.9548,134.1965\" style=\"stroke: #FFFFFF; stroke-width: 1.5;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"36\" x=\"16.2058\" y=\"139.2053\">セクシーコマンドー</text><polygon fill=\"#FFFFFF\" filter=\"url(#ftp9qg1toxa9o)\" points=\"137.5125,136.3073,137.2731,138.4216,136.1292,139.9683,135.0004,141.6595,133.5478,143.1448,132.0166,144.5642,129.8666,145.3962,127.5839,145.985,125.3201,146.3962,123.0547,146.5555,120.9067,146.5123,118.5875,145.9803,116.7958,145.5123,114.6515,144.3424,113.2092,143.3422,111.5453,141.7293,110.2138,139.9752,109.6053,138.4241,109.1525,136.6241,108.7079,134.4864,109.1661,132.8067,109.5194,130.7883,110.487,129.0933,111.6641,127.4427,113.2788,126.0937,114.5856,124.4856,116.6366,123.5702,118.5777,122.6942,120.9914,122.4091,123.5685,122.5119,125.3093,122.2126,127.8447,122.9265,129.8034,123.535,131.5857,124.4003,133.7369,125.9969,135.0188,127.2884,136.2142,128.928,137.0868,130.7014,137.6487,132.5931,137.8981,134.5667\" style=\"stroke: #FFFFFF; stroke-width: 1.5;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"8\" x=\"119.2974\" y=\"139.6877\">ヒゲ</text><polygon fill=\"#FFFFFF\" filter=\"url(#ftp9qg1toxa9o)\" points=\"270.2592,45.1526,270.0396,47.4105,268.9815,49.1688,267.4822,50.696,266.123,52.4109,264.2386,53.6852,262.1691,54.7339,260.078,55.6256,257.3376,55.7685,255.1955,56.1492,253.001,56.1681,250.1717,55.2909,247.8638,54.4506,246.2965,53.8042,244.2832,52.3398,242.5509,50.6617,241.7079,49.2858,240.3624,47.0608,239.7892,45.0834,239.6315,43.0909,239.637,40.9176,240.493,39.1938,241.5412,37.427,242.5545,35.4922,244.3854,34.173,246.2885,32.9143,248.0186,31.5809,250.225,30.786,252.7915,30.4972,255.0184,30.1876,257.7741,30.6395,259.7536,30.8038,262.0258,31.6141,264.3853,32.9251,265.9579,34.0198,267.3705,35.4297,269.0247,37.4862,269.8596,39.2828,270.6156,41.4136,270.422,43.1113\" style=\"stroke: #FFFFFF; stroke-width: 1.5;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"12\" x=\"249.1331\" y=\"48.3563\">学ラン</text><polygon fill=\"#FFFFFF\" filter=\"url(#ftp9qg1toxa9o)\" points=\"273.1605,136.5122,272.6713,138.9035,271.3237,140.813,269.8138,142.7463,268.1976,144.6716,265.9831,146.098,263.7546,147.4321,260.861,148.0526,258.0691,148.5239,255.3764,148.7751,252.5741,148.5706,249.9866,148.1285,247.6288,147.4189,245.0224,146.0121,243.0305,144.6087,240.9886,142.6486,239.9301,140.9995,238.6314,138.6603,238.1501,136.5436,238.0543,134.3316,237.6802,131.5233,238.4958,129.4041,240.036,127.6552,241.2238,125.4533,243.0147,123.6736,244.9387,122.005,247.4248,120.8857,250.3312,120.2759,252.5316,119.3114,255.4875,119.2797,258.1374,119.357,260.7609,119.8292,263.6855,121.0114,266.1575,122.3062,268.1774,123.7328,269.9706,125.4857,271.5386,127.5595,272.5071,129.6233,273.0996,131.8328,273.146,134.0036\" style=\"stroke: #FFFFFF; stroke-width: 1.5;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"14\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"20\" x=\"245.4925\" y=\"139.2438\">セクシーさ</text><!--link セクシーコマンドー to 3年間の思い出--><path d=\"M34,155.3679 L34.1861,155.3679 L34.8084,164.7824 L33.0643,174.1969 L33.3535,183.6114 L33.7617,193.0259 L33.1009,202.4404 L34.1404,211.8549 L34.038,221.2694 L34,230.6839 \" fill=\"none\" style=\"stroke: #000000; stroke-width: 1.0;\"/><polygon fill=\"#000000\" points=\"34,150.1189,33.8313,150.0439,33.3004,151.9635,32.4239,153.7295,31.4621,155.4576,30.9183,157.3714,30,159.1189,30.0901,159.209,30.7359,158.2548,31.6163,157.5352,32.3864,156.7052,33.032,155.7508,34,155.1189,33.9044,155.0232,34.9428,156.0616,35.5758,156.6947,36.5089,157.6277,37.04,158.1589,38,159.1189,37.9826,159.1111,37.3799,157.3988,36.3263,155.4861,35.8054,153.8101,34.9958,152.0059,34,150.1189\" style=\"stroke: #000000; stroke-width: 1.0;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"112\" x=\"35\" y=\"194.1729\">高校生になっても3-Bの事忘れないでね!という気持ち</text><!--link セクシーコマンドー to ヒゲ--><path d=\"M62.6501,134.2839 L62.6501,134.2986 L70.7512,134.1915 L78.8523,134.2006 L86.9533,134.4453 L95.0544,133.9711 L103.1555,134.2839 \" fill=\"none\" style=\"stroke: #000000; stroke-width: 1.0;\"/><polygon fill=\"#000000\" points=\"108.369,134.2839,108.3494,134.2397,106.5439,133.4275,104.7737,132.6943,103.0002,131.9541,101.1299,130.9959,99.369,130.2839,99.2999,130.2148,100.3109,131.2258,100.931,131.8458,101.725,132.6399,102.5879,133.5028,103.369,134.2839,103.4656,134.3804,102.4926,135.0075,101.678,135.7929,101.0391,136.754,100.1381,137.453,99.369,138.2839,99.375,138.2973,101.137,137.4119,103.0061,136.7673,104.8161,135.9899,106.496,134.9196,108.369,134.2839\" style=\"stroke: #000000; stroke-width: 1.0;\"/><text fill=\"#000000\" font-family=\"sans-serif\" font-size=\"13\" lengthAdjust=\"spacingAndGlyphs\" textLength=\"8\" x=\"80.75\" y=\"125.6729\">省略</text><!--link けじめ1 to ヒゲ--><path d=\"M177.907,59.2429 L177.9657,59.2864 L172.3429,67.6279 L165.585,75.1277 L160.4119,83.8028 L153.4155,91.1257 L148.2635,99.8164 L141.8178,107.5477 L136.4673,116.0912 L130.018,123.8199 \" fill=\"none\" style=\"stroke: #000000; stroke-width: 1.0;\"/><polygon fill=\"#000000\" points=\"181.17,54.8429,181.139,54.7881,179.3332,55.5963,177.6399,56.6036,176.0561,57.8045,174.2748,58.6562,172.5956,59.6885,172.6201,59.8533,173.6919,59.3683,174.8047,59.1597,175.9454,59.1391,177.0996,59.2098,178.1913,58.8587,177.9774,58.827,178.1682,59.9498,178.571,61.1041,178.7774,62.2292,178.8319,63.3318,179.0211,64.4544,178.8622,64.4189,179.3549,62.5107,179.6676,60.5622,180.2988,58.6849,180.5405,56.7205,181.17,54.8429\" style=\"stroke: #000000; stroke-width: 1.0;\"/><!--link けじめ2 to ヒゲ--><path d=\"M123,61.4989 L123.936,61.4989 L123.7895,71.5877 L122.0554,81.6765 L123.8724,91.7654 L123.11,101.8542 L122.3335,111.943 L123,122.0319 \" fill=\"none\" style=\"stroke: #000000; stroke-width: 1.0;\"/><polygon fill=\"#000000\" points=\"123,56.2869,122.9643,56.271,122.4229,58.1859,121.1942,59.7954,120.7584,61.7573,120.0013,63.5763,119,65.2869,119.0053,65.2922,119.6301,64.317,120.4862,63.5731,121.5192,63.006,122.1677,62.0545,123,61.2869,123.0181,61.305,123.6552,61.9421,124.7244,63.0112,125.2623,63.5492,126.0979,64.3847,127,65.2869,126.7866,65.192,126.079,63.4331,125.6086,61.7796,124.825,59.9869,124.0021,58.1767,123,56.2869\" style=\"stroke: #000000; stroke-width: 1.0;\"/><!--link けじめ3 to ヒゲ--><path d=\"M68.093,59.2429 L68.4007,59.471 L74.7451,67.8089 L80.026,75.358 L85.5065,83.0552 L92.087,91.5681 L98.5045,99.9601 L104.2902,107.8836 L110.713,116.2796 L115.982,123.8199 \" fill=\"none\" style=\"stroke: #000000; stroke-width: 1.0;\"/><polygon fill=\"#000000\" points=\"64.8302,54.8429,64.9163,54.8621,65.1871,56.7489,65.5672,58.6602,66.2497,60.639,66.7861,62.5852,66.9787,64.4545,66.7789,64.4249,67.3645,63.368,67.4756,62.2407,67.545,61.1073,67.7241,59.9901,67.8087,58.8589,67.7912,58.7413,68.9135,58.9281,70.017,58.989,71.1435,59.2049,72.2846,59.5189,73.4043,59.6889,73.3575,59.6061,71.652,58.6534,70.0087,57.8107,68.2119,56.6965,66.5078,55.7462,64.8302,54.8429\" style=\"stroke: #000000; stroke-width: 1.0;\"/><!--link 学ラン to セクシーさ--><path d=\"M255,56.2869 L255.8871,56.2869 L254.4776,65.8975 L254.3599,75.5082 L255.5276,85.1189 L254.5362,94.7295 L255.9176,104.3402 L255,113.9509 \" fill=\"none\" style=\"stroke: #000000; stroke-width: 1.0;\"/><polygon fill=\"#000000\" points=\"255,119.1259,255.1985,119.2141,255.9601,117.397,256.5627,115.5093,257.4581,113.7517,258.2698,111.9569,259,110.1259,259.0838,110.2096,258.3489,111.0748,257.4061,111.7319,256.505,112.4309,255.7888,113.3147,255,114.1259,254.8983,114.0241,254.1677,113.2935,253.4766,112.6024,252.6844,111.8103,251.9058,111.0316,251,110.1259,251.0756,110.1595,251.7961,111.9241,252.5791,113.7166,253.4223,115.5358,254.239,117.3432,255,119.1259\" style=\"stroke: #000000; stroke-width: 1.0;\"/><!--\n",
"@startuml\n",
"Title ヒゲ部\n",
"\n",
"skinparam handwritten true\n",
"skinparam usecase{\n",
" BackgroundColor White\n",
" BorderColor White\n",
" ArrowColor Black\n",
"}\n",
"(けじめ) as (けじめ1)\n",
"(けじめ) as (けじめ2)\n",
"(けじめ) as (けじめ3)\n",
"\n",
"(3年間の思い出) -up-> (セクシーコマンドー) : 高校生になっても3-Bの事忘れないでね!という気持ち\n",
"\n",
"(セクシーコマンドー) -right-> (ヒゲ) : 省略\n",
"(ヒゲ) -up-> (けじめ1)\n",
"(ヒゲ) -up-> (けじめ2)\n",
"(ヒゲ) -up-> (けじめ3)\n",
"(学ラン) -down-> (セクシーさ)\n",
" \n",
"@enduml\n",
"\n",
"PlantUML version 1.2017.14(Mon Jun 05 09:56:32 UTC 2017)\n",
"(GPL source distribution)\n",
"Java Runtime: OpenJDK Runtime Environment\n",
"JVM: OpenJDK 64-Bit Server VM\n",
"Java Version: 1.8.0_131-b12\n",
"Operating System: Linux\n",
"OS Version: 3.10.0-514.21.2.el7.x86_64\n",
"Default Encoding: UTF-8\n",
"Language: ja\n",
"Country: JP\n",
"--></g></svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%%plantuml\n",
"@startuml\n",
"Title ヒゲ部\n",
"\n",
"skinparam handwritten true\n",
"skinparam usecase{\n",
" BackgroundColor White\n",
" BorderColor White\n",
" ArrowColor Black\n",
"}\n",
"(けじめ) as (けじめ1)\n",
"(けじめ) as (けじめ2)\n",
"(けじめ) as (けじめ3)\n",
"\n",
"(3年間の思い出) -up-> (セクシーコマンドー) : 高校生になっても3-Bの事忘れないでね!という気持ち\n",
"\n",
"(セクシーコマンドー) -right-> (ヒゲ) : 省略\n",
"(ヒゲ) -up-> (けじめ1)\n",
"(ヒゲ) -up-> (けじめ2)\n",
"(ヒゲ) -up-> (けじめ3)\n",
"(学ラン) -down-> (セクシーさ)\n",
" \n",
"@enduml"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.0"
},
"toc": {
"colors": {
"hover_highlight": "#DAA520",
"running_highlight": "#FF0000",
"selected_highlight": "#FFD700"
},
"moveMenuLeft": true,
"nav_menu": {
"height": "102px",
"width": "252px"
},
"navigate_menu": true,
"number_sections": true,
"sideBar": true,
"threshold": 4,
"toc_cell": false,
"toc_section_display": "block",
"toc_window_display": false,
"widenNotebook": false
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment