File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ results in this graphics:
270270## Images
271271Images can be included in graphviz in two ways.
272272
273- One possibility is using the <img > tag inside a HTML label:
273+ One possibility is using the \ < img> tag inside a HTML label:
274274
275275[ // ] : # ( img )
276276``` java
@@ -285,11 +285,10 @@ g.basedir(new File("example")).render(Format.PNG).toFile(new File("example/ex7.p
285285Because viz.js [ does not support \< img> tags] ( https://github.com/mdaines/viz.js/issues/125 ) ,
286286** this works only when using the command line engine** .
287287
288- The other way is the image attribute of a node:
288+ The other possibility is the ` image ` attribute of a node:
289289
290290[ // ] : # ( image )
291291``` java
292- Graphviz . useEngine(new GraphvizV8Engine ());
293292Graphviz g = Graphviz . fromGraph(graph()
294293 .with(node(" " ). with(Size . std(). margin(.8 , .7 ), Image . of(" graphviz.png" ))));
295294g. basedir(new File (" example" )). render(Format . PNG ). toFile(new File (" example/ex8.png" ));
You can’t perform that action at this time.
0 commit comments