<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jack Woods</title>
    <description>The latest articles on DEV Community by Jack Woods (@waningflow).</description>
    <link>https://dev.to/waningflow</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F155682%2Fe075b203-c3da-4853-89dc-b5d8e69dce68.jpeg</url>
      <title>DEV Community: Jack Woods</title>
      <link>https://dev.to/waningflow</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/waningflow"/>
    <language>en</language>
    <item>
      <title>CodeRoad, make it easier to read code</title>
      <dc:creator>Jack Woods</dc:creator>
      <pubDate>Tue, 07 May 2019 14:14:06 +0000</pubDate>
      <link>https://dev.to/waningflow/coderoad-make-it-easier-to-read-code-59bf</link>
      <guid>https://dev.to/waningflow/coderoad-make-it-easier-to-read-code-59bf</guid>
      <description>&lt;p&gt;When I was going to read the source code of vuejs. It made me frustrated because of the complicated dependence relationship. Thus I want to make a tool to solve this, making it easier to read the code, both the structure and the detail.&lt;/p&gt;

&lt;p&gt;I found a little of solutions about dependence analysis like madge. However, many of them just produce a graph of the dependence. And the graph will become quite messy when the project is huge. I need an interactive way to optimize this. Then I made this cli tool "coderoad". A preview is below. And there is a &lt;a href="https://coderoad.waningflow.com/" rel="noopener noreferrer"&gt;live demo&lt;/a&gt; here (which is the codebase of the project itself).&lt;/p&gt;

&lt;p&gt;I describes it as "A way to view codebase based on dependence analysis". It supports JavaScript, TypeScript, ES6, CommonJS, AMD. It analyzes the dependence relationship with "dependency-cruiser", and draws the graph with "d3". The front-end is built with "react". It now support several basic functions, for example to adjust the depth of the dependency graph and toggle to show the dependencies or dependents. You can try it in the demo.&lt;/p&gt;

&lt;p&gt;I'll make further efforts to make it better. Greatly appreciate to the feedbacks. &lt;/p&gt;

&lt;p&gt;Find more in the &lt;a href="https://github.com/waningflow/CodeRoad" rel="noopener noreferrer"&gt;repo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Ff1ypdkiz0pya3znm02v8.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Ff1ypdkiz0pya3znm02v8.gif"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>coderoad</category>
      <category>javascript</category>
      <category>dependency</category>
      <category>react</category>
    </item>
  </channel>
</rss>
