PrintNetwork

gid - Global ID of the subnet to start tree printout. depth - Integer
specifies down to which level the network is printed.

Author

Marc-Oliver Gewaltig
Jochen Martin Eppler

Description

This function prints the network structure in a concise tree-like format according to the following rules: - Each Node is shown on a separate line
showing its model name followed by its in global id in brackets.

+-[0] Subnet Dim=[1] | +- iaf_neuron [1]

- Consecutive Nodes of the same model are summarised in a list. The list shows the model name
the global id of the first node in the sequence
then the number of consecutive nodes
then the global id of the last node in the sequence.

+-[0] Subnet Dim=[1] | +- iaf_neuron [1]..(2)..[2]

- If a node is a subnet
its global id is printed first
followed by the model name or its label (if it is defined). Next
the dimension is shown. If the current recursion level is less than the specified depth
the printout descends to the children of the subnet. After the header
a new line is printed
followed by the list of children at the next indentation level. After the last child
a new line is printed and the printout of the parent subnet is continued.