Test:Mermaid: Difference between revisions

From Resonite Wiki
test
test
Line 33: Line 33:
}}
}}


{{#mermaid:flowchart RL
{{#mermaid:%%{init: {"flowchart": {"htmlLabels": false}} }%%
flowchart BT
     subgraph outside
     subgraph outside
         NotConnected
          
 
        InvalidSpace["`Invalid, not linked`"]
        RootSlot
    end
    subgraph RootSlot [RootSlot]
        World["`Space #34;World#34;`"]
        color["`World/Color1`"] --> World
       
       
        UserRootSlot
       
     end
     end
 
    subgraph UserRootSlot
 
        UserSpace["`Space #34;User#34;`"]
    subgraph World [World]
        AvatarRootSlot
         color["World/Color1"]
        V["`User/Voice`"] --> UserSpace
         V2["`User/Color`"] --> UserSpace
     end
     end
 
    subgraph User
      
      
         V["User/Voice"]
    subgraph AvatarRootSlot
         avatar["`User/Avatar`"]  
        avatarworld["`World/Avatar.U-myid`"]
        hips["`HipsSlot`"] --> AvatarSpace
        invalid["`None/float`"]
       
        AvatarSpace["`Space #34;Avatar#34;`"]
       
        Flux2_node0(["`DynamicVariableInput
        #60;ColorX#62;
        #34;World/Color1#34;`"])
        Flux2_node0 -. points to .-> color
     end
     end
     subgraph Avatar
   
         avatar["User/Avatar"]  
 
         avatarworld["World/Avatar.U-myid"]
   
         hips["Avatar/Hips"]
    avatarworld --> World
    avatar --> UserSpace
     subgraph Flux1
         Flux1_node0(["User Root Slot"]) -. automatically points to .-> UserRootSlot
         Flux1_node1(["`Read #34;User/Avatar#34;`"]) --> Flux1_node0
        Flux1_node1 -. points to .-> AvatarRootSlot
         Flux1_node2(["`Read Variable #34;Avatar/Hips#34;`"]) --> Flux1_node1
        Flux1_node2 -. points to .-> hips
     end
     end
     subgraph FluxCode
     subgraph Flux2
         node1(["Read User Slot"]) -- reads #quot;User/Avatar#quot; from --> User
          
        node1 -. points to .-> Avatar
        node2(["Read Variable"]) -- Reads #quot;Avatar/Hips#quot; from --> node1
        node2 -. points to .-> hips
     end
     end
 
    UserSpace [[User:989onan|989onan]] ([[User talk:989onan|talk]]) World
  FluxCode --> World
    AvatarSpace [[User:989onan|989onan]] ([[User talk:989onan|talk]]) UserSpace
  color --> World
    World [[User:989onan|989onan]] ([[User talk:989onan|talk]]) InvalidSpace
  V --> User
    invalid --> InvalidSpace
  avatarworld --> World
   
  avatar --> User
   
  User --> World
   
  World --> outside
  Avatar --> User
}}
}}



Revision as of 21:40, 31 March 2024

}%%

flowchart BT

   subgraph outside
       
       InvalidSpace["`Invalid, not linked`"]
       RootSlot
   end
   subgraph RootSlot [RootSlot]
       World["`Space #34;World#34;`"]
       color["`World/Color1`"] --> World
       
       
       UserRootSlot
       
   end
   subgraph UserRootSlot
       UserSpace["`Space #34;User#34;`"]
       AvatarRootSlot
       V["`User/Voice`"] --> UserSpace
       V2["`User/Color`"] --> UserSpace
   end
   
   subgraph AvatarRootSlot
       avatar["`User/Avatar`"] 
       avatarworld["`World/Avatar.U-myid`"]
       hips["`HipsSlot`"] --> AvatarSpace
       invalid["`None/float`"]
       
       AvatarSpace["`Space #34;Avatar#34;`"]
       
       Flux2_node0(["`DynamicVariableInput
       #60;ColorX#62;
       #34;World/Color1#34;`"])
       Flux2_node0 -. points to .-> color
   end
   


   avatarworld --> World
   avatar --> UserSpace
   subgraph Flux1
       Flux1_node0(["User Root Slot"]) -. automatically points to .-> UserRootSlot
       Flux1_node1(["`Read #34;User/Avatar#34;`"]) --> Flux1_node0
       Flux1_node1 -. points to .-> AvatarRootSlot
       Flux1_node2(["`Read Variable #34;Avatar/Hips#34;`"]) --> Flux1_node1
       Flux1_node2 -. points to .-> hips
   end
   subgraph Flux2
       
   end
   UserSpace 989onan (talk) World
   AvatarSpace 989onan (talk) UserSpace
   World 989onan (talk) InvalidSpace
   invalid --> InvalidSpace
   
   
   

}}