Building a Global macro to create a custom graph layout