Implemented graph functions for context menus, created logic for displaying context menus, converted spacing