Skip to content
CS Goh edited this page Nov 18, 2022 · 9 revisions

Roadmapper

Roadmapper is a python library used to generate graphical roadmap using python code. Roadmap as Code (RaC) is a concept that allows you to manage your roadmap as if it were code, meaning that it is easy to learn, edit or update, and is version controlled so you can track changes.

Features:

  • Supports roadmap with different timeline (weekly, monthly, quarterly, half-year and yearly)
  • Configurable Timeline date range
  • Roadmap activities/tasks can be grouped under one "Group" section
  • Configurable font, font size, font colour and fill colour for all elements (title, timeline, group, tasks, milestone, footer) of the roadmap
  • Generated roadmap is saved as .PNG file

Sample Code

from generator.roadmap import Roadmap
from generator.timelinemode import TimelineMode

my_roadmap = Roadmap(width=500, height=300)
my_roadmap.set_title("My Roadmap")
my_roadmap.set_timeline(mode=TimelineMode.MONTHLY, start="2022-11-14", number_of_items=6)

group = my_roadmap.add_group("Development")
group.add_task("Activity 1", "2022-12-01", "2023-02-10") as task:
group.add_task("Activity 2", "2023-01-11", "2023-03-20") as task:
group.add_task("Activity 3", "2023-01-21", "2023-06-30") as tasks:

my_roadmap.set_footer("Generated by Roadmap Generator")
my_roadmap.draw()
my_roadmap.save("my_roadmap.png")

Output

Generated Roadmap

Clone this wiki locally