github.com/machinefi/w3bstream@v1.6.5-rc9.0.20240426031326-b8c7c4876e72/__doc__/modules_and_dataflow.puml (about) 1 @startuml 2 3 !define DomainStory https://raw.githubusercontent.com/johthor/DomainStory-PlantUML/main 4 !include DomainStory/domainStory.puml 5 !define Office https://raw.githubusercontent.com/Roemer/plantuml-office/master/office2014 6 !include Office/Devices/cell_phone_generic.puml 7 8 9 Person(user, w3bstream user) 10 Boundary(api_server) { 11 Boundary(user_mgr) 12 Boundary(global_configuration) 13 Boundary(project_mgr) { 14 Boundary(publisher_mgr) 15 Boundary(applet_mgr) 16 } 17 } 18 19 20 21 System(device, event publisher\n(phone|edge device)) 22 23 Boundary(proxy, event_proxy) { 24 Boundary(transporter) 25 Boundary(filter, event filter) 26 Boundary(dispatcher, event dispatcher) 27 } 28 29 Boundary(vm_management) { 30 Boundary(memory_mgr) 31 Boundary(vm_mgr) 32 Boundary(vm_instance) 33 } 34 35 Boundary(external) { 36 Boundary(bc, block chain) 37 } 38 39 Boundary(host, host infra) { 40 Boundary(db, database) 41 Boundary(vm_dependencies, wasm dependencies) 42 } 43 44 45 activity(_, user, user register(user_info), user_mgr, $color = red, $scale = 2) 46 activity(_<, user_mgr, user created(user_id), user) 47 activity(_, user, user login(auth_info), user_mgr) 48 activity(_<, user_mgr, signed in(token), user) 49 50 activity(_, user, project register(user_id,project_id), project_mgr) 51 activity(_<, project_mgr, project created, user) 52 53 activity(_, user, publisher register(token, project_id, publisher_info), publisher_mgr) 54 activity(_<, publisher_mgr, publisher created(publisher_id), user) 55 56 activity(_, user, applet register(token,project_id,applet_info), applet_mgr) 57 activity(_<, applet_mgr, applet created(applet_id), user) 58 59 activity(_, user, deployment control(token,project_id,applet_id,deploy_cmd), applet_mgr) 60 activity(|, applet_mgr, (deploy_cmd), vm_mgr) 61 activity(|, vm_mgr, exec cmd,vm_instance) 62 activity(|, vm_instance, cmd result, vm_mgr) 63 activity(|, vm_mgr, (deploy_control_result), applet_mgr) 64 activity(_, applet_mgr, (deploy_control_result), user) 65 66 activity(_, device, event message, transporter) 67 activity(_, transporter, event_data, filter) 68 activity(_, filter, event_route event_data, dispatcher) 69 activity(_, dispatcher, event_data, vm_instance) 70 activity(_, vm_instance, data original, vm_dependencies) 71 activity(_, vm_dependencies, data, vm_instance) 72 activity(_, vm_instance, data, external) 73 activity(_, external, result, vm_instance) 74 activity(_, vm_instance, result, transporter) 75 activity(_, transporter, result, device) 76 77 @enduml