Skip to content

Commit

Permalink
Migrate graph.js
Browse files Browse the repository at this point in the history
  • Loading branch information
curran committed Dec 29, 2020
1 parent 9d127cc commit 19cad7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/graph.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
reorder.graph = function(nodes, links, directed) {
export function graph(nodes, links, directed) {
var graph = {},
linkDistance = 1,
edges,
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ export { dist, distmax, distmin, dist_remove } from './dist';
export { distance } from './distance';
export { edgesum } from './edgesum';
export { fiedler_vector } from './fiedler';
export { graph } from './graph';

0 comments on commit 19cad7d

Please sign in to comment.