Skip to content

Commit

Permalink
Merge pull request #9 from gerrit-hntschl/master
Browse files Browse the repository at this point in the history
Pass id and default params to node-view-factory
  • Loading branch information
Pierre Allix committed May 19, 2016
2 parents cf8e752 + d155e81 commit 31cd4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lacij/edit/graph.clj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
[id shape x y node-styles style node-attrs attrs node-view-factory]
(if (nil? node-view-factory)
(create-nodeview id shape x y (merge node-styles style) (merge node-attrs attrs))
(if-let [node-view (node-view-factory shape x y style attrs)]
(if-let [node-view (node-view-factory id shape x y (merge node-styles style) (merge node-attrs attrs))]
node-view
(create-nodeview id shape x y
(merge node-styles style)
Expand Down

0 comments on commit 31cd4e5

Please sign in to comment.