Files
microdao-daarion/MicroDAO Demo Flow.svg

1 line
18 KiB
XML

<svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="0 0 502.23828125 1288.9609375" style="max-width: 502.23828125px;" class="flowchart" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="100%" id="mermaid-diagram-mermaid-gzuf8aj"><style>#mermaid-diagram-mermaid-gzuf8aj{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#000000;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-diagram-mermaid-gzuf8aj .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-diagram-mermaid-gzuf8aj .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-diagram-mermaid-gzuf8aj .error-icon{fill:#552222;}#mermaid-diagram-mermaid-gzuf8aj .error-text{fill:#552222;stroke:#552222;}#mermaid-diagram-mermaid-gzuf8aj .edge-thickness-normal{stroke-width:1px;}#mermaid-diagram-mermaid-gzuf8aj .edge-thickness-thick{stroke-width:3.5px;}#mermaid-diagram-mermaid-gzuf8aj .edge-pattern-solid{stroke-dasharray:0;}#mermaid-diagram-mermaid-gzuf8aj .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-diagram-mermaid-gzuf8aj .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-diagram-mermaid-gzuf8aj .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-diagram-mermaid-gzuf8aj .marker{fill:#666;stroke:#666;}#mermaid-diagram-mermaid-gzuf8aj .marker.cross{stroke:#666;}#mermaid-diagram-mermaid-gzuf8aj svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-diagram-mermaid-gzuf8aj p{margin:0;}#mermaid-diagram-mermaid-gzuf8aj .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#000000;}#mermaid-diagram-mermaid-gzuf8aj .cluster-label text{fill:#333;}#mermaid-diagram-mermaid-gzuf8aj .cluster-label span{color:#333;}#mermaid-diagram-mermaid-gzuf8aj .cluster-label span p{background-color:transparent;}#mermaid-diagram-mermaid-gzuf8aj .label text,#mermaid-diagram-mermaid-gzuf8aj span{fill:#000000;color:#000000;}#mermaid-diagram-mermaid-gzuf8aj .node rect,#mermaid-diagram-mermaid-gzuf8aj .node circle,#mermaid-diagram-mermaid-gzuf8aj .node ellipse,#mermaid-diagram-mermaid-gzuf8aj .node polygon,#mermaid-diagram-mermaid-gzuf8aj .node path{fill:#eee;stroke:#999;stroke-width:1px;}#mermaid-diagram-mermaid-gzuf8aj .rough-node .label text,#mermaid-diagram-mermaid-gzuf8aj .node .label text,#mermaid-diagram-mermaid-gzuf8aj .image-shape .label,#mermaid-diagram-mermaid-gzuf8aj .icon-shape .label{text-anchor:middle;}#mermaid-diagram-mermaid-gzuf8aj .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-diagram-mermaid-gzuf8aj .rough-node .label,#mermaid-diagram-mermaid-gzuf8aj .node .label,#mermaid-diagram-mermaid-gzuf8aj .image-shape .label,#mermaid-diagram-mermaid-gzuf8aj .icon-shape .label{text-align:center;}#mermaid-diagram-mermaid-gzuf8aj .node.clickable{cursor:pointer;}#mermaid-diagram-mermaid-gzuf8aj .root .anchor path{fill:#666!important;stroke-width:0;stroke:#666;}#mermaid-diagram-mermaid-gzuf8aj .arrowheadPath{fill:#333333;}#mermaid-diagram-mermaid-gzuf8aj .edgePath .path{stroke:#666;stroke-width:2.0px;}#mermaid-diagram-mermaid-gzuf8aj .flowchart-link{stroke:#666;fill:none;}#mermaid-diagram-mermaid-gzuf8aj .edgeLabel{background-color:white;text-align:center;}#mermaid-diagram-mermaid-gzuf8aj .edgeLabel p{background-color:white;}#mermaid-diagram-mermaid-gzuf8aj .edgeLabel rect{opacity:0.5;background-color:white;fill:white;}#mermaid-diagram-mermaid-gzuf8aj .labelBkg{background-color:rgba(255, 255, 255, 0.5);}#mermaid-diagram-mermaid-gzuf8aj .cluster rect{fill:hsl(0, 0%, 98.9215686275%);stroke:#707070;stroke-width:1px;}#mermaid-diagram-mermaid-gzuf8aj .cluster text{fill:#333;}#mermaid-diagram-mermaid-gzuf8aj .cluster span{color:#333;}#mermaid-diagram-mermaid-gzuf8aj div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(-160, 0%, 93.3333333333%);border:1px solid #707070;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-diagram-mermaid-gzuf8aj .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#000000;}#mermaid-diagram-mermaid-gzuf8aj rect.text{fill:none;stroke-width:0;}#mermaid-diagram-mermaid-gzuf8aj .icon-shape,#mermaid-diagram-mermaid-gzuf8aj .image-shape{background-color:white;text-align:center;}#mermaid-diagram-mermaid-gzuf8aj .icon-shape p,#mermaid-diagram-mermaid-gzuf8aj .image-shape p{background-color:white;padding:2px;}#mermaid-diagram-mermaid-gzuf8aj .icon-shape rect,#mermaid-diagram-mermaid-gzuf8aj .image-shape rect{opacity:0.5;background-color:white;fill:white;}#mermaid-diagram-mermaid-gzuf8aj :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker orient="auto" markerHeight="8" markerWidth="8" markerUnits="userSpaceOnUse" refY="5" refX="5" viewBox="0 0 10 10" class="marker flowchart-v2" id="mermaid-diagram-mermaid-gzuf8aj_flowchart-v2-pointEnd"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 0 L 10 5 L 0 10 z"></path></marker><marker orient="auto" markerHeight="8" markerWidth="8" markerUnits="userSpaceOnUse" refY="5" refX="4.5" viewBox="0 0 10 10" class="marker flowchart-v2" id="mermaid-diagram-mermaid-gzuf8aj_flowchart-v2-pointStart"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 5 L 10 10 L 10 0 z"></path></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="11" viewBox="0 0 10 10" class="marker flowchart-v2" id="mermaid-diagram-mermaid-gzuf8aj_flowchart-v2-circleEnd"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"></circle></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="-1" viewBox="0 0 10 10" class="marker flowchart-v2" id="mermaid-diagram-mermaid-gzuf8aj_flowchart-v2-circleStart"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"></circle></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="12" viewBox="0 0 11 11" class="marker cross flowchart-v2" id="mermaid-diagram-mermaid-gzuf8aj_flowchart-v2-crossEnd"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"></path></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="-1" viewBox="0 0 11 11" class="marker cross flowchart-v2" id="mermaid-diagram-mermaid-gzuf8aj_flowchart-v2-crossStart"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"></path></marker><g class="root"><g class="clusters"></g><g class="edgePaths"></g><g class="edgeLabels"></g><g class="nodes"><g transform="translate(0, 0)" class="root"><g class="clusters"><g data-look="classic" id="subGraph0" class="cluster"><rect height="1272.9609375" width="486.23828125" y="8" x="8" style=""></rect><g transform="translate(175.853515625, 8)" class="cluster-label"><foreignObject height="24" width="150.53125"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>MicroDAO Demo Flow</p></span></div></foreignObject></g></g></g><g class="edgePaths"><path marker-end="url(#mermaid-diagram-mermaid-gzuf8aj_flowchart-v2-pointEnd)" style="" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" id="L_START_PARSER_0" d="M253.986,123.5L253.986,129.75C253.986,136,253.986,148.5,253.986,160.333C253.986,172.167,253.986,183.333,253.986,188.917L253.986,194.5"></path><path marker-end="url(#mermaid-diagram-mermaid-gzuf8aj_flowchart-v2-pointEnd)" style="" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" id="L_PARSER_KB_0" d="M253.986,276.5L253.986,282.75C253.986,289,253.986,301.5,253.986,313.333C253.986,325.167,253.986,336.333,253.986,341.917L253.986,347.5"></path><path marker-end="url(#mermaid-diagram-mermaid-gzuf8aj_flowchart-v2-pointEnd)" style="" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" id="L_KB_SLM_0" d="M253.986,429.5L253.986,435.75C253.986,442,253.986,454.5,253.986,466.333C253.986,478.167,253.986,489.333,253.986,494.917L253.986,500.5"></path><path marker-end="url(#mermaid-diagram-mermaid-gzuf8aj_flowchart-v2-pointEnd)" style="" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" id="L_SLM_OUTPUT_0" d="M253.986,582.5L253.986,588.75C253.986,595,253.986,607.5,253.986,619.333C253.986,631.167,253.986,642.333,253.986,647.917L253.986,653.5"></path><path marker-end="url(#mermaid-diagram-mermaid-gzuf8aj_flowchart-v2-pointEnd)" style="" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" id="L_OUTPUT_CHAT_0" d="M253.986,735.5L253.986,741.75C253.986,748,253.986,760.5,253.986,772.333C253.986,784.167,253.986,795.333,253.986,800.917L253.986,806.5"></path><path marker-end="url(#mermaid-diagram-mermaid-gzuf8aj_flowchart-v2-pointEnd)" style="" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" id="L_CHAT_DAGI_0" d="M253.986,888.5L253.986,894.75C253.986,901,253.986,913.5,254.061,925.417C254.135,937.333,254.285,948.667,254.359,954.334L254.434,960"></path><path marker-end="url(#mermaid-diagram-mermaid-gzuf8aj_flowchart-v2-pointEnd)" style="" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" id="L_DAGI_DAGI_GLOBAL_0" d="M228.398,1040.873L215.372,1053.388C202.346,1065.902,176.293,1090.932,163.267,1111.03C150.24,1131.128,150.24,1146.294,150.24,1153.878L150.24,1161.461"></path><path marker-end="url(#mermaid-diagram-mermaid-gzuf8aj_flowchart-v2-pointEnd)" style="" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" id="L_DAGI_PRIVATE_0" d="M280.574,1040.873L293.434,1053.388C306.294,1065.902,332.013,1090.932,344.873,1113.03C357.732,1135.128,357.732,1154.294,357.732,1163.878L357.732,1173.461"></path></g><g class="edgeLabels"><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div class="labelBkg" xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div class="labelBkg" xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div class="labelBkg" xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div class="labelBkg" xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div class="labelBkg" xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div class="labelBkg" xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g transform="translate(150.240234375, 1115.9609375)" class="edgeLabel"><g transform="translate(-11.17578125, -12)" class="label"><foreignObject height="24" width="22.3515625"><div class="labelBkg" xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>Yes</p></span></div></foreignObject></g></g><g transform="translate(357.732421875, 1115.9609375)" class="edgeLabel"><g transform="translate(-9.30078125, -12)" class="label"><foreignObject height="24" width="18.6015625"><div class="labelBkg" xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>No</p></span></div></foreignObject></g></g></g><g class="nodes"><g transform="translate(253.986328125, 84.5)" id="flowchart-START-0" class="node default"><rect height="78" width="215.4140625" y="-39" x="-107.70703125" style="fill:#4CAF50 !important;stroke:#388E3C !important" class="basic label-container"></rect><g transform="translate(-77.70703125, -24)" style="color:#fff !important" class="label"><rect></rect><foreignObject height="48" width="155.4140625"><div xmlns="http://www.w3.org/1999/xhtml" style="color: rgb(255, 255, 255) !important; display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel" style="color:#fff !important"><p>Input: Document<br>(raw bytes / IPFS CID)</p></span></div></foreignObject></g></g><g transform="translate(253.986328125, 237.5)" id="flowchart-PARSER-1" class="node default"><rect height="78" width="199.5546875" y="-39" x="-99.77734375" style="" class="basic label-container"></rect><g transform="translate(-69.77734375, -24)" style="" class="label"><rect></rect><foreignObject height="48" width="139.5546875"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Knowledge Weaver<br>(PDF → USDO + KG)</p></span></div></foreignObject></g></g><g transform="translate(253.986328125, 390.5)" id="flowchart-KB-3" class="node default"><rect height="78" width="195.0703125" y="-39" x="-97.53515625" style="fill:#2196F3 !important;stroke:#1976D2 !important" class="basic label-container"></rect><g transform="translate(-67.53515625, -24)" style="color:#fff !important" class="label"><rect></rect><foreignObject height="48" width="135.0703125"><div xmlns="http://www.w3.org/1999/xhtml" style="color: rgb(255, 255, 255) !important; display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel" style="color:#fff !important"><p>KB Core<br>(Qdrant-lite + RDF)</p></span></div></foreignObject></g></g><g transform="translate(253.986328125, 543.5)" id="flowchart-SLM-5" class="node default"><rect height="78" width="188.3515625" y="-39" x="-94.17578125" style="" class="basic label-container"></rect><g transform="translate(-64.17578125, -24)" style="" class="label"><rect></rect><foreignObject height="48" width="128.3515625"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>SLM Agent<br>(Phi-3-mini WASM)</p></span></div></foreignObject></g></g><g transform="translate(253.986328125, 696.5)" id="flowchart-OUTPUT-7" class="node default"><rect height="78" width="260" y="-39" x="-130" style="" class="basic label-container"></rect><g transform="translate(-100, -24)" style="" class="label"><rect></rect><foreignObject height="48" width="200"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="nodeLabel"><p>Output: Summary + Tasks + Images</p></span></div></foreignObject></g></g><g transform="translate(253.986328125, 849.5)" id="flowchart-CHAT-9" class="node default"><rect height="78" width="112.015625" y="-39" x="-56.0078125" style="" class="basic label-container"></rect><g transform="translate(-26.0078125, -24)" style="" class="label"><rect></rect><foreignObject height="48" width="52.015625"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Chat UI<br>(PWA)</p></span></div></foreignObject></g></g><g transform="translate(253.986328125, 1014.98046875)" id="flowchart-DAGI-11" class="node default"><polygon transform="translate(-51.48046875,51.48046875)" class="label-container" points="51.48046875,0 102.9609375,-51.48046875 51.48046875,-102.9609375 0,-51.48046875"></polygon><g transform="translate(-24.48046875, -12)" style="" class="label"><rect></rect><foreignObject height="24" width="48.9609375"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Public?</p></span></div></foreignObject></g></g><g transform="translate(150.240234375, 1204.4609375)" id="flowchart-DAGI_GLOBAL-13" class="node default"><rect height="78" width="168.9609375" y="-39" x="-84.48046875" style="fill:#FF9800 !important;stroke:#F57C00 !important" class="basic label-container"></rect><g transform="translate(-54.48046875, -24)" style="color:#fff !important" class="label"><rect></rect><foreignObject height="48" width="108.9609375"><div xmlns="http://www.w3.org/1999/xhtml" style="color: rgb(255, 255, 255) !important; display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel" style="color:#fff !important"><p>DAGI Global KG<br>(IPFS Sync)</p></span></div></foreignObject></g></g><g transform="translate(357.732421875, 1204.4609375)" id="flowchart-PRIVATE-15" class="node default"><rect height="54" width="146.0234375" y="-27" x="-73.01171875" style="" class="basic label-container"></rect><g transform="translate(-43.01171875, -12)" style="" class="label"><rect></rect><foreignObject height="24" width="86.0234375"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Private Only</p></span></div></foreignObject></g></g></g></g></g></g></g></svg>