Navigation Menu

Skip to content

Commit

Permalink
pass id and default params to node-view-factory
Browse files Browse the repository at this point in the history
  • Loading branch information
gerrit-hntschl committed May 1, 2016
1 parent cf8e752 commit d155e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lacij/edit/graph.clj
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 d155e81

Please sign in to comment.