How to change node names and divide and print the individual graph?
I have this graph
Gp = graph({‘n1’ ‘n1’ ‘n2’ ‘n2’ ‘n3’ ‘n4’},{‘n2’ ‘n4’ ‘n3’ ‘n4’ ‘n5’ ‘n5’});
*how to change node name without altering the existing one?*
say i would like to change n1 as *[s1,s_1]*
Can we able to add Weights for Node? And is it possible to represent weight of node in the graph by plotting ?
*As well as how to print a graph containing desired nodes from the Gp GRAPH? just to print say n1,n2,n3*I have this graph
Gp = graph({‘n1’ ‘n1’ ‘n2’ ‘n2’ ‘n3’ ‘n4’},{‘n2’ ‘n4’ ‘n3’ ‘n4’ ‘n5’ ‘n5’});
*how to change node name without altering the existing one?*
say i would like to change n1 as *[s1,s_1]*
Can we able to add Weights for Node? And is it possible to represent weight of node in the graph by plotting ?
*As well as how to print a graph containing desired nodes from the Gp GRAPH? just to print say n1,n2,n3* I have this graph
Gp = graph({‘n1’ ‘n1’ ‘n2’ ‘n2’ ‘n3’ ‘n4’},{‘n2’ ‘n4’ ‘n3’ ‘n4’ ‘n5’ ‘n5’});
*how to change node name without altering the existing one?*
say i would like to change n1 as *[s1,s_1]*
Can we able to add Weights for Node? And is it possible to represent weight of node in the graph by plotting ?
*As well as how to print a graph containing desired nodes from the Gp GRAPH? just to print say n1,n2,n3* graph, edges MATLAB Answers — New Questions