From d155e8174d95844717e8c52553b27f68db615dc3 Mon Sep 17 00:00:00 2001 From: Gerrit Hentschel Date: Sun, 1 May 2016 22:59:39 +0200 Subject: [PATCH] pass id and default params to node-view-factory --- src/lacij/edit/graph.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lacij/edit/graph.clj b/src/lacij/edit/graph.clj index ac46868..26aef22 100644 --- a/src/lacij/edit/graph.clj +++ b/src/lacij/edit/graph.clj @@ -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)