Modify

Opened 5 years ago

Closed 5 years ago

#13569 closed defect (worksforme)

Don't display images in nodes

Reported by: covax Owned by: Christian Boos
Priority: normal Component: GraphvizPlugin
Severity: normal Keywords: Node, Shape
Cc: artyom.breus@… Trac Release: 1.2

Description

When I try to render network scheme with routers and switches images

{{{
#!graphviz

digraph {  
          Router1 [shape=None, image="router.png", label="123"]  

}}}

GraphvizPlugin displays this error:

Graphviz macro processor has detected an error. Please fix the problem before continuing.

The command:

'/usr/bin/dot -Tpng -o/var/lib/trac/vvoit/www/htdocs/graphviz/fa9e9c350e65749ae95a7d19d054411f549ad7de.dot.png -Gdpi=96'
succeeded but emitted the following output:
'Warning: using box for unknown shape None\nWarning: No such file or directory while opening aaa.png\nWarning: No or improper image="aaa.png" for node "aaa"\n'

How can I display images in nodes?

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by Jun Omae

The dot command said Warning: using box for unknown shape None. I think that should be shape=none, not shape=None.

See https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:shape

comment:2 Changed 5 years ago by Ryan J Ollos

Resolution: worksforme
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.