File size: 2,256 Bytes
0920c44
 
 
 
 
 
 
 
 
622e21b
 
a38ada2
e2f9c58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0cc29d1
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

import time
import re
import pandas as pd
import numpy as np
import graphviz as graphviz
import streamlit as st
from st_click_detector import click_detector



dot = graphviz.Digraph()

dot.node('ActionMechanics', 'Action Mechanics ๐Ÿ’ช')
dot.node('AuctionMechanics', 'Auction Mechanics ๐Ÿ’ฐ')
dot.node('AreaControlMechanics', 'Area Control Mechanics ๐Ÿ—บ๏ธ')
dot.node('CardMechanics', 'Card Mechanics ๐Ÿƒ')
dot.node('CooperativeMechanics', 'Cooperative and Semi-Cooperative Mechanics ๐Ÿค')
dot.node('DiceMechanics', 'Dice Mechanics ๐ŸŽฒ')
dot.node('MovementMechanics', 'Movement Mechanics ๐Ÿƒ')
dot.node('ResourceMechanics', 'Resource Mechanics ๐Ÿ“ˆ')
dot.node('TurnOrderMechanics', 'Turn Order Mechanics โณ')
dot.node('SocialInteractionMechanics', 'Social Interaction Mechanics ๐Ÿ’ฌ')
dot.node('MemoryMechanics', 'Memory Mechanics ๐Ÿง ')
dot.node('DexterityMechanics', 'Dexterity Mechanics ๐Ÿคน')
dot.node('ResourceManagementMechanics', 'Resource Management Mechanics ๐Ÿ’ผ')
dot.node('NarrativeMechanics', 'Narrative Mechanics ๐Ÿ“–')
dot.node('StrategyMechanics', 'Strategy Mechanics ๐ŸŽฏ')
dot.node('ChanceMechanics', 'Chance Mechanics ๐ŸŽฒ')
dot.node('TimeMechanics', 'Time Mechanics โฐ')
dot.node('OtherMechanics', 'Other Mechanics ๐Ÿ†•')

dot.edge('ActionMechanics', 'AuctionMechanics')
dot.edge('ActionMechanics', 'AreaControlMechanics')
dot.edge('ActionMechanics', 'CardMechanics')
dot.edge('ActionMechanics', 'CooperativeMechanics')
dot.edge('ActionMechanics', 'DiceMechanics')
dot.edge('ActionMechanics', 'MovementMechanics')
dot.edge('ActionMechanics', 'ResourceMechanics')
dot.edge('ActionMechanics', 'TurnOrderMechanics')
dot.edge('ActionMechanics', 'SocialInteractionMechanics')
dot.edge('AuctionMechanics', 'ResourceMechanics')
dot.edge('AreaControlMechanics', 'MovementMechanics')
dot.edge('CardMechanics', 'ResourceManagementMechanics')
dot.edge('CooperativeMechanics', 'ResourceMechanics')
dot.edge('DiceMechanics', 'ChanceMechanics')
dot.edge('MovementMechanics', 'ResourceManagementMechanics')
dot.edge('ResourceMechanics', 'StrategyMechanics')
dot.edge('TurnOrderMechanics', 'TimeMechanics')
dot.edge('OtherMechanics', 'ActionMechanics')

# Draw the graph using Streamlit's graphviz_chart function
st.graphviz_chart(dot.source)