From 1703cbb7f2781bf421a41b0cbe31ca074b1843fc Mon Sep 17 00:00:00 2001 From: Andrea Accardo Date: Thu, 13 Apr 2017 18:00:40 +0200 Subject: [PATCH] Update manual_javavis.html update doc --- docs/manual_javavis.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/manual_javavis.html b/docs/manual_javavis.html index f68dab82e..af760af6a 100644 --- a/docs/manual_javavis.html +++ b/docs/manual_javavis.html @@ -397,9 +397,9 @@ model. In the HelloWorld example we saw this code:

graph.getModel().beginUpdate(); try { - Object v1 = graph.addVertex(parent, null, "Hello,", 20, 20, 80, 30); - Object v2 = graph.addVertex(parent, null, "World!", 200, 150, 80, 30); - Object e1 = graph.addEdge(parent, null, "", v1, v2); + Object v1 = graph.insertVertex(parent, null, "Hello,", 20, 20, 80, 30); + Object v2 = graph.insertVertex(parent, null, "World!", 200, 150, 80, 30); + Object e1 = graph.insertEdge(parent, null, "", v1, v2); } finally {