Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/assets/scripts/application.7258f739f33c3c17ad1f.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/assets/scripts/application.e6fe81d8f6c96c91332f.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/assets/scripts/styles.35fad665f1.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/assets/scripts/styles.e302b899f5.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{599:function(n,w,o){}}]);

Large diffs are not rendered by default.

33 changes: 16 additions & 17 deletions docs/project/src/__tests__/index.test.html

Large diffs are not rendered by default.

49 changes: 24 additions & 25 deletions docs/project/src/cli/PathFactory.html

Large diffs are not rendered by default.

69 changes: 34 additions & 35 deletions docs/project/src/cli/__tests__/PathFactory.test.html

Large diffs are not rendered by default.

67 changes: 33 additions & 34 deletions docs/project/src/cli/index.html

Large diffs are not rendered by default.

75 changes: 37 additions & 38 deletions docs/project/src/config/index.html

Large diffs are not rendered by default.

31 changes: 15 additions & 16 deletions docs/project/src/constants/router.html

Large diffs are not rendered by default.

210 changes: 124 additions & 86 deletions docs/project/src/controller/ApiController.html

Large diffs are not rendered by default.

73 changes: 36 additions & 37 deletions docs/project/src/controller/AssetController.html

Large diffs are not rendered by default.

356 changes: 197 additions & 159 deletions docs/project/src/controller/ProjectController.html

Large diffs are not rendered by default.

73 changes: 36 additions & 37 deletions docs/project/src/controller/ScriptController.html

Large diffs are not rendered by default.

440 changes: 239 additions & 201 deletions docs/project/src/controller/index.html

Large diffs are not rendered by default.

31 changes: 15 additions & 16 deletions docs/project/src/exceptions/index.html

Large diffs are not rendered by default.

41 changes: 20 additions & 21 deletions docs/project/src/exporter/DryRun.html

Large diffs are not rendered by default.

336 changes: 184 additions & 152 deletions docs/project/src/exporter/index.html

Large diffs are not rendered by default.

149 changes: 74 additions & 75 deletions docs/project/src/exporter/view/index.html

Large diffs are not rendered by default.

77 changes: 38 additions & 39 deletions docs/project/src/exporter/view/template.html

Large diffs are not rendered by default.

736 changes: 387 additions & 349 deletions docs/project/src/index.html

Large diffs are not rendered by default.

31 changes: 15 additions & 16 deletions docs/project/src/logger/index.html

Large diffs are not rendered by default.

31 changes: 15 additions & 16 deletions docs/project/src/middleware/index.html

Large diffs are not rendered by default.

484 changes: 261 additions & 223 deletions docs/project/src/server.html

Large diffs are not rendered by default.

45 changes: 22 additions & 23 deletions docs/project/src/service/DependencyCruiserService.html

Large diffs are not rendered by default.

66 changes: 66 additions & 0 deletions docs/project/src/service/Renderer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<!DOCTYPE html><html lang="en"><head><title>@code-dependency/view</title><meta charSet="UTF-8"/><meta name="description" content="visualize code dependency with graphviz."/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta http-equiv="X-UA-Compatible" content="ie=edge"/><script src="https://himenon.github.io/code-dependency/assets/scripts/react.production.min.js"></script><script src="https://himenon.github.io/code-dependency/assets/scripts/react-dom.production.min.js"></script><link href="https://himenon.github.io/code-dependency/assets/stylesheets/styles.0e433876.chunk.css" rel="stylesheet"/><script>window.__INITIAL_PROPS__ = {"isServer":true,"isStatic":true,"publicPath":"https://himenon.github.io/code-dependency/","selectedPathname":"src/service/Renderer.ts","publicPathname":"/project","pagePathname":"/code-dependency/","workerUrl":"https://himenon.github.io/code-dependency/assets/scripts/full.render.js","assetBaseUrl":"https://himenon.github.io/code-dependency/assets","sourceType":"svg","svgElement":"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n -->\n<!-- Title: dependency&#45;cruiser output Pages: 1 -->\n<svg width=\"222pt\" height=\"174pt\"\n viewBox=\"0.00 0.00 221.56 174.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 170)\">\n<title>dependency&#45;cruiser output</title>\n<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-170 217.5576,-170 217.5576,4 -4,4\"/>\n<g id=\"clust1\" class=\"cluster\">\n<title>cluster_packages</title>\n<path fill=\"#ffffff\" stroke=\"#000000\" stroke-width=\"2\" d=\"M20,-8C20,-8 122.5293,-8 122.5293,-8 128.5293,-8 134.5293,-14 134.5293,-20 134.5293,-20 134.5293,-146 134.5293,-146 134.5293,-152 128.5293,-158 122.5293,-158 122.5293,-158 20,-158 20,-158 14,-158 8,-152 8,-146 8,-146 8,-20 8,-20 8,-14 14,-8 20,-8\"/>\n<text text-anchor=\"middle\" x=\"71.2646\" y=\"-146.8\" font-family=\"Helvetica,sans-Serif\" font-weight=\"bold\" font-size=\"9.00\" fill=\"#000000\">packages</text>\n</g>\n<g id=\"clust2\" class=\"cluster\">\n<title>cluster_packages/cli</title>\n<path fill=\"#ffffff\" stroke=\"#000000\" stroke-width=\"2\" d=\"M28,-16C28,-16 114.5293,-16 114.5293,-16 120.5293,-16 126.5293,-22 126.5293,-28 126.5293,-28 126.5293,-121 126.5293,-121 126.5293,-127 120.5293,-133 114.5293,-133 114.5293,-133 28,-133 28,-133 22,-133 16,-127 16,-121 16,-121 16,-28 16,-28 16,-22 22,-16 28,-16\"/>\n<text text-anchor=\"middle\" x=\"71.2646\" y=\"-121.8\" font-family=\"Helvetica,sans-Serif\" font-weight=\"bold\" font-size=\"9.00\" fill=\"#000000\">cli</text>\n</g>\n<g id=\"clust3\" class=\"cluster\">\n<title>cluster_packages/cli/src</title>\n<path fill=\"#ffffff\" stroke=\"#000000\" stroke-width=\"2\" d=\"M36,-24C36,-24 106.5293,-24 106.5293,-24 112.5293,-24 118.5293,-30 118.5293,-36 118.5293,-36 118.5293,-96 118.5293,-96 118.5293,-102 112.5293,-108 106.5293,-108 106.5293,-108 36,-108 36,-108 30,-108 24,-102 24,-96 24,-96 24,-36 24,-36 24,-30 30,-24 36,-24\"/>\n<text text-anchor=\"middle\" x=\"71.2646\" y=\"-96.8\" font-family=\"Helvetica,sans-Serif\" font-weight=\"bold\" font-size=\"9.00\" fill=\"#000000\">src</text>\n</g>\n<g id=\"clust4\" class=\"cluster\">\n<title>cluster_packages/cli/src/service</title>\n<path fill=\"#ffffff\" stroke=\"#000000\" stroke-width=\"2\" d=\"M44,-32C44,-32 98.5293,-32 98.5293,-32 104.5293,-32 110.5293,-38 110.5293,-44 110.5293,-44 110.5293,-71 110.5293,-71 110.5293,-77 104.5293,-83 98.5293,-83 98.5293,-83 44,-83 44,-83 38,-83 32,-77 32,-71 32,-71 32,-44 32,-44 32,-38 38,-32 44,-32\"/>\n<text text-anchor=\"middle\" x=\"71.2646\" y=\"-71.8\" font-family=\"Helvetica,sans-Serif\" font-weight=\"bold\" font-size=\"9.00\" fill=\"#000000\">service</text>\n</g>\n<!-- child_process -->\n<g id=\"node1\" class=\"node\">\n<title>child_process</title>\n<path fill=\"#ffffcc\" stroke=\"#c0c0c0\" d=\"M207.9051,-71.5C207.9051,-71.5 148.1818,-71.5 148.1818,-71.5 145.3485,-71.5 142.5151,-68.6667 142.5151,-65.8333 142.5151,-65.8333 142.5151,-60.1667 142.5151,-60.1667 142.5151,-57.3333 145.3485,-54.5 148.1818,-54.5 148.1818,-54.5 207.9051,-54.5 207.9051,-54.5 210.7384,-54.5 213.5718,-57.3333 213.5718,-60.1667 213.5718,-60.1667 213.5718,-65.8333 213.5718,-65.8333 213.5718,-68.6667 210.7384,-71.5 207.9051,-71.5\"/>\n<text text-anchor=\"middle\" x=\"178.0435\" y=\"-60.3\" font-family=\"Helvetica,sans-Serif\" font-size=\"9.00\" fill=\"#c0c0c0\">child_process</text>\n</g>\n<!-- fs -->\n<g id=\"node2\" class=\"node\">\n<title>fs</title>\n<path fill=\"#ffffcc\" stroke=\"#c0c0c0\" d=\"M199.3768,-42.5C199.3768,-42.5 156.7101,-42.5 156.7101,-42.5 153.8768,-42.5 151.0435,-39.6667 151.0435,-36.8333 151.0435,-36.8333 151.0435,-31.1667 151.0435,-31.1667 151.0435,-28.3333 153.8768,-25.5 156.7101,-25.5 156.7101,-25.5 199.3768,-25.5 199.3768,-25.5 202.2101,-25.5 205.0435,-28.3333 205.0435,-31.1667 205.0435,-31.1667 205.0435,-36.8333 205.0435,-36.8333 205.0435,-39.6667 202.2101,-42.5 199.3768,-42.5\"/>\n<text text-anchor=\"middle\" x=\"178.0435\" y=\"-31.3\" font-family=\"Helvetica,sans-Serif\" font-size=\"9.00\" fill=\"#c0c0c0\">fs</text>\n</g>\n<!-- packages/cli/src/service/Renderer.ts -->\n<g id=\"node3\" class=\"node\">\n<title>packages/cli/src/service/Renderer.ts</title>\n<g id=\"a_node3\"><a xlink:href=\"packages/cli/src/service/Renderer.ts\" xlink:title=\"Renderer.ts\">\n<path fill=\"#ddfeff\" stroke=\"#000000\" d=\"M96.629,-57.5C96.629,-57.5 45.9003,-57.5 45.9003,-57.5 43.0669,-57.5 40.2336,-54.6667 40.2336,-51.8333 40.2336,-51.8333 40.2336,-46.1667 40.2336,-46.1667 40.2336,-43.3333 43.0669,-40.5 45.9003,-40.5 45.9003,-40.5 96.629,-40.5 96.629,-40.5 99.4624,-40.5 102.2957,-43.3333 102.2957,-46.1667 102.2957,-46.1667 102.2957,-51.8333 102.2957,-51.8333 102.2957,-54.6667 99.4624,-57.5 96.629,-57.5\"/>\n<text text-anchor=\"middle\" x=\"71.2646\" y=\"-46.3\" font-family=\"Helvetica,sans-Serif\" font-size=\"9.00\" fill=\"#000000\">Renderer.ts</text>\n</a>\n</g>\n</g>\n<!-- packages/cli/src/service/Renderer.ts&#45;&gt;child_process -->\n<g id=\"edge1\" class=\"edge\">\n<title>packages/cli/src/service/Renderer.ts&#45;&gt;child_process</title>\n<path fill=\"none\" stroke=\"#000000\" stroke-dasharray=\"5,2\" stroke-opacity=\"0.200000\" d=\"M102.4365,-53.087C113.0321,-54.4762 125.0485,-56.0517 136.333,-57.5312\"/>\n<polygon fill=\"#000000\" fill-opacity=\"0.200000\" stroke=\"#000000\" stroke-opacity=\"0.200000\" points=\"136.291,-59.6436 142.5132,-58.3415 136.8371,-55.4793 136.291,-59.6436\"/>\n</g>\n<!-- packages/cli/src/service/Renderer.ts&#45;&gt;fs -->\n<g id=\"edge2\" class=\"edge\">\n<title>packages/cli/src/service/Renderer.ts&#45;&gt;fs</title>\n<path fill=\"none\" stroke=\"#000000\" stroke-dasharray=\"5,2\" stroke-opacity=\"0.200000\" d=\"M102.4365,-44.6211C115.7819,-42.7463 131.3815,-40.5549 144.9335,-38.6512\"/>\n<polygon fill=\"#000000\" fill-opacity=\"0.200000\" stroke=\"#000000\" stroke-opacity=\"0.200000\" points=\"145.351,-40.7133 151.0005,-37.7989 144.7667,-36.5541 145.351,-40.7133\"/>\n</g>\n</g>\n</svg>","rendererType":"server","filePathList":[{"source":"src/index.ts"},{"source":"src/server.tsx"},{"source":"src/config/index.ts"},{"source":"src/__tests__/index.test.ts"},{"source":"src/controller/ApiController.ts"},{"source":"src/controller/AssetController.tsx"},{"source":"src/controller/ProjectController.tsx"},{"source":"src/controller/ScriptController.tsx"},{"source":"src/controller/index.ts"},{"source":"src/exceptions/index.ts"},{"source":"src/middleware/index.ts"},{"source":"src/logger/index.ts"},{"source":"src/service/DependencyCruiserService.ts"},{"source":"src/service/Renderer.ts"},{"source":"src/service/index.ts"},{"source":"src/utils/index.ts"},{"source":"src/constants/router.ts"},{"source":"src/cli/PathFactory.ts"},{"source":"src/cli/index.ts"},{"source":"src/cli/__tests__/PathFactory.test.ts"},{"source":"src/exporter/DryRun.ts"},{"source":"src/exporter/index.ts"},{"source":"src/exporter/view/index.tsx"},{"source":"src/exporter/view/template.tsx"},{"source":"src/view/index.tsx"},{"source":"src/view/ProjectView/index.tsx"},{"source":"src/view/ProjectView/template.tsx"}]}</script></head><body><div id="root"><div style="background-color:#fafbfd;display:flex"><div style="margin-right:24px;min-width:192px;flex:0 1 0%"><div style="position:absolute;width:192px;bottom:0;top:8px;overflow-y:scroll"><nav><div id="." style="padding-left:0"><span style="padding-left:8px;padding-right:8px;line-height:1.5;font-size:14px;cursor:pointer;width:100%">@code-dependency</span></div></nav></div></div><main style="display:flex;flex:1 1 100%;flex-direction:column"><div style="display:flex;flex-direction:row;align-items:center;margin-bottom:16px"><h1 style="color:#343741;font-size:16px">src/service/Renderer.ts</h1></div><div style="padding:24px;box-shadow:0 2px 2px -1px rgba(152,162,179,.3), 0 1px 5px -2px rgba(152,162,179,.3);background-color:#FFF;border-radius:4px;border:1px solid #d3dae6;flex-grow:1"><div><div><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.40.1 (20161225.0304)
-->
<!-- Title: dependency&#45;cruiser output Pages: 1 -->
<svg width="222pt" height="174pt"
viewBox="0.00 0.00 221.56 174.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 170)">
<title>dependency&#45;cruiser output</title>
<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-170 217.5576,-170 217.5576,4 -4,4"/>
<g id="clust1" class="cluster">
<title>cluster_packages</title>
<path fill="#ffffff" stroke="#000000" stroke-width="2" d="M20,-8C20,-8 122.5293,-8 122.5293,-8 128.5293,-8 134.5293,-14 134.5293,-20 134.5293,-20 134.5293,-146 134.5293,-146 134.5293,-152 128.5293,-158 122.5293,-158 122.5293,-158 20,-158 20,-158 14,-158 8,-152 8,-146 8,-146 8,-20 8,-20 8,-14 14,-8 20,-8"/>
<text text-anchor="middle" x="71.2646" y="-146.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#000000">packages</text>
</g>
<g id="clust2" class="cluster">
<title>cluster_packages/cli</title>
<path fill="#ffffff" stroke="#000000" stroke-width="2" d="M28,-16C28,-16 114.5293,-16 114.5293,-16 120.5293,-16 126.5293,-22 126.5293,-28 126.5293,-28 126.5293,-121 126.5293,-121 126.5293,-127 120.5293,-133 114.5293,-133 114.5293,-133 28,-133 28,-133 22,-133 16,-127 16,-121 16,-121 16,-28 16,-28 16,-22 22,-16 28,-16"/>
<text text-anchor="middle" x="71.2646" y="-121.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#000000">cli</text>
</g>
<g id="clust3" class="cluster">
<title>cluster_packages/cli/src</title>
<path fill="#ffffff" stroke="#000000" stroke-width="2" d="M36,-24C36,-24 106.5293,-24 106.5293,-24 112.5293,-24 118.5293,-30 118.5293,-36 118.5293,-36 118.5293,-96 118.5293,-96 118.5293,-102 112.5293,-108 106.5293,-108 106.5293,-108 36,-108 36,-108 30,-108 24,-102 24,-96 24,-96 24,-36 24,-36 24,-30 30,-24 36,-24"/>
<text text-anchor="middle" x="71.2646" y="-96.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#000000">src</text>
</g>
<g id="clust4" class="cluster">
<title>cluster_packages/cli/src/service</title>
<path fill="#ffffff" stroke="#000000" stroke-width="2" d="M44,-32C44,-32 98.5293,-32 98.5293,-32 104.5293,-32 110.5293,-38 110.5293,-44 110.5293,-44 110.5293,-71 110.5293,-71 110.5293,-77 104.5293,-83 98.5293,-83 98.5293,-83 44,-83 44,-83 38,-83 32,-77 32,-71 32,-71 32,-44 32,-44 32,-38 38,-32 44,-32"/>
<text text-anchor="middle" x="71.2646" y="-71.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#000000">service</text>
</g>
<!-- child_process -->
<g id="node1" class="node">
<title>child_process</title>
<path fill="#ffffcc" stroke="#c0c0c0" d="M207.9051,-71.5C207.9051,-71.5 148.1818,-71.5 148.1818,-71.5 145.3485,-71.5 142.5151,-68.6667 142.5151,-65.8333 142.5151,-65.8333 142.5151,-60.1667 142.5151,-60.1667 142.5151,-57.3333 145.3485,-54.5 148.1818,-54.5 148.1818,-54.5 207.9051,-54.5 207.9051,-54.5 210.7384,-54.5 213.5718,-57.3333 213.5718,-60.1667 213.5718,-60.1667 213.5718,-65.8333 213.5718,-65.8333 213.5718,-68.6667 210.7384,-71.5 207.9051,-71.5"/>
<text text-anchor="middle" x="178.0435" y="-60.3" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#c0c0c0">child_process</text>
</g>
<!-- fs -->
<g id="node2" class="node">
<title>fs</title>
<path fill="#ffffcc" stroke="#c0c0c0" d="M199.3768,-42.5C199.3768,-42.5 156.7101,-42.5 156.7101,-42.5 153.8768,-42.5 151.0435,-39.6667 151.0435,-36.8333 151.0435,-36.8333 151.0435,-31.1667 151.0435,-31.1667 151.0435,-28.3333 153.8768,-25.5 156.7101,-25.5 156.7101,-25.5 199.3768,-25.5 199.3768,-25.5 202.2101,-25.5 205.0435,-28.3333 205.0435,-31.1667 205.0435,-31.1667 205.0435,-36.8333 205.0435,-36.8333 205.0435,-39.6667 202.2101,-42.5 199.3768,-42.5"/>
<text text-anchor="middle" x="178.0435" y="-31.3" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#c0c0c0">fs</text>
</g>
<!-- packages/cli/src/service/Renderer.ts -->
<g id="node3" class="node">
<title>packages/cli/src/service/Renderer.ts</title>
<g id="a_node3"><a xlink:href="packages/cli/src/service/Renderer.ts" xlink:title="Renderer.ts">
<path fill="#ddfeff" stroke="#000000" d="M96.629,-57.5C96.629,-57.5 45.9003,-57.5 45.9003,-57.5 43.0669,-57.5 40.2336,-54.6667 40.2336,-51.8333 40.2336,-51.8333 40.2336,-46.1667 40.2336,-46.1667 40.2336,-43.3333 43.0669,-40.5 45.9003,-40.5 45.9003,-40.5 96.629,-40.5 96.629,-40.5 99.4624,-40.5 102.2957,-43.3333 102.2957,-46.1667 102.2957,-46.1667 102.2957,-51.8333 102.2957,-51.8333 102.2957,-54.6667 99.4624,-57.5 96.629,-57.5"/>
<text text-anchor="middle" x="71.2646" y="-46.3" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#000000">Renderer.ts</text>
</a>
</g>
</g>
<!-- packages/cli/src/service/Renderer.ts&#45;&gt;child_process -->
<g id="edge1" class="edge">
<title>packages/cli/src/service/Renderer.ts&#45;&gt;child_process</title>
<path fill="none" stroke="#000000" stroke-dasharray="5,2" stroke-opacity="0.200000" d="M102.4365,-53.087C113.0321,-54.4762 125.0485,-56.0517 136.333,-57.5312"/>
<polygon fill="#000000" fill-opacity="0.200000" stroke="#000000" stroke-opacity="0.200000" points="136.291,-59.6436 142.5132,-58.3415 136.8371,-55.4793 136.291,-59.6436"/>
</g>
<!-- packages/cli/src/service/Renderer.ts&#45;&gt;fs -->
<g id="edge2" class="edge">
<title>packages/cli/src/service/Renderer.ts&#45;&gt;fs</title>
<path fill="none" stroke="#000000" stroke-dasharray="5,2" stroke-opacity="0.200000" d="M102.4365,-44.6211C115.7819,-42.7463 131.3815,-40.5549 144.9335,-38.6512"/>
<polygon fill="#000000" fill-opacity="0.200000" stroke="#000000" stroke-opacity="0.200000" points="145.351,-40.7133 151.0005,-37.7989 144.7667,-36.5541 145.351,-40.7133"/>
</g>
</g>
</svg></div></div></div></main></div></div><script type="text/javascript" src="https://himenon.github.io/code-dependency/assets/scripts/vendor.77e3c27a6a.js"></script><script type="text/javascript" src="https://himenon.github.io/code-dependency/assets/scripts/styles.e302b899f5.js"></script><script type="text/javascript" src="https://himenon.github.io/code-dependency/assets/scripts/application.7258f739f33c3c17ad1f.js"></script></body></html>
Loading