Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dagrejs/dagre
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cdd91d04ce7b20369ba3f11426ad4e5f54b3bce9
Choose a base ref
..
head repository: dagrejs/dagre
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 401f1ba128420be424fa69ec773bf418f300b7ad
Choose a head ref
Showing with 1 addition and 2 deletions.
  1. +1 −1 lib/layout.js
  2. +0 −1 lib/rank/index.js
2 changes: 1 addition & 1 deletion lib/layout.js
Original file line number Diff line number Diff line change
@@ -97,7 +97,7 @@ function updateInputGraph(inputGraph, layoutGraph) {
var graphNumAttrs = ["nodesep", "edgesep", "ranksep", "marginx", "marginy"];
var graphDefaults = { ranksep: 50, edgesep: 20, nodesep: 50, rankdir: "tb" };
var graphAttrs = ["acyclicer", "ranker", "rankdir", "align"];
var nodeNumAttrs = ["width", "height", "rank"],
var nodeNumAttrs = ["width", "height", "rank"];
var nodeDefaults = { width: 0, height: 0 };
var edgeNumAttrs = ["minlen", "weight", "width", "height", "labeloffset"];
var edgeDefaults = {
1 change: 0 additions & 1 deletion lib/rank/index.js
Original file line number Diff line number Diff line change
@@ -41,7 +41,6 @@ function rank(g) {
}
}


// A fast and simple ranker, but results are far from optimal.
var longestPathRanker = longestPath;