Skip to content

Commit

Permalink
0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
blutorange committed Jun 10, 2018
1 parent 6b69b29 commit aa42787
Show file tree
Hide file tree
Showing 23 changed files with 826 additions and 161 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ I use the following keywords:

From newest to oldest:

# 0.2.2
- Added two methods for accessing edge data of incoming / outgoing edges: `getEdgeDataFrom`, `getEdgeDataTo`
- Added a method for checking whether an edge can be added: `canAddEdge`.

# 0.2.1
- Fixed typings for typescript.

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

127 changes: 107 additions & 20 deletions docs/classes/genericgraphadapter.html

Large diffs are not rendered by default.

128 changes: 106 additions & 22 deletions docs/classes/graphlibadapter.html

Large diffs are not rendered by default.

145 changes: 119 additions & 26 deletions docs/classes/multigraphadapter.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/classes/pearcekellydetector.html
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/PearceKellyDetector.ts#L68">PearceKellyDetector.ts:68</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/PearceKellyDetector.ts#L68">PearceKellyDetector.ts:68</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <a href="pearcekellydetector.html" class="tsd-signature-type">PearceKellyDetector</a></h4>
Expand All @@ -1108,7 +1108,7 @@ <h3>can<wbr>Add<wbr>Edge</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/cycledetector.html">CycleDetector</a>.<a href="../interfaces/cycledetector.html#canaddedge">canAddEdge</a></p>
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/PearceKellyDetector.ts#L111">PearceKellyDetector.ts:111</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/PearceKellyDetector.ts#L111">PearceKellyDetector.ts:111</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -1138,7 +1138,7 @@ <h3>create<wbr>Vertex<wbr>Data</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/cycledetector.html">CycleDetector</a>.<a href="../interfaces/cycledetector.html#createvertexdata">createVertexData</a></p>
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/PearceKellyDetector.ts#L97">PearceKellyDetector.ts:97</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/PearceKellyDetector.ts#L97">PearceKellyDetector.ts:97</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -1165,7 +1165,7 @@ <h3>get<wbr>Order</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/cycledetector.html">CycleDetector</a>.<a href="../interfaces/cycledetector.html#getorder">getOrder</a></p>
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/PearceKellyDetector.ts#L123">PearceKellyDetector.ts:123</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/PearceKellyDetector.ts#L123">PearceKellyDetector.ts:123</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -1192,7 +1192,7 @@ <h3>is<wbr>Reachable</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/cycledetector.html">CycleDetector</a>.<a href="../interfaces/cycledetector.html#isreachable">isReachable</a></p>
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/PearceKellyDetector.ts#L78">PearceKellyDetector.ts:78</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/PearceKellyDetector.ts#L78">PearceKellyDetector.ts:78</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -1222,7 +1222,7 @@ <h3>on<wbr>Vertex<wbr>Deletion</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/cycledetector.html">CycleDetector</a>.<a href="../interfaces/cycledetector.html#onvertexdeletion">onVertexDeletion</a></p>
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/PearceKellyDetector.ts#L105">PearceKellyDetector.ts:105</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/PearceKellyDetector.ts#L105">PearceKellyDetector.ts:105</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -1249,7 +1249,7 @@ <h3>supports<wbr>Order</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/cycledetector.html">CycleDetector</a>.<a href="../interfaces/cycledetector.html#supportsorder">supportsOrder</a></p>
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/PearceKellyDetector.ts#L119">PearceKellyDetector.ts:119</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/PearceKellyDetector.ts#L119">PearceKellyDetector.ts:119</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
Expand Down
40 changes: 22 additions & 18 deletions docs/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,10 @@ <h1 id="change-log">Change log</h1>
<li><code>Fixed</code> A bug or error that was fixed.</li>
</ul>
<p>From newest to oldest:</p>
<h1 id="0-2-1">0.2.1</h1>
<ul>
<li>Fixed typings for typescript.</li>
</ul>
<h1 id="0-2-0">0.2.0</h1>
<ul>
<li>Added the method <code>getOrder</code> to the graph adapters. It allows you to access the topological order of each vertex.</li>
Expand Down Expand Up @@ -1167,7 +1171,7 @@ <h3>Custom<wbr>Vertex<wbr>Data</h3>
<div class="tsd-signature tsd-kind-icon">Custom<wbr>Vertex<wbr>Data<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">TVertexData</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">keyof VertexData</span><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/Header.ts#L9">Header.ts:9</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/Header.ts#L9">Header.ts:9</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -1184,7 +1188,7 @@ <h3>Graphlib<wbr>Constructor</h3>
<div class="tsd-signature tsd-kind-icon">Graphlib<wbr>Constructor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/Header.ts#L40">Header.ts:40</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/Header.ts#L40">Header.ts:40</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand All @@ -1199,7 +1203,7 @@ <h3>Partial<wbr>Except</h3>
<div class="tsd-signature tsd-kind-icon">Partial<wbr>Except<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/InternalHeader.ts#L4">InternalHeader.ts:4</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/InternalHeader.ts#L4">InternalHeader.ts:4</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -1222,7 +1226,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> assign</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L41">util.ts:41</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L41">util.ts:41</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1266,7 +1270,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> can<wbr>Contract<wbr>Ed
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L177">util.ts:177</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L177">util.ts:177</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1310,7 +1314,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> contract<wbr>Edge</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L201">util.ts:201</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L201">util.ts:201</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1360,7 +1364,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> create<wbr>Array<wbr>It
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L132">util.ts:132</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L132">util.ts:132</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1398,7 +1402,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> create<wbr>Filtered<wbr
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L85">util.ts:85</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L85">util.ts:85</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1436,7 +1440,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> create<wbr>Flat<wbr>Map
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L105">util.ts:105</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L105">util.ts:105</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1487,7 +1491,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> create<wbr>Mapped<wbr>A
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L155">util.ts:155</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L155">util.ts:155</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1528,7 +1532,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> create<wbr>Mapped<wbr>I
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L66">util.ts:66</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L66">util.ts:66</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1569,7 +1573,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> take<wbr>First</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L8">util.ts:8</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L8">util.ts:8</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1607,7 +1611,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> to<wbr>Array</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L54">util.ts:54</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L54">util.ts:54</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1641,7 +1645,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> <span class="tsd-flag t
<div class="tsd-signature tsd-kind-icon">Done<wbr>Iterator<wbr>Result<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L16">util.ts:16</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L16">util.ts:16</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -1656,7 +1660,7 @@ <h3>done</h3>
<div class="tsd-signature tsd-kind-icon">done<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> =&nbsp;true</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L17">util.ts:17</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L17">util.ts:17</a></li>
</ul>
</aside>
</section>
Expand All @@ -1666,7 +1670,7 @@ <h3>value</h3>
<div class="tsd-signature tsd-kind-icon">value<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> =&nbsp;undefined</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L18">util.ts:18</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L18">util.ts:18</a></li>
</ul>
</aside>
</section>
Expand All @@ -1677,7 +1681,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> <span class="tsd-flag t
<div class="tsd-signature tsd-kind-icon">Empty<wbr>Iterator<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L25">util.ts:25</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L25">util.ts:25</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -1696,7 +1700,7 @@ <h3>next</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/d2b52f8/src/util.ts#L26">util.ts:26</a></li>
<li>Defined in <a href="https://github.com/blutorange/js-incremental-cycle-detect/blob/6b69b29/src/util.ts#L26">util.ts:26</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">IteratorResult</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4>
Expand Down
Loading

0 comments on commit aa42787

Please sign in to comment.