the edgeNames( ), and the label for the edge in a node-edge plot created in Graphviz
0
0
Entering edit mode
Yilin Liu ▴ 40
@yilin-liu-1232
Last seen 9.6 years ago
every time you construct a graph object, you can use edgeNames() function to return the edge names in the graph, e.g. if node "A" is connected with node "B", then the edge name is returned as "A~B". I want to know whether i can set the edge name by myself, e.g. I'd like to call it "L1". Another question is when I convert a graph into a .gxl file in R, i can plot it in Graphviz. Is it possible to include labels for all the edges and get edge labels shown in the graph the sames as the node labels.
graph convert graph convert • 886 views
ADD COMMENT

Login before adding your answer.

Traffic: 664 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6