Howto place Routing results with Directions Widget on my own Graphics Layer?

Discussion created by a.schaefer-esri-de-esridist on Mar 11, 2014
Per default, the Directions Widget draws its results (from Geocoding and from Routing) onto the maps default graphics-layer (map.graphics.add). Is it possible to place them onto my own graphics-layer? Is there a shortcut to do this without implementing the whole thing new?

I didn't found anything to achieve this. Maybe I don't see an obvious solution.

Thanks in advance and best regards,