X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.graphviz.ui%2Fexamples%2Forg%2Fsimantics%2Fgraphviz%2Fui%2Fexamples%2FGraphvizComponentExample.java;h=f8f775932396c4eac8313d465d544ca4f3240297;hb=47269fe0acb894f346810417d950a1ab59cdc0ea;hp=dc9d1ada709eab4bb7bc3f10a94cb2e6ebf15792;hpb=11309f6516278203264b680235cbbe1dc2bde98e;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.graphviz.ui/examples/org/simantics/graphviz/ui/examples/GraphvizComponentExample.java b/bundles/org.simantics.graphviz.ui/examples/org/simantics/graphviz/ui/examples/GraphvizComponentExample.java index dc9d1ada7..f8f775932 100644 --- a/bundles/org.simantics.graphviz.ui/examples/org/simantics/graphviz/ui/examples/GraphvizComponentExample.java +++ b/bundles/org.simantics.graphviz.ui/examples/org/simantics/graphviz/ui/examples/GraphvizComponentExample.java @@ -39,9 +39,9 @@ public class GraphvizComponentExample { private static Graph createGraph() { Graph graph = new Graph(); - Node node1 = new Node(graph, "A"); - Node node2 = new Node(graph, "B"); - new Edge(graph, node1, node2).setLabel("A to B"); + Node node1 = new Node(graph, "A"); //$NON-NLS-1$ + Node node2 = new Node(graph, "B"); //$NON-NLS-1$ + new Edge(graph, node1, node2).setLabel("A to B"); //$NON-NLS-1$ return graph; }