Stuart Brorson wrote:
The schema is an entity-relationship diagram. There aren't any inheritance relationships shown, and there aren't any in the database. It's a sub-set of UML. The relationship types are:it points to a bunch of net instances. (I don't quite recognize yourFrom your drawing, it looks like Global is a subclass of Design, and
schema drawing formalism -- it looks similar to UML, but it's not.
Therefore, I am just guessing.) Anyway, I imagine that your program's
job is to read in a .sch file and create this structure. In this
case, I guess it makes sense. OTOH, why wouldn't you just make
"Global" an attribute of Net (i.e. a part of the Net structure)? On
the third hand, I guess that if you want to find all global nets
easily, without searching for them, yours is the way to do it.
As for the big picture, I am still confused where your tool will be
used. Is it fired up from within gschem? Or is it stand-alone?
Stuart