Thank you for helping maintain our documentation! This guide will help you collaborate on the diagram.
- Git installed on your machine
- Web browser (for draw.io online editor)
- OR draw.io desktop application (optional)
- OR VS Code with draw.io extension (optional)
-
Clone the repository
git clone <repository-url> cd <repository-name>
-
Create a feature branch
git checkout -b update-diagram-<your-change>
-
Open the diagram in draw.io
- Visit app.diagrams.net
- Click "Open Existing Diagram"
- Select
cluster_update_process.drawiofrom your local file system
-
Open the diagram
- Use app.diagrams.net and open
cluster_update_process.drawio - Or use VS Code with the draw.io extension
- Use app.diagrams.net and open
-
Find and edit text
- Click on the text element you want to change
- Double-click to edit
- Type your changes
- Click outside the element to save
-
Save your changes
- File → Save As
- Save back to
cluster_update_process.drawio
If you need to add/remove steps or modify the flow:
-
Understand the layout
- Main workflow: Center column (around x=670)
- Side notes: Left (x=100-380) and right (x=950-1270)
- Consistent spacing: 30-50 pixels between steps
-
Use existing patterns
- Copy similar elements (Ctrl+C, Ctrl+V)
- Maintain the color scheme (see below)
- Use alignment tools (Arrange → Align)
-
Maintain consistency
- Use the same fonts (Arial for text, monospace for code)
- Follow the color scheme for different box types
- Keep icons consistent with existing style
-
Test your changes
- Zoom out to see the full diagram (View → Zoom)
- Check that arrows connect properly
- Ensure no text overflows boxes
Always use these colors for consistency:
| Element Type | Fill Color | Stroke Color | Use Case |
|---|---|---|---|
| Process Box | #E8F4F8 | #2E86AB | General process steps |
| Decision Diamond | #FFF3E0 | #FF9800 | Decision points |
| Action Box | #E8F5E9 | #4CAF50 | Actionable tasks |
| Warning Box | #FFEBEE | #F44336 | Warnings/cautions |
| Info Panel | #F5F5F5 | #999999 | Side information |
When you make changes, you must update both files:
-
cluster_update_process.drawio (editable source)
- This is the source of truth
- Edit this file with draw.io
-
cluster_update_process.svg (for GitHub display)
- Export from draw.io after editing
- GitHub displays this in README
After editing the .drawio file:
- File → Export as → SVG
- Settings:
- ✓ Transparent Background (or white)
- ✓ Include a copy of my diagram
- Width: Leave as is (1400px)
- Border width: 0
- Save as
cluster_update_process.svg(overwrite existing)
Checklist:
- Changes made in draw.io (
.drawiofile) - Exported to SVG (
.svgfile updated) - SVG opens correctly in a browser
- All text is readable and properly positioned
- Colors and styling are consistent
- Changes align with the actual cluster update process
- Commit message clearly describes the change
# Stage BOTH files
git add cluster_update_process.drawio
git add cluster_update_process.svg
# Commit with a descriptive message
git commit -m "feat: add new Docker cleanup verification step"
# Push to your branch
git push origin update-diagram-<your-change>Note: Always commit both files together to keep them in sync.
-
Go to the repository on GitHub
-
Click "Pull Requests" → "New Pull Request"
-
Select your branch
-
Fill in the PR description:
- What changed and why?
- Which step(s) were modified?
- Any special considerations?
- Screenshot of the updated diagram (optional but helpful)
-
Use the PR template if available
-
Request review from team members
-
Address any feedback
-
Once approved, merge to main
Adding a new step:
- Copy an existing step box (Ctrl+C, Ctrl+V)
- Drag to the desired position
- Edit the text (double-click)
- Add connectors (use the connector tool)
- Ensure proper spacing (30-50px between steps)
Updating step text:
- Click the text element
- Double-click to edit
- Type your changes
- Click outside to save
Adding a decision point:
- Search for "diamond" in shapes panel
- Drag diamond shape to canvas
- Resize to ~200x80 pixels
- Apply decision-box colors (light orange fill, orange stroke)
- Add question text inside
- Add "Yes" and "No" paths with arrows
Adding a warning note:
- Create a rectangle on the left or right side
- Apply warning-box colors (light red fill, red stroke)
- Add warning icon from shapes panel
- Add text inside
- Connect to relevant step with dashed line
Selection and editing:
- Click to select
- Double-click to edit text
- Drag corners to resize
- Drag edges to move
Alignment:
- Select multiple items (Ctrl+Click)
- Arrange → Align → choose alignment
- Use guidelines (View → Guides)
Connectors:
- Select connector tool from toolbar
- Click source, drag to destination
- Arrows auto-snap to connection points
- Right-click line → Format for dashed style
| Action | Shortcut |
|---|---|
| Copy | Ctrl+C (Cmd+C) |
| Paste | Ctrl+V (Cmd+V) |
| Duplicate | Ctrl+D (Cmd+D) |
| Delete | Delete/Backspace |
| Group | Ctrl+G (Cmd+G) |
| Align | Ctrl+Shift+L/C/R |
| Undo | Ctrl+Z (Cmd+Z) |
| Redo | Ctrl+Y (Cmd+Shift+Z) |
- Ensure the file has
.drawioextension - Check file isn't corrupted (compare with git history)
- Try opening in desktop app if online editor fails
- Verify SVG was exported correctly from draw.io
- Check file size (GitHub has limits, usually ~1MB)
- Open SVG in browser locally to test
- Ensure "Include a copy of my diagram" was checked during export
- Make sure you saved the
.drawiofile first - Re-export to SVG
- Check you're overwriting the correct file
- Hard refresh browser (Ctrl+F5) when testing
- Increase box size by dragging corners
- Or reduce font size (select text → Format panel)
- Or split into multiple lines
- Enable connection points (View → Connection Points)
- Look for blue X marks on shapes
- Drag arrow endpoints to these connection points
- Make small, focused changes - One logical update per PR
- Always export to SVG - Keep both files in sync
- Test before committing - Preview SVG in browser
- Write clear commit messages - Use conventional commit format
- Coordinate major changes - Discuss with team for structural modifications
- Keep backups - Git protects you, but save interim work
- Update documentation - If you change the process, update README too
- Use draw.io features - Layers, grouping, and alignment tools
- X-position: ~670px (centered)
- Box width: 340px
- Box height: 70px (simple), 90-110px (complex)
- Vertical spacing: 30-50px between steps
- Left notes: X-position 100-380
- Right panels: X-position 950-1270
- Box width: 280-320px
- Align boxes horizontally in the same column
- Keep consistent spacing between steps
- Use the same icon sizes throughout
- Maintain color scheme for different element types
- Check the Editing Guide for detailed draw.io instructions
- Open an issue for questions about major changes
- Tag team members in PR comments for specific expertise
- Visit draw.io documentation for tool help
- Draw.io Online Editor
- Draw.io Desktop App
- Draw.io Documentation
- Draw.io Keyboard Shortcuts
- Git Workflow Guide
Use conventional commit format:
type: brief description
Examples:
- feat: add new validation step before deployment
- fix: correct arrow alignment in step 5
- docs: update command list in side panel
- style: adjust spacing between steps 7 and 8
- refactor: reorganize side panels for clarity
Types:
feat: New feature or step addedfix: Correction to existing contentdocs: Documentation updatesstyle: Visual/layout changesrefactor: Reorganization without content changes
Questions? Open an issue or reach out to the team lead. Check EDITING.md for detailed editing instructions.