post.dot 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. // https://en.wikipedia.org/wiki/Data-flow_diagram
  2. digraph {
  3. label = "Seppo.app: Post Status\nData-flow Diagram";
  4. labelloc = t;
  5. //rankdir = LR;
  6. node [shape=box];
  7. human;
  8. node [shape=cylinder];
  9. "auth.s";
  10. "ban.cdb";
  11. "ban.s";
  12. "config.s";
  13. "days.xml";
  14. "entry.xml";
  15. "feed.xml";
  16. "head.xml";
  17. "posse.s";
  18. "tags.xml";
  19. "write.s";
  20. activitypub;
  21. idx;
  22. mastodon;
  23. micropub;
  24. pinboard;
  25. twitter;
  26. node [shape=rectangle];
  27. node [shape=circle];
  28. "auth?" -> human [label=no];
  29. "auth?" -> "do ban" [label=no];
  30. "ban.cdb" -> "ban?";
  31. "ban.s" -> "do ban";
  32. "ban?" -> human [label=yes];
  33. "auth.s" -> "auth?";
  34. "config.s" -> "auth?";
  35. "feed.xml" -> read;
  36. idx -> read;
  37. "feed.xml"
  38. -> human
  39. -> "ban?"
  40. -> "auth?" [label=no];
  41. "auth?"
  42. -> read [label=yes];
  43. "read"
  44. -> write;
  45. "write.s" -> write;
  46. "head.xml" -> write;
  47. posse -> activitypub;
  48. "posse.s" -> posse;
  49. posse -> mastodon;
  50. posse -> micropub;
  51. posse -> pinboard;
  52. posse -> twitter;
  53. PuSH -> posse;
  54. "feed.xml" -> PuSH;
  55. edge [color=red style=dashed];
  56. "do ban" -> "ban.cdb";
  57. write -> "feed.xml";
  58. "feed.xml" -> "entry.xml";
  59. "feed.xml" -> "tags.xml";
  60. "feed.xml" -> "days.xml";
  61. "feed.xml" -> idx;
  62. }