Skip to content

Commit

Permalink
Add align and acyclicer to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-keller committed Jan 18, 2022
1 parent 6072317 commit 19feca8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ var defaults = {
edgeSep: undefined, // the separation between adjacent edges in the same rank
rankSep: undefined, // the separation between each rank in the layout
rankDir: undefined, // 'TB' for top to bottom flow, 'LR' for left to right,
align: undefined, // alignment for rank nodes. Can be 'UL', 'UR', 'DL', or 'DR', where U = up, D = down, L = left, and R = right
acyclicer: undefined, // If set to 'greedy', uses a greedy heuristic for finding a feedback arc set for a graph.
// A feedback arc set is a set of edges that can be removed to make a graph acyclic.
ranker: undefined, // Type of algorithm to assign a rank to each node in the input graph. Possible values: 'network-simplex', 'tight-tree' or 'longest-path'
minLen: function( edge ){ return 1; }, // number of ranks to keep between the source and target of the edge
edgeWeight: function( edge ){ return 1; }, // higher weight edges are generally made shorter and straighter than lower weight edges
Expand Down

0 comments on commit 19feca8

Please sign in to comment.