added graph size and data query customization