swear01

HW4P2-1

May 27th, 2023 (edited)
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | Source Code | 0 0
  1. digraph {
  2. ranksep = 0.3
  3. nodesep = .1
  4.  
  5.  
  6. node[shape = circle, color = black, fontcolor=black,fontname="Roboto", width=0.5, fixedsize=true,style=bold]
  7. A [label=8]
  8. C [label=2]
  9. E [label=6]
  10. J [label=10]
  11. L [label=14]
  12.  
  13. node[shape = circle, color = red, fontcolor=red, fontname="Roboto", width=0.5, fixedsize=true,style=bold]
  14. B [label=4]
  15. D [label=1]
  16. G [label=3]
  17. F [label=5]
  18. H [label=7]
  19. I [label=12]
  20. K [label=9]
  21. N [label=11]
  22. M [label=13]
  23. O [label=15]
  24.  
  25.  
  26. A -> B -> C -> D
  27. B -> E -> F
  28. C -> G
  29. E -> H
  30. A -> I -> J -> K
  31. I -> L -> M
  32. J -> N
  33. L -> O
  34. }
Advertisement
Add Comment
Please, Sign In to add comment