Latest revision |
Your text |
Line 1: |
Line 1: |
| =Coding period= | | =Coding period= |
− | ===''Week 14''===
| |
− | ====Firm pencils down day: 20/08/2012====
| |
− | * Adjusted the ''doc/docbook/system/mann/en/graph.xml'' according to the changes made on the subcommands and added a brief documentation for the '''igraph''' command.
| |
− |
| |
− | ===''Week 13''===
| |
− | ====19/08/2012====
| |
− | * Added two subcommands for the '''graph''' command: '''show''' and '''positions'''.
| |
− |
| |
− | * Removed the previous ''graph_objects_positions'' and ''graph_structure'' commands.
| |
− |
| |
− | * Renamed the previously named Tcl ''graph'' procedure into '''igraph''' - this command launches the interactive graph; along with this procedure, the ''src/tclscripts/graph'' was renamed into ''src/tclscripts/'''igraph''''', and the file ''src/tclscripts/graph/graph.tcl'' was renamed into ''src/tclscripts/'''igraph/igraph.tcl'''''.
| |
− |
| |
− | * The '''igraph''' command works in MGED; when launched in Archer, an error message in outputted saying that the command is not available yet.
| |
− |
| |
− | * Took care of some command error cases (C and Tcl).
| |
− |
| |
− | ====18/08/2012====
| |
− | * Again tried to integrate the previously mentioned command in Archer - Didn't find an example that would suit me. I found commands that would have procedures that use C wrapped commands but they were either working strictly for Archer or for MGED, not for both.
| |
− |
| |
− | ====17/08/2012====
| |
− | * Introduced a '''graph''' command and its '''show''' subcommand.
| |
− |
| |
− | * Tried to get rid of an ''"invalid command name "graph" while executing "graph show""'' error but didn't find a solution - this appears when I run my procedure in Archer. When running this procedure in MGED, no such error appears and the graph is generated correctly.
| |
− |
| |
− | ====16/08/2012====
| |
− | * Enabled error message in MGED for the '''graph''' command in case the Adaptagrams library isn't available.
| |
− |
| |
− | * Started reorganizing the '''graph''' command in subcommands.
| |
− |
| |
− | ====15/08/2012====
| |
− | * Added a basic brlman documentation for the '''graph''' command.
| |
− |
| |
− | ====14/08/2012====
| |
− | * Grouped top-level commands under a single '''graph''' command. Came up with an approach on how to tackle the following problem: there would exist a C implemented "graph" command and also a Tcl procedure named "graph" and when ran in MGED the C one is ran instead of the Tcl one. Waiting for a response before committing the changes.
| |
− |
| |
− | ====13/08/2012====
| |
− | * Fixed a bug that appeared when launching Archer due to the '''graph_objects_positions''' command.
| |
− |
| |
− | * Started work on integrating the '''graph''' command in Archer. Encountered some problems due to the fact that there isn't a corresponding ''ged_graph'' C routine that can be used. The procedure is simply defined in Tcl.
| |
− |
| |
| ===''Week 12''=== | | ===''Week 12''=== |
− | ====12/08/2012====
| |
− | * Cleaned up the layout source code that was about to be committed.
| |
− |
| |
− | * Replaced the connection lines that existed between two nodes with polylines and added arrows at the end of each connection line.
| |
− |
| |
− | ====11/08/2012====
| |
− | * Finished creating the routines that provide a decent layout for the graph.
| |
− |
| |
− | * Added vertices between the nodes.
| |
− |
| |
− | :Here is how the graph for the ''share/db/axis.g'' database looks like now:
| |
− | :[[Image:Graph_editor_v2.png]]
| |
− |
| |
− | :Commit will be made as soon as the source code is cleaned up.
| |
− |
| |
− | ====10/08/2012====
| |
− | * Continued working on the layout part.
| |
− |
| |
− | ====09/08/2012====
| |
− | * Started research and work for solving the layout issue of a graph.
| |
− |
| |
| ====08/08/2012==== | | ====08/08/2012==== |
| * Added the '''decorate_object(struct _ged_dag_data *, char *, int)''' routine in ''src/libged/dag.cpp''. This creates a new entry into a hash table for each newly detected object and sets the entry's value depending on the type of object: ''primitive'', ''combination'', or ''something else''. | | * Added the '''decorate_object(struct _ged_dag_data *, char *, int)''' routine in ''src/libged/dag.cpp''. This creates a new entry into a hash table for each newly detected object and sets the entry's value depending on the type of object: ''primitive'', ''combination'', or ''something else''. |
Line 69: |
Line 8: |
| * Introduced a text widget with the name of the object within each rectangle. | | * Introduced a text widget with the name of the object within each rectangle. |
| | | |
− | :Here is the window that the '''graph''' command launches for the ''share/db/axis.g'' database: | + | :Here is the window that the '''graph''' command launches: |
| | | |
| :[[Image:Graph_editor_v1.png]] | | :[[Image:Graph_editor_v1.png]] |