-
Notifications
You must be signed in to change notification settings - Fork 20
Sample Roadmap Code
CS Goh edited this page Jan 8, 2023
·
2 revisions
from roadmapper.roadmap import Roadmap
from roadmapper.timelinemode import TimelineMode
roadmap = Roadmap(
1400, 1000, auto_height=True, show_marker=False
)
roadmap.set_title("STRATEGY ROADMAP 2023")
roadmap.set_subtitle("Matariki Technologies Inc.")
roadmap.set_timeline(
mode = TimelineMode.MONTHLY,
start = "2022-12-01",
number_of_items = 12,
show_generic_dates=False,
year_fill_colour="#404040",
year_font_colour="white",
item_fill_colour="#404040",
item_font_colour="white",
)
group = roadmap.add_group("Planning", fill_colour="#FFC000", font_colour="black")
task = group.add_task(
"Vision", "2023-01-01", "2023-03-31", fill_colour="#FFC000", font_colour="black"
)
task = group.add_task(
"Goals", "2023-02-15", "2023-03-31", fill_colour="#FFC000", font_colour="black"
)
task.add_parallel_task(
"Strategic Intent",
"2023-04-01",
"2023-05-31",
fill_colour="#FFC000",
font_colour="black",
)
task.add_parallel_task(
"Sales Budget",
"2023-06-01",
"2023-07-15",
fill_colour="#FFC000",
font_colour="black",
)
task.add_parallel_task(
"Release Plans",
"2023-07-16",
"2023-09-30",
fill_colour="#FFC000",
font_colour="black",
)
group = roadmap.add_group("Strategy", fill_colour="#ED7D31", font_colour="black")
task = group.add_task(
"Market Analysis",
"2023-02-01",
"2023-03-30",
fill_colour="#ED7D31",
font_colour="black",
)
task.add_milestone(
"Competitor Review", "2023-03-30", fill_colour="#843C0C", font_colour="black"
)
task.add_parallel_task(
"SWOT", "2023-04-01", "2023-04-30", fill_colour="#ED7D31", font_colour="black"
)
task = group.add_task(
"Business Model",
"2023-04-01",
"2023-05-31",
fill_colour="#ED7D31",
font_colour="black",
)
task.add_milestone(
"Price List (Draft)", "2023-06-01", fill_colour="#843C0C", font_colour="black"
)
parallel_task = task.add_parallel_task(
"Price Reseach",
"2023-06-01",
"2023-08-05",
fill_colour="#ED7D31",
font_colour="black",
)
parallel_task.add_milestone(
"Price List (Final)", "2023-07-28", fill_colour="#843C0C", font_colour="black"
)
group.add_task(
"Objectives",
"2023-06-20",
"2023-09-10",
fill_colour="#ED7D31",
font_colour="black",
)
group.add_task(
"Sales Trends Analysis",
"2023-08-15",
"2023-10-10",
fill_colour="#ED7D31",
font_colour="black",
)
group = roadmap.add_group(
"Service Development", fill_colour="#70AD47", font_colour="black"
)
task = group.add_task(
"Product Roadmap",
"2023-02-15",
"2023-03-31",
fill_colour="#70AD47",
font_colour="black",
)
parallel_task = task.add_parallel_task(
"Development",
"2023-04-01",
"2023-08-30",
fill_colour="#70AD47",
font_colour="black",
)
parallel_task.add_milestone(
"Alpha May 20", "2023-05-20", fill_colour="#385723", font_colour="black"
)
parallel_task.add_milestone(
"Private Beta Jul 02", "2023-07-02", fill_colour="#385723", font_colour="black"
)
parallel_task.add_milestone(
"Public Beta Aug 15", "2023-08-15", fill_colour="#385723", font_colour="black"
)
parallel_task = task.add_parallel_task(
"Release Candidate",
"2023-09-01",
"2023-10-15",
fill_colour="#70AD47",
font_colour="black",
)
parallel_task = task.add_parallel_task(
"Release To Public",
"2023-10-16",
"2023-12-31",
fill_colour="#70AD47",
font_colour="black",
)
parallel_task.add_milestone(
"Go Live Dec 20", "2023-12-20", fill_colour="#385723", font_colour="black"
)
group = roadmap.add_group(
"Business Intelligence",
fill_colour="#4472C4",
font_colour="black",
)
task = group.add_task(
"BI Development",
"2023-04-15",
"2023-12-31",
fill_colour="#4472C4",
font_colour="black",
)
task.add_milestone(
"Service Dashboard", "2023-05-15", fill_colour="#162641", font_colour="black"
)
task.add_milestone(
"Real-Time Analytics", "2023-08-01", fill_colour="#162641", font_colour="black"
)
task.add_milestone(
"Sales Dashboard", "2023-12-15", fill_colour="#162641", font_colour="black"
)
roadmap.set_footer("Generated by Roadmapper")
roadmap.draw()
roadmap.save("sample-roadmap.png")