digraph G {
    fontname="Helvetica,Arial,sans-serif"
    node [fontname="Helvetica,Arial,sans-serif"]
    edge [fontname="Helvetica,Arial,sans-serif"]

    subgraph cluster_0 {
        style=filled;
        color=goldenrod3;
        node [style=filled,color=white];
        ydk_main [label="MAIN-DECK"];
        ydk_side [label="SIDE-DECK"];
        ydk_extra [label="EXTRA-DECK"];
        label = "YDK (Dragon Turbo)";
        labeljust=r;
    }

    subgraph cluster_1 {
	style=filled;
	color=palegreen;
	node [style=filled,color=white];
        ydk_deck_item [label="..."];
        ydk_deck_item_1 [label="YDK-DECK-ITEM"];
        ydk_deck_item_2 [label="..."];
        ydk_deck_item -> ydk_deck_item_1 -> ydk_deck_item_2;
        label="YDK-DECK";
        labeljust=l;
    }

    subgraph cluster_2 {
        style=filled;
        color=lightcoral;
        node [style=filled,color=white];
        constructed_deck_item [label="..."];
        constructed_deck_item_1 [label="CONSTRUCTED-DECK-ITEM"];
        constructed_deck_item_2 [label="..."];
        constructed_deck_item -> constructed_deck_item_1 -> constructed_deck_item_2;
        ydk_deck_item -> constructed_deck_item;
        label="CONSTRUCTED-DECK";
        labeljust=r;
    }

    ygo_alternate_id [label="YGO-ALTERNATE-ID"];
    ygo_card_passcode [label="YGO-CARD-PASSCODE"];
    variant_condition [label="VARIANT-CONDITION"];
    ygo_set [label="YGO-SET"];
    ygo_set_item [label="YGO-SET-ITEM"];

    ydk_main -> "Mystic Tomato" -> 83011278;
    ydk_extra -> "Mystic Tomato";

    83011278 -> ygo_card_passcode;

    ygo_card_passcode -> ygo_set;
    ygo_card_passcode -> ydk_deck_item;
    ygo_card_passcode -> constructed_deck_item;
    ygo_set -> ygo_set_item;
    ygo_set_item -> constructed_deck_item [ltail=cluster_2];

    ydk_side -> 83011277 -> ygo_alternate_id -> ygo_card_passcode;
    variant_condition -> ygo_set_item;

    // "Item 1" -> "Item 3" [ltail=cluster_0 lhead=cluster_1];
    start -> "Dragon Turbo";
    "Dragon Turbo" -> ydk_main [lhead=cluster_0];
    // ydk_main -> ydk [ltail=cluster_0];

    constructed_deck_item_2 -> end;

    start [shape=Mdiamond];
    end [shape=Msquare];
}
