Complete Diagram Guide

by Peta Team

Complete Diagram Guide

Gantt Charts

Gantt charts are perfect for visualizing project timelines, schedules, and task dependencies. They display tasks as horizontal bars positioned along a timeline.

Basic Syntax

The fundamental syntax for Gantt charts defines tasks with names, start dates, and durations:

Basic Gantt Chart 01/01 01/08 01/15 01/22 01/29 Task A Task B

This creates a timeline showing two sequential tasks.

Task Syntax

Creating Tasks

Each task line consists of three parts:

  1. Task name: Descriptive name for the task
  2. Start date: In YYYY-MM-DD format, enclosed in brackets
  3. Duration: Number followed by 'd' for days

Syntax:

RST

1
2   Task Name [YYYY-MM-DD] : Nd
    

Example:

01/01 01/08 01/15 01/22 01/29 Planning

Date Format

Dates must be in ISO 8601 format (YYYY-MM-DD):

  • Year: 4 digits
  • Month: 2 digits (01-12)
  • Day: 2 digits (01-31)

Duration Syntax

Duration is specified as a number followed by 'd':

  • `1d`: 1 day
  • `5d`: 5 days
  • `10d`: 10 days
  • `30d`: 30 days

Sequential Tasks

Linear Timeline

Tasks that follow each other sequentially:

Sequential Tasks 01/01 01/08 01/15 01/22 01/29 02/05 Requirements Design Development Testing Deployment

Parallel Tasks

Overlapping Timelines

Tasks that run concurrently:

Parallel Tasks 01/01 01/08 01/15 01/22 01/29 Frontend Dev Backend Dev Integration QA Testing

Complex Schedules

Mixed Sequential and Parallel

Combine sequential and parallel tasks:

Complex Project Schedule 01/01 01/08 01/15 01/22 01/29 02/05 02/12 Research Design Frontend Dev Backend Dev Database Setup Integration Testing Documentation Deployment

Practical Examples

Software Development Lifecycle

Software Development Lifecycle 01/01 01/08 01/15 01/22 01/29 02/05 02/12 02/19 02/26 03/04 03/11 03/18 Planning Analysis Design Implementation Testing Deployment Maintenance

Marketing Campaign

Marketing Campaign Timeline 01/01 01/08 01/15 01/22 01/29 02/05 02/12 02/19 Market Research Strategy Development Content Creation Ad Setup Campaign Launch Monitoring Analysis

Product Launch

Product Launch Schedule 01/01 01/08 01/15 01/22 01/29 02/05 02/12 02/19 02/26 03/04 Product Development Beta Testing Bug Fixes Marketing Materials Sales Training Launch Event Post-Launch Support

Tips and Best Practices

  1. Realistic timelines: Estimate durations carefully
  2. Buffer time: Add buffer between tasks
  3. Clear task names: Use descriptive, concise names
  4. Logical ordering: Arrange tasks chronologically
  5. Consider dependencies: Ensure predecessor tasks complete before successors

Common Patterns

Sprint Planning

2-Week Sprint 01/01 01/08 01/15 01/22 01/29 Sprint Planning Development Code Review Testing Bug Fixes Sprint Demo

Release Cycle

Monthly Release Cycle 01/01 01/08 01/15 01/22 01/29 Feature Dev Integration QA Testing Staging Production Hotfix Window

Next Steps

Now that you understand Gantt charts, let's explore sequence diagrams for visualizing interactions in the next chapter.