본문 바로가기

PY(Python Image Processing)

The process of half guard becoming coyote guard

728x90
import networkx as nx
import matplotlib.pyplot as plt

# Graph 생성
G = nx.DiGraph()

# 노드 추가 (단계별)
G.add_node("Half Guard")
G.add_node("Underhook")
G.add_node("Head Positioning")
G.add_node("Coyote Guard Entry")
G.add_node("Coyote Guard Established")

# 간선 추가 (단계별 연결)
G.add_edges_from([
    ("Half Guard", "Underhook"),
    ("Underhook", "Head Positioning"),
    ("Head Positioning", "Coyote Guard Entry"),
    ("Coyote Guard Entry", "Coyote Guard Established")
])

# 그래프 시각화
plt.figure(figsize=(10, 6))
nx.draw_networkx(G, with_labels=True, node_size=3000, node_color="lightblue", font_size=10, font_weight="bold", arrowsize=20)
plt.title("Transition from Half Guard to Coyote Guard")
plt.show()

 

 

728x90