strategy interface & sample graph