Table of Contents
Network
A model can have one network, that is a directed graph with attributes on its nodes and edges.
In a network model, the top diagram has a single group, that is the network group. Inside the network group is the network diagram, it can be serial or parallel but it must have no nested structure or may comprise a single group only. That is because a network diagram is interpreted as a node list, without structure. The groups and items of the network diagram are the nodes of the network, in the same order. They are numbered consecutively, starting with 1.
The Z network sets an example, it is the smallest network that is not a reliability block diagram.
It has: * 2 production nodes c0, d0 * 2 consumption nodes c1, d1 * 3 edges (c0, c1), (d0, d1), (d0, c1) * 1 hidden source node and 1 hidden sink node
Network editing
The network-edit toggle (Ctrl+Z) provides access to the network form. With that, you can:
- edit node attributes
- add and delete edges
- add and delete buffers
- edit buffer attributes
For example: * in the diagram, select d0 * in the network form: * hit the 'blank form' button * hit the 'from' button You then see: * the list of edges from d0 * for each node, a 'node-edit' button * for each edge, a 'buffer-add' button
By default, the nodes that have no incoming or no outgoing edges get a hidden edge from the source or to the sink, respectively. Singleton nodes get both. The network must have at least one edge from the source and one edge to the sink.
With a blank network form, pushing the 'from' and 'to' buttons will show the nodes that have an edge from or to all the selected nodes, respectively. In other words, the nodes shown span a Kuratowski subgraph.
With a non-blank network form, pushing the 'from' or 'to' buttons will add, modulo 2, all edges from or to the selected nodes to or from the nodes in the 'to' or 'from' column. Adding the same edge twice will delete it. In this case, the “from' and 'to' buttons toggle.
The node buttons and add-buffer buttons provide access to the node and buffer forms. These forms are for editing the attributes of the nodes and the buffers.
Diagram editing
Some diagram edit operations have additional functionality and some restrictions to facilitate network construction and maintain consistency.
The group operation requires that the selected sub-graph corresponds to a valid diagram that has no nested structure or comprises a single group only. In that case, it replaces the selected sub-graph by a new group with the corresponding diagram. It ignores any buffers.
Conversely, the ungroup operation requires that the selected group diagram has no nested structure or comprises a single group only. In that case, it replaces the selected group by the sub-graph that corresponds to the group diagram.
The duplicate, replicate and paste operations require that the resulting network diagram has no nested structure. In that case, they add the copied nodes to the network, without their attributes and edges.