What relationship types can I create between entities?

Complete reference for all relationship types in SwiftPrep. Relationships connect entities and define how they relate to each other.

General Relationships

Bidirectional relationships that work both ways automatically.

TypeDescriptionSentiment
allyWorks together toward shared goalsPositive
enemyActively opposes, hostileHostile
familyRelated by blood or marriageFriendly
friendPersonal friendshipPositive
rivalCompetes against, but not hostileNeutral
romanticRomantic involvementFriendly
knowsAware of each other, acquaintedNeutral
partnerBusiness or adventure partnerPositive

Usage Examples

RelationshipExample
Mira ally AldricThey work together against the smugglers
Baron enemy DukeHouses at war
Kai family Elder MeiBrother and sister
Bartender friend RegularClose personal relationship
Guard Captain rival Thief BossCompeting for control
Prince romantic CommonerLove across class lines
Merchant knows DockworkerPassing acquaintance
Wizard partner FighterAdventuring together

Hierarchical Relationships

One-way relationships that do not automatically create reverse links.

TypeDirectionDescriptionSentiment
employerA employs BA gives work to BNeutral
employeeA works for BA employed by BNeutral
mentorA teaches BA guides B's developmentPositive
studentA learns from BA receives teaching from BPositive
leaderA leads BA commands/directs BNeutral
memberA belongs to BA part of organization BNeutral
servesA serves BA obeys/assists BNeutral
commandsA commands BA gives orders to BNeutral

Creating Pairs

Hierarchical relationships often come in pairs:

If you create...Consider also creating...
A employer BB employee A
A mentor BB student A
A leader BB member A
A commands BB serves A

[!TIP] For organizational structures, create both directions explicitly. This makes the relationship visible from either entity's page.

Usage Examples

RelationshipExample
Guild Master employer ApprenticeFormal employment
Wizard mentor ApprenticeTeaching relationship
Faction leader NPCNPC leads the faction
NPC member FactionNPC belongs to faction
Knight serves NobleSworn service
Captain commands SoldiersMilitary command

Functional Relationships

Specific relationship types for particular situations.

TypeDirectionDescriptionSentiment
protectsA protects BA guards or defends BPositive
suspectsA suspects BA distrusts or investigates BNegative
owes_debtA owes BA indebted to BNegative
createdA created BA made or built BNeutral
worshipsA worships BA reveres or follows BNeutral

Usage Examples

RelationshipExample
Guard protects NobleBodyguard duty
Detective suspects MerchantUnder investigation
Gambler owes_debt Crime BossFinancial obligation
Artificer created Magic ItemCrafted the object
Cultist worships Dark GodReligious devotion

Location Relationships

Connect entities to places.

TypeDirectionDescriptionSentiment
located_atA at BA found at location BNeutral
lives_atA lives at BA's residence is BNeutral
works_atA works at BA employed at BNeutral
frequentsA frequents BA visits B regularlyNeutral
ownsA owns BA has property of BNeutral
guardsA guards BA protects location BPositive
imprisoned_atA imprisoned at BA held captive at BHostile
born_atA born at BA's birthplace is BNeutral
died_atA died at BA's death location is BNeutral

Usage Examples

RelationshipExample
Item located_at DungeonWhere to find the item
NPC lives_at HouseCharacter's home
Bartender works_at TavernEmployment location
Spy frequents MarketRegular observation post
Noble owns EstateProperty ownership
Sentinel guards TempleProtective posting
Prisoner imprisoned_at DungeonCaptivity
Hero born_at VillageOrigin story
Victim died_at BridgeDeath location

Story Relationships

Connect elements for narrative purposes.

TypeDirectionDescriptionSentiment
part_ofA part of BA component of BNeutral
involvesA involves BB participates in ANeutral
leads_toA leads to BA connects or progresses to BNeutral
containsA contains BB is inside ANeutral
triggersA triggers BA causes B to happenNeutral

Usage Examples

RelationshipExample
Sub-quest part_of Main questQuest hierarchy
Plot Hook involves NPCCharacter tied to story
Clue leads_to RevelationInvestigation progress
Location contains ItemWhere something is found
Event triggers ConsequenceCause and effect

Sentiment Colors in Graph View

Relationships are color-coded in the graph view:

SentimentColorTypes
HostileRedenemy, imprisoned_at
NegativeOrangesuspects, owes_debt, rival
FriendlyGreenfamily, romantic
PositiveBlueally, friend, mentor, partner, protects, guards
NeutralGrayAll others

[!INFO] Colors help you quickly identify the nature of connections when viewing the relationship graph. Filter by sentiment to focus on specific relationship types.

Relationship Properties

Strength

Optional 1-10 scale for intensity:

  • 1-3: Weak (acquaintances, minor)
  • 4-6: Moderate (friends, regular)
  • 7-9: Strong (close allies, bitter rivals)
  • 10: Unbreakable (blood bonds, sworn enemies)

Description

Optional text explaining the relationship:

  • "They fought together in the war"
  • "She doesn't know he's been reporting to the Guild"
  • "Childhood friends grown apart"

Bidirectional

Whether the relationship automatically creates a reverse link:

  • Bidirectional: ally, enemy, family, friend, rival, romantic, knows, partner
  • One-way: All others

Choosing Relationship Types

General Guidelines

SituationUse
Two characters who work togetherally
Two characters who oppose each otherenemy (hostile) or rival (competitive)
Blood or marriage connectionfamily
Close personal bondfriend
Professional competitionrival
Love interestromantic
Casual acquaintanceknows

Organization Links

SituationUse
NPC belongs to factionNPC member Faction
NPC leads factionNPC leader Faction
NPC works for another NPCNPC employee Employer

Location Links

SituationUse
Where NPC livesNPC lives_at Location
Where NPC worksNPC works_at Location
Where item is foundItem located_at Location

Story Links

SituationUse
NPC is involved in plot hookPlot Hook involves NPC
Sub-quest is part of main questSub-quest part_of Main quest
One thing leads to anotherThing A leads_to Thing B

Related Articles

Was this article helpful?