From 2d2401257e7334bd105ca901b47bce3df0d2bf04 Mon Sep 17 00:00:00 2001 From: Bryce Date: Sat, 21 Mar 2026 21:03:27 -0700 Subject: [PATCH] Split long vertical chains into smaller clustered subgraphs - Add subgraph cluster styling (style fill:#HEX after each 'end') - Split area_2 (Isle of Wonder) into 3 subgraphs: Gnomes, Garden & Beach, Chessboard & Trades - Split area_3 (Isle of Beast) into 2 subgraphs: Approach & Maze, Dark Passage & Minotaur - Split area_5 (SacRED MOUNTAIN) into 2 subgraphs: Cliffs/Cave/Poison, Spell Components - Split area_7 (Realm of Dead) into 3 subgraphs: Arrival & Zombies, Gate & Charon, Death & Return Total subgraphs increased from 8 to 14 for better line clustering. Lines now average ~10-15 nodes per subgraph instead of 30-60. Also update skills: - Document subgraph cluster styling requirement (style after 'end') - Add cluster size guidance (aim for 10-20 nodes per subgraph) --- .../skills/create-dependency-graph/SKILL.md | 10 ++ .opencode/skills/qa-dependency-graph/SKILL.md | 1 + src/inspiration/kings-quest-vi-chart.mmd | 93 +++++++++++++++---- src/inspiration/kings-quest-vi-chart.svg | 2 +- 4 files changed, 86 insertions(+), 20 deletions(-) diff --git a/.opencode/skills/create-dependency-graph/SKILL.md b/.opencode/skills/create-dependency-graph/SKILL.md index 34c0bf4..d27653c 100644 --- a/.opencode/skills/create-dependency-graph/SKILL.md +++ b/.opencode/skills/create-dependency-graph/SKILL.md @@ -268,6 +268,13 @@ end - Include Phase 1, Phase 2, etc. all under the same area subgraph - Exception: If same area appears at very different logical points (start vs end), use separate subgraphs with same color +**Cluster Size and Line Length**: +- **Keep clusters small**: Aim for 10-20 nodes per subgraph maximum +- **Avoid long vertical stretches**: If a subgraph has 40+ nodes vertically, break it into multiple smaller subgraphs +- **Shorter lines = better readability**: Cluster related nodes together +- **When to split**: If lines would stretch more than ~15 nodes vertically, create a new subgraph +- **Trade-off**: More subgraphs with fewer nodes each is better than few subgraphs with long chains + #### Subgraph Styling Format Use this exact format for subgraph titles to ensure proper font size: @@ -277,8 +284,11 @@ subgraph area_name["

**ISLE OF CROWN - Final**

**REALM OF THE DEAD**

**ISLE OF THE MISTS**

**SACRED MOUNTAIN**

**ISLE OF THE BEAST - Return**

**ISLE OF THE BEAST**

**ISLE OF WONDER**

**ISLE OF CROWN**

fontsize=18

**START**

A: Move debris on beach

A: Examine debris closely

O: Receive Copper Coin

O: Receive Royal Insignia Ring

A: Show Ring to Guards

C1: Meet Vizier, Kicked Out

P: Need Items from Pawn Shop

P: Cannot Travel to Islands

P: Need Ferry Info

P: Need Jollo's Help

A: Talk to Pawn Broker

O: Receive Nightingale

O: Receive Mint

O: Receive Tinderbox

O: Receive Flute

O: Receive Paintbrush

O: Receive Ink

A: Talk to Ferryman

O: Receive Rabbit's Foot

A: Trade Ring for Map

O: Receive Magic Map

A: Talk to Jollo

O: Receive Jollo's Trust

A: Show Ring to Jollo

O: Jollo Will Help

**UNLOCK: Island Travel**

P: Gnomes Block Path

P: Boiling Pool Blocks Crossing

A: Cool Boiling Pool

P: Logic Cliffs Block Summit

**UNLOCK: Gnome Access**

O: Receive Stinky Flower

A: Play Nightingale

A: Give Mint

A: Give Rabbit Foot

A: Use Ink on Self

A: Give Stinky Flower

O: Hearing Gnome Satisfied

O: Taste Gnome Satisfied

O: Touch Gnome Satisfied

O: Sight Gnome Satisfied

O: Smell Gnome Satisfied

C2: Path Through Gnomes Opens

A: Read Book to Oyster

O: Receive Pearl

A: Pick Iceberg Lettuce

A: Pick Rotten Tomato

A: Pick up Tea Cup

A: Pick Drink Me Potion

A: Pick Milk Bottle

O: Receive Iceberg Lettuce

O: Receive Tea Cup

O: Receive Drink Me Potion

O: Receive Rotten Tomato

A: Give Rotten Tomato to Log

O: Receive Swamp Ooze

O: Receive Milk

A: Give Milk to Plant

O: Receive Baby's Tears

A: Play Flute for Flowers

O: Receive Hole-in-Wall

A: Talk to Chessboard Queens

O: Receive Red Scarf

O: Receive Lump of Coal

A: Trade Coal for Egg

O: Receive Sulfur Egg

A: Pull Thread from Web

O: Receive Spider Web

O: Receive Word LOVE

A: Search Poetry Shelf

O: Receive Love Poem

A: Get Dangling Participle

O: Receive Dangling Participle

A: Trade Participle to Bookworm

O: Receive Rare Book

A: Trade Rare Book to Ali

O: Receive Spell Book

C3: Path North Opens

A: Pick up Brick

A: Pick up Hunter's Lamp

O: Receive Brick

O: Receive Hunter's Lamp

P: Navigate Maze

A: Solve Tile Puzzle

A: Navigate to Skeleton

A: Collect Dead Man's Coins

A: Use Brick on Trap

O: Tile Path Opens

O: Receive Skull

O: Receive Coins

O: Trap Stopped

A: Light Tinderbox

O: Can See in Dark

A: Use Hole-in-Wall

O: Tapestry Revealed

A: Find Shield

O: Receive Shield

P: Minotaur Blocks Exit

A: Lure Minotaur

O: Receive Dagger

O: Receive Sacred Water

O: Receive Oracle Vial

P: Archer Statue Kills You

A: Use Shield

C4: Safe Through Archer Gate

P: Rose Hedge Blocks Path

O: Receive Scythe

A: Cut Hedge with Scythe

C5: Path to Beast Opens

P: Meet the Beast

A: Give White Rose

O: Beauty's Trust Gained

A: Give Beast's Ring

O: Receive Beauty's Dress

O: Receive Mirror

O: Receive Beast's Ring

A: Plant White Rose

O: Receive White Rose 2

A: Solve Cliff Puzzles

C6: Summit Path Opens

A: Pick Black Feather

A: Pick Stinky Flower

P: Dark Cave

P: Poison Lady

O: Receive Black Feather

A: Light Cave

O: Receive Peppermint

A: Give Mint to Genie

A: Reject Poison

O: Survived

A: Ride Nightmare Horse

O: Receive Ember

O: Receive Spoiled Egg

O: Receive Hair

P: Need Spell Components

A: Collect Components

A: Get Ember

A: Get Hair

A: Get Spoiled Egg

O: Spell Ready

A: Cast Charm Spell

O: Nightmare Mount Available

A: Cast Rain Spell

O: Rain Protection

P: Druids Will Burn You

A: Wear Beauty's Dress

O: Druid Protection

A: Get Scythe

A: Get Coal

O: Receive Coal

P: Reach Land of Dead

C7: Arrive at Land of Dead

P: Zombies Block Path

A: Avoid Zombies

O: Zombies Avoided

A: Talk to Cassima's Parents

A: Talk to Ghost Mother

O: Receive Ticket

O: Receive Handkerchief

A: Talk to Ghost Boy

P: Need Ticket for Gate

A: Give Ticket

C8: Gate Opens

A: Play Bone Xylophone

O: Receive Skeleton Key

P: Pay Charon

A: Pay Charon

O: Ferry Access

P: Need Styx Water

A: Collect Styx Water

O: Receive Styx Water

A: Search Dead Knight

O: Receive Gauntlet

P: Meet Death

P: Gate Asks Riddle

A: Answer LOVE

C9: Gate Opens

A: Show Mirror to Death

C10: Death Cries, Parents Freed

C_RETURN: Return to Isle of Crown

P: Cannot Enter Castle

A: Paint Door

A: Wear Disguise

A: Cast Paint Spell

O: Secret Door Appears

O: Castle Access

P: Guards Patrol

A: Distract Guards

O: Guards Distracted

O: Receive Passage Hint

P: Need Password

P: Jollo's Room

A: Give Lamp Replica

A: Learn ALI

A: Learn ZEBU

O: Password ALI

O: Password ZEBU

A: Combine ALI ZEBU

P: Cassima Needs Weapon

A: Give Dagger to Cassima

O: Cassima Armed

P: Treasury Password

A: Enter ALI ZEBU

O: Treasury Opens

P: Genie Attacks

P: Open Vizier's Chest

A: Unlock Chest

O: Receive Vizier's Letter

A: Show Letter

P: Vizier Fights

A: Use Fake Lamp

O: Genie Controlled - BEST END

O: Genie Drunk - ALT END

A: Cassima Fights

A: Fight Vizier

**END**

\ No newline at end of file +

**ISLE OF CROWN - Final**

**REALM OF THE DEAD - Death & Return**

**REALM OF THE DEAD - Gate & Charon**

**REALM OF THE DEAD - Arrival & Zombies**

**ISLE OF THE MISTS**

**SACRED MOUNTAIN - Spell Components**

**SACRED MOUNTAIN - Cliffs, Cave & Poison**

**ISLE OF THE BEAST - Return**

**ISLE OF THE BEAST - Dark Passage & Minotaur**

**ISLE OF THE BEAST - Approach & Maze**

**ISLE OF WONDER - Chessboard & Trades**

**ISLE OF WONDER - Garden & Beach**

**ISLE OF WONDER - Gnomes**

**ISLE OF CROWN**

fontsize=18

**START**

A: Move debris on beach

A: Examine debris closely

O: Receive Copper Coin

O: Receive Royal Insignia Ring

A: Show Ring to Guards

C1: Meet Vizier, Kicked Out

P: Need Items from Pawn Shop

P: Cannot Travel to Islands

P: Need Ferry Info

P: Need Jollo's Help

A: Talk to Pawn Broker

O: Receive Nightingale

O: Receive Mint

O: Receive Tinderbox

O: Receive Flute

O: Receive Paintbrush

O: Receive Ink

A: Talk to Ferryman

O: Receive Rabbit's Foot

A: Trade Ring for Map

O: Receive Magic Map

A: Talk to Jollo

O: Receive Jollo's Trust

A: Show Ring to Jollo

O: Jollo Will Help

**UNLOCK: Island Travel**

P: Gnomes Block Path

P: Boiling Pool Blocks Crossing

A: Cool Boiling Pool

P: Logic Cliffs Block Summit

**UNLOCK: Gnome Access**

O: Receive Stinky Flower

A: Play Nightingale

A: Give Mint

A: Give Rabbit Foot

A: Use Ink on Self

A: Give Stinky Flower

O: Hearing Gnome Satisfied

O: Taste Gnome Satisfied

O: Touch Gnome Satisfied

O: Sight Gnome Satisfied

O: Smell Gnome Satisfied

C2: Path Through Gnomes Opens

A: Read Book to Oyster

O: Receive Pearl

A: Pick Iceberg Lettuce

A: Pick Rotten Tomato

A: Pick up Tea Cup

A: Pick Drink Me Potion

A: Pick Milk Bottle

O: Receive Iceberg Lettuce

O: Receive Tea Cup

O: Receive Drink Me Potion

O: Receive Rotten Tomato

A: Give Rotten Tomato to Log

O: Receive Swamp Ooze

O: Receive Milk

A: Give Milk to Plant

O: Receive Baby's Tears

A: Play Flute for Flowers

O: Receive Hole-in-Wall

A: Talk to Chessboard Queens

O: Receive Red Scarf

O: Receive Lump of Coal

A: Trade Coal for Egg

O: Receive Sulfur Egg

A: Pull Thread from Web

O: Receive Spider Web

O: Receive Word LOVE

A: Search Poetry Shelf

O: Receive Love Poem

A: Get Dangling Participle

O: Receive Dangling Participle

A: Trade Participle to Bookworm

O: Receive Rare Book

A: Trade Rare Book to Ali

O: Receive Spell Book

C3: Path North Opens

A: Pick up Brick

A: Pick up Hunter's Lamp

O: Receive Brick

O: Receive Hunter's Lamp

P: Navigate Maze

A: Solve Tile Puzzle

A: Navigate to Skeleton

A: Collect Dead Man's Coins

A: Use Brick on Trap

O: Tile Path Opens

O: Receive Skull

O: Receive Coins

O: Trap Stopped

A: Light Tinderbox

O: Can See in Dark

A: Use Hole-in-Wall

O: Tapestry Revealed

A: Find Shield

O: Receive Shield

P: Minotaur Blocks Exit

A: Lure Minotaur

O: Receive Dagger

O: Receive Sacred Water

O: Receive Oracle Vial

P: Archer Statue Kills You

A: Use Shield

C4: Safe Through Archer Gate

P: Rose Hedge Blocks Path

O: Receive Scythe

A: Cut Hedge with Scythe

C5: Path to Beast Opens

P: Meet the Beast

A: Give White Rose

O: Beauty's Trust Gained

A: Give Beast's Ring

O: Receive Beauty's Dress

O: Receive Mirror

O: Receive Beast's Ring

A: Plant White Rose

O: Receive White Rose 2

A: Solve Cliff Puzzles

C6: Summit Path Opens

A: Pick Black Feather

A: Pick Stinky Flower

P: Dark Cave

P: Poison Lady

O: Receive Black Feather

A: Light Cave

O: Receive Peppermint

A: Give Mint to Genie

A: Reject Poison

O: Survived

A: Ride Nightmare Horse

O: Receive Ember

O: Receive Spoiled Egg

O: Receive Hair

P: Need Spell Components

A: Collect Components

A: Get Ember

A: Get Hair

A: Get Spoiled Egg

O: Spell Ready

A: Cast Charm Spell

O: Nightmare Mount Available

A: Cast Rain Spell

O: Rain Protection

P: Druids Will Burn You

A: Wear Beauty's Dress

O: Druid Protection

A: Get Scythe

A: Get Coal

O: Receive Coal

P: Reach Land of Dead

C7: Arrive at Land of Dead

P: Zombies Block Path

A: Avoid Zombies

O: Zombies Avoided

A: Talk to Cassima's Parents

A: Talk to Ghost Mother

O: Receive Ticket

O: Receive Handkerchief

A: Talk to Ghost Boy

P: Need Ticket for Gate

A: Give Ticket

C8: Gate Opens

A: Play Bone Xylophone

O: Receive Skeleton Key

P: Pay Charon

A: Pay Charon

O: Ferry Access

P: Need Styx Water

A: Collect Styx Water

O: Receive Styx Water

A: Search Dead Knight

O: Receive Gauntlet

P: Meet Death

P: Gate Asks Riddle

A: Answer LOVE

C9: Gate Opens

A: Show Mirror to Death

C10: Death Cries, Parents Freed

C_RETURN: Return to Isle of Crown

P: Cannot Enter Castle

A: Paint Door

A: Wear Disguise

A: Cast Paint Spell

O: Secret Door Appears

O: Castle Access

P: Guards Patrol

A: Distract Guards

O: Guards Distracted

O: Receive Passage Hint

P: Need Password

P: Jollo's Room

A: Give Lamp Replica

A: Learn ALI

A: Learn ZEBU

O: Password ALI

O: Password ZEBU

A: Combine ALI ZEBU

P: Cassima Needs Weapon

A: Give Dagger to Cassima

O: Cassima Armed

P: Treasury Password

A: Enter ALI ZEBU

O: Treasury Opens

P: Genie Attacks

P: Open Vizier's Chest

A: Unlock Chest

O: Receive Vizier's Letter

A: Show Letter

P: Vizier Fights

A: Use Fake Lamp

O: Genie Controlled - BEST END

O: Genie Drunk - ALT END

A: Cassima Fights

A: Fight Vizier

**END**

\ No newline at end of file