Graph-Based Model For Distribution Systems: Application To Planning Problem