diff --git a/_posts/2015-12-29-new-year-party.markdown b/_posts/2015-12-29-new-year-party.markdown new file mode 100644 index 0000000..3c56881 --- /dev/null +++ b/_posts/2015-12-29-new-year-party.markdown @@ -0,0 +1,13 @@ +--- +layout: post +title: "New Year Celebration" +date: 2015-12-29T11:25:35+05:30 +--- +### Terms Used + +* **New Year** 1st of Janaury. +* **New Year Celebration** An event to acknowledge start of new year. + +### Should I throw a party? + +![People are asking for a party?](/charts/new_year_throw_party.png) diff --git a/charts/new_year_throw_party.gv b/charts/new_year_throw_party.gv new file mode 100644 index 0000000..8dad401 --- /dev/null +++ b/charts/new_year_throw_party.gv @@ -0,0 +1,30 @@ + +strict digraph NewThrowParty +{ + start [ shape = "box", label = "Start" ]; + end [ shape = "box", label = "End" ]; + + want_to_throw [ shape = "diamond", label = "Do I want to throw a party?" ]; + can_manage [ shape = "diamond", label = "Am I good at managing?" ]; + can_afford [ shape = "diamond", label = "Can I afford throwing a party?" ]; + + throw [ shape = "box", label = "Throw!" ]; + dont_throw [ shape = "box", label = "Don't Throw!" ]; + + start -> want_to_throw; + + want_to_throw -> dont_throw [ label = "No" ]; + want_to_throw -> can_manage [ label = "Yes" ]; + + can_manage -> dont_throw [ label = "No" ]; + can_manage -> can_afford [ label = "Yes" ]; + + + can_afford -> dont_throw [ label = "No" ]; + can_afford -> throw [ label = "Yes" ]; + + throw -> end; + dont_throw -> end; + + { rank = "same"; throw dont_throw }; +} diff --git a/charts/new_year_throw_party.png b/charts/new_year_throw_party.png new file mode 100644 index 0000000..b53d3ba Binary files /dev/null and b/charts/new_year_throw_party.png differ