What are Notes?
Notes are text annotations you can place anywhere on your diagram canvas. They help document design decisions, explain complex relationships, add TODOs, or provide context about your database schema.Notes are visual elements that appear only in ChartDB. They are not included in SQL exports but can be included when exporting diagrams as images.
Creating Notes
Using the Context Menu
Note Properties
Unique identifier for the note.
The text content of the note. Supports:
- Plain text
- Line breaks
- Basic formatting
Horizontal position on the canvas (in pixels).
Vertical position on the canvas (in pixels).
Width of the note box (in pixels).Default: 200px
Height of the note box (in pixels).Default: 150px
Background color of the note.Available colors:
#ffe374(Yellow) - Default, good for warnings/TODOs#ff6b8a(Pink) - Alerts or important information#4dee8a(Green) - Confirmations or completed items#7175fa(Blue) - General information#42e0c0(Teal) - Tips or suggestions#b067e9(Purple) - Documentation#ff6363(Red) - Critical warnings
Z-index for layering. Higher numbers appear on top of lower numbers.Useful when notes overlap with other elements.
Editing Notes
Editing Content
Resizing Notes
Resize notes to fit your content:Drag Resize Handle
Drag the corners or edges to resize:
- Drag corners to resize width and height together
- Drag edges to resize in one direction
Notes automatically wrap text, so make them wide enough to avoid excessive wrapping. Typical widths: 200-400px.
Moving Notes
Reposition notes on the canvas:- Click and hold on the note
- Drag to the desired position
- Release to place
Changing Note Color
Deleting Notes
To remove a note:Common Use Cases
Design Decisions
Document why certain design choices were made:Migration Notes
Track database migration plans and status:Performance Warnings
Highlight performance considerations:Business Rules
Explain business logic enforced by the schema:TODOs and Action Items
Data Sensitivity Markers
Reference Information
Relationship Explanations
Note Organization Strategies
Color-Coded by Purpose
Use consistent colors for different note types:Yellow
TODOs & RemindersAction items and pending tasks
Red
Critical WarningsImportant alerts and risks
Green
Completed ItemsFinished tasks and confirmations
Blue
DocumentationGeneral information and explanations
Hierarchical Positioning
- Top of canvas: General diagram information, legends, version info
- Near areas: Context for area groupings
- Near tables: Table-specific documentation
- Near relationships: Relationship explanations
- Bottom of canvas: References, change log
Note Templates
Create reusable note templates for consistency:Table Documentation Template
Table Documentation Template
Migration Template
Migration Template
Performance Template
Performance Template
Best Practices
Keep Notes Concise
Keep Notes Concise
- Use bullet points for lists
- Keep sentences short
- Focus on essential information
- Link to external docs for details
Use Visual Indicators
Use Visual Indicators
Start notes with emojis or symbols for quick recognition:
- π Pinned/important information
- β οΈ Warnings
- π§ Work in progress
- β Completed
- π Reference
- π Security/privacy
- β‘ Performance
- π Relationships
- πΌ Business rules
Position Strategically
Position Strategically
- Donβt block important diagram elements
- Group related notes together
- Use consistent positioning across similar diagrams
- Leave space for diagram growth
Update Regularly
Update Regularly
- Remove outdated notes
- Mark completed TODOs
- Update migration statuses
- Archive old notes rather than delete (move to bottom)
Consistent Formatting
Consistent Formatting
Establish team conventions:
- Date format: YYYY-MM-DD
- Status indicators: β ββ³π
- Priority levels: π΄ High, π‘ Medium, π’ Low
- Note headers: Clear titles with emojis
Advanced Techniques
Version Control for Diagrams
Use notes to track diagram versions:Cross-Reference System
Create a numbering system for notes:Decision Log
Track architectural decisions:Integration with Other Features
Notes + Areas
Combine notes with areas for comprehensive documentation:- Place notes inside areas to document their purpose
- Use notes to explain why tables are grouped
- Add βlegendβ notes explaining area color coding
Notes + Templates
When creating diagrams from templates:- Add notes explaining what you modified
- Document why you chose this template
- Note any template elements you removed
Notes + Export
When exporting diagrams:- Image exports: Notes are included
- SQL exports: Notes are NOT included (theyβre documentation only)
- Consider adding key notes as SQL comments instead
Troubleshooting
Note Text is Cut Off
Note Text is Cut Off
Issue: Text doesnβt fit in note box.Solution:
- Resize note to be larger
- Break long lines
- Use abbreviations
- Create multiple notes instead of one large note
Can't Edit Note Content
Can't Edit Note Content
Issue: Note is in readonly mode.Solution:
- Ensure diagram is editable
- Check if note is locked
- Try double-clicking to enter edit mode
Note Disappeared
Note Disappeared
Issue: Canβt find a note after panning/zooming.Solution:
- Use βFit to screenβ (β0 / Ctrl+0)
- Check if note was accidentally deleted
- Look in unexpected canvas areas
Next Steps
Using Areas
Combine notes with areas for organization
Export Diagram
Export diagrams with notes as images
Keyboard Shortcuts
Learn shortcuts for faster editing
Templates
See how notes are used in templates
