Hi
I have built a Structogram editor, the NassiShneiderman Plugin.
Some features:
- Edit the diagram with the mouse (dnd), copy/cut/paste
- export to StrukTeX, PNG(or just copy and paste as bitmap (into bitmap editor)) and svg
- export to source code
To edit a diagram, choose the brick from the toolbar and move the mouse over the diagram. A red Line
or Grid will indicate where the brick gets inserted.
To disable SVG export remove the USE_SVG define from the build options.
To get SVG export, you need to compile the SVG lib from WxWidgets contrib dir. Don't forget to
copy wxmsw28u_svg_....dll where it can be found.
There is the file "lexer_nassi.xml" in the archive, copy it to the other lexer configutation files and
Code::Blocks knows the nsd files in it's file open dialog. (it is not really a lexer configuration...)
"Save As" and "Select All" will work after applying patch ID 002606.
If you have any questions, don't hesitate to ask.
Now the NassiShneiderman Plugin is only an editor plugin. I like to integrate it more into Code::Blocks.
The question is: How would you (as a user) expect the behavior of such a plugin?
I have prepared a parser (with boost::spirit) which is able to read c sources and generate
the diagram. When should the parser get called and over which part of a source file? When should
the plugin generate sourcecode from the structogram and replace the previously parsed code?
Thanks for your help in advance.
Regards danselmi
[attachment deleted by admin]
[attachment deleted by admin]