Suppose I have a graph like this
Graph[
{1 <-> 2, 2 <-> 3, Labeled[3 <-> 1, "hello"]},
VertexLabels -> Placed["Name",StatusArea]
]
Now I want to add more properties to all the nodes.
For instance, I want to replace name of node 1 by number 3700, node 2 by 3701, node3 by 3703 and those should be displayed only in the status area.
Along with replacing the node names, I also want some more properties associated with nodes. For instance, I'd like 3700, "h1"
to be displayed in the status area when I place my mouse pointer at node 1; at node 2, it should display 3700, "h2"
etc. (not exactly those but some other display stuff).
How can I do it?
Comments
Post a Comment