Relationship Diagram Generator
Create character relationship diagrams online, supporting relationship visualization for characters in novels, films, and TV shows, with drag-and-drop layout, batch import, and multiple chart styles.
Browser execution mode: Your data is processed in your browser and is not uploaded to the server.
Speed and Stability: Processing speed depends on your device and browser. For large batch work, the desktop version may be more stable.
Loading tool, please wait...
If the online tool fails to load or run, try the desktop tool.https://tools.yikeaigc.com/
Tool Usage
Return to old versionSupports manual entry, bulk paste, JSON/TXT/CSV import, template loading, and local saving. After generation, drag nodes, zoom the canvas, and export PNG, SVG, JSON, Markdown, or ZIP.
Organize characters and relationships
Add all characters first, then create relationships. Bulk import detects formats like “Zhang San|Protagonist” and “Zhang San→Li Si|Friend”.
Role names must be unique. Notes can be added.
Start and end points can be selected from added roles.
One per line. Roles and relationships can be pasted separately. Missing roles can be auto-created.
Supports JSON, TXT, and CSV. Select multiple files at once; only the first 20 are shown.
Adjust layout and visual settings
Choose a layout based on the number of roles and relationship complexity. Use force-directed for complex networks, and hierarchy or grid for clearly structured data.
Generate and review graph
After generating, drag nodes, drag empty space to move the canvas, and use the mouse wheel to zoom. Right-click a node to edit, recolor, focus, or delete it.
Drag nodes to arrange them; drag empty space to move the canvas; use the wheel to zoom; right-click a node for quick edits.
Export graph and data
Images are best for sharing, SVG for later editing, JSON for reimporting and editing, and Markdown for documents.
Instructions
Software Usage Instructions
- Organize character data: On the “Data” page, enter a character name, select the character type and color, optionally add notes such as identity, faction, or chapter, then click “Add”.
- Create character relationships: Select the source character and target character, enter a relationship description, optionally set the relationship group, direction, line style, strength, and color, then click “Add Relationship” to complete the connection.
- Batch import data:
- Character import: Enter one character per line in the format “Character Name|Type|Color|Notes”, for example “Lin Jianchuan|Protagonist|#d94841|Reporter”.
- Relationship import: Enter relationships in the format “Character A→Character B|Relationship Description|Group|Direction|Line Style|Color”, for example “Lin Jianchuan→Shen Yan|Old Friend|Friendship|Bidirectional|Solid Line|#0f6fb5”.
- File import: JSON, TXT, and CSV files are supported. You can merge them into the current data or replace the current data.
- Set graph style: Go to the “Style” page, choose a force-directed, circular, grid, or hierarchical layout, and adjust canvas height, node size, node shape, text size, link distance, background, and display options.
- Generate the relationship graph: Go to the “Generate” page and click “Generate Relationship Graph”. After generation, you can drag nodes to arrange their positions, drag blank areas to move the canvas, use the mouse wheel to zoom, and right-click a node to edit, recolor, focus, or delete it.
- Search and filter: Enter a character name on the generation page to highlight nodes. Filter by relationship group to view only a specific type of relationship, such as family, faction, conflict, work, and more.
- Save and export: You can save the current settings and draft, or export a PNG image, SVG vector graphic, JSON data, Markdown table, or click “Download All ZIP” to save everything as a package.
FAQ
Related Tools
Batch Image Black Border Remover
Batch-detect and crop black borders, white borders, and c...
Random Image EXIF Information Adder
Batch-generate and write real EXIF metadata for images, s...
Automatic License Plate Recognition and Blurring Tool
Automatically identify license plates in images and apply...
Batch Image Text Insertion Tool
Automatically read photo EXIF data (shooting date, camera...