2 lines
117 B
Text
2 lines
117 B
Text
T := GraphTheory:-Graph([1, 2, 3, 4, 5], {{1, 2}, {2, 3}, {2, 4}, {4, 5}}):
|
|
GraphTheory:-DrawGraph(T, style = tree);
|