From 8e0bfacaecefb0ee0d55459494811f8f6389cf16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Sat, 8 May 2021 14:54:50 +0200 Subject: [PATCH] add entity streaming graph src --- docs/entity_streamer.gvz | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 docs/entity_streamer.gvz diff --git a/docs/entity_streamer.gvz b/docs/entity_streamer.gvz new file mode 100644 index 0000000..29b29db --- /dev/null +++ b/docs/entity_streamer.gvz @@ -0,0 +1,49 @@ +digraph G { + label = "eco2d entity streaming model"; + subgraph cluster_0 { + color=green; + node [style=filled,shape=box]; + flecs, librg_world_write, cwpack_pack; + label = "host"; + + librg_world_write->cwpack_pack; + } + + subgraph cluster_2 { + color=blue; + node [style=filled,shape=box,label="Packet translation layer"]; + pkt; + + label = "communication"; + labelloc = "b"; + + subgraph cluster_3 { + color = lightgray; + node [style=filled,shape=box,label="in-memory"]; + mem; + node [style=filled,shape=box,label="enet"]; + enet; + + label = "Packet transmission"; + labelloc = "b"; + } + + pkt->mem; + pkt->enet; + } + + subgraph cluster_1 { + node [style=filled,shape=box]; + librg_world_read, cwpack_unpack, raylib; + + label = "viewers"; + color=red; + + cwpack_unpack->librg_world_read; + librg_world_read->raylib; + } + + flecs->librg_world_write; + cwpack_pack->pkt; + pkt->cwpack_unpack; +}