diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-01-20 05:42:52 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-01-20 05:42:52 +0000 |
| commit | 344e9b1a484b361cac7b07500cb7d2699cc93c29 (patch) | |
| tree | 0177d9963df8da75f438c55a4367bada0adf4324 /NT/src/rotor.cpp | |
| parent | 0dfbf40106d6a6c70d949e1f5bcfa1b33b20a68f (diff) | |
updating graph
Diffstat (limited to 'NT/src/rotor.cpp')
| -rw-r--r-- | NT/src/rotor.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/NT/src/rotor.cpp b/NT/src/rotor.cpp index 1b75187..8fdec07 100644 --- a/NT/src/rotor.cpp +++ b/NT/src/rotor.cpp @@ -47,7 +47,7 @@ Json::Value Node::to_json(){ node["type"]=type; node["type_id"]=type_id; node["title"]=title; - node["output_type"]=get_type(); + node["output_type"]=get_output_type(); node["description"]=description; node["id"]=id; node["ui_type"]=ui_type; @@ -82,9 +82,11 @@ int main(){ delete p; */ Json::Value js; -f.list_node("multiply",js); +f.list_node("time",js); Json::StyledWriter writer; cerr<<writer.write(js)<<endl; +f.list_node("multiply",js); +cerr<<writer.write(js)<<endl; f.list_node("print",js); cerr<<writer.write(js)<<endl; } |
