add_node(self,
id,
label,
shape=' box ' ,
fillcolor=' white ' ,
url='
' ,
htmloutput=False)
| source code
|
Add a node to this graph. Nodes can be different shapes like boxes and
circles.
- Parameters:
id (string) - A unique identification value for this node. Example:
"p55"
label (string) - The text to be displayed in the node. Example: "John
Smith"
shape (string) - The shape for the node. Examples: "box",
"ellipse", "circle"
fillcolor (string) - The fill color for the node. Examples: "blue",
"lightyellow"
url (string) - A URL for the node.
htmloutput (boolean) - Whether the label contains HTML.
- Returns:
- nothing
|