Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c96bbdf

Browse files
committed
Code style fix.
1 parent 88d038b commit c96bbdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/data-structures/graph/Graph.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,11 @@ export default class Graph {
115115
*/
116116
findEdge(startVertex, endVertex) {
117117
const vertex = this.getVertexByKey(startVertex.getKey());
118+
118119
if (!vertex) {
119120
return null;
120121
}
122+
121123
return vertex.findEdge(endVertex);
122124
}
123125

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /