I just got the graph settings worked by initializing and putting a graph map by myself into IntepreterContext.config. Sorry for the spam. I am still wondering the difference between using REST API and clicking the run button. It seems click the run button will generate some default graph settings for you?
Zhong On Mon, Feb 8, 2016 at 10:28 AM, Zhong Wang <wangzhong....@gmail.com> wrote: > I got it worked using the REST API, and I am pretty help with it! > > There is just one issue: if I create and run the paragraph using the REST > API, I cannot get/set graph settings > using z.getInterpreterContext.getConfig(). It seems config is empty. > > What is the difference between running using the REST API and click the > run button? Is there anyway to set the graph settings using > InterpreterContext when run using the REST API? > > Thanks! > > Zhong > > On Sun, Feb 7, 2016 at 9:50 PM, Zhong Wang <wangzhong....@gmail.com> > wrote: > >> I'd like to create paragraphs programmatically using dynamic forms: >> select an item in dynamic form, create a graph immediately inside of that >> notebook. I can probably do that using the REST API, but I am wondering >> whether there is a better way to create paragraphs programmatically inside >> a notebook. >> >> Thanks! >> >> Zhong >> > >