Ron, Edward, JohnR and I have formed a taskforce to hammer out the details of creating a UI for Ptolemy 0 and Ptolemy II. Below are my notes on the meeting we had. I've decided that the first Milestone we had was to large, and have broken it down into submilestones. Overview -------- The idea is that we come up with a milestone of something that can easily be implemented. The general goal is to create a UI for the pt.kernel package in Ptolemy II. The specific task is to be able to draw Figure 8 from the design doc. Figure 8 illustrates how Entities can be connected. See http://ptolemy.eecs.berkeley.edu/~ptdesign/java/wmwork/design.fm.ancA3.gif The GUI should allow the user to do most (if not all) operations that the user could do through Tcl Blend To do figure 8, we have several submilestones Submilestone A: Simple Graph ------------------------- The goal here is to create a simple graph with two entities connected by a relation - Specify as workspace - Create and place Entities - Create and place Relations - Connect entities and Relations - Create and Place Ports Ptolemy II has dynamic ports, where as Ptolemy 0 has static ports that are created at compile time. - Perform operations on Entities such as deepGetConnectedEntities() In the short term, we could bring up a message dialog with the results In the long term, we might want to graphical highlight the results, or have a console View as part of the tool - Persistance: How will simulations be stored - Backend issues: How will we have Tycho and Tcl Blend communicate? Submilestone B: Port issues ------------------------ - We should be able to: create and place an Entity add a Port delete a Port moving Ports is not part of this milestone - Handling multiple connections. We have no fork stars in Ptolemy II - Ports can change from Input to Output to both to neither. Submilestone C: Hierarchy ---------------------- - Support Hierarchy. What's not included in the first Milestone ------------------------------------------ - The ability to move ports - Level crossing links - Connection constraints E --->R--->E ^ E ----/ Is different from E --->R--->E ^ E --->R----/ (E = Entity, R = Relation) What don't we need yet ---------------------- - Since there are very few graphical elements, we do not need icon libs yet. We have Entities CompositeEntities Ports Relations Wires - Style library Ptolemy 0 --------- Ptolemy 0 and Ptolemy II have very different policies. However, we may be able to use the Ptolemy II UI to interface to Ptolemy 0. Once we get and interface to the Pt II kernel, then we can start on an interface to the PN domain. Once we have that, we can look at interfacing to Ptolemy 0 -Christopher