I've been attempting to load graphics to my map programmatically, and I think I've finally figured out that it only fails if I have the jQuery library loaded as part of the define statement in the widget. (e.g. the UseJQuery demo widget, or the custom widget I've been working on.)
example code (the show-id just refers to a button on the html):
define(['dojo/_base/declare', 'jimu/BaseWidget','esri/geometry/Point',
'esri/symbols/SimpleFillSymbol', 'esri/symbols/SimpleMarkerSymbol', 'esri/symbols/SimpleLineSymbol',
'esri/layers/ArcGISDynamicMapServiceLayer', 'esri/graphic', 'dojo/_base/Color', 'esri/SpatialReference',
'jimu/loaderplugins/jquery-loader!https://code.jquery.com/jquery-git1.min.js