Netmagis application

logo

Graphviz node attributes

Node attributes for graphviz-generated network graphs (L2 and L3).

Sort

Each pattern has a sort order. During graph sketching, pattern are searched in the ascending order, which allows to specify more specific regular expressions first and more general ones at the end.

Please note that sort values must be unique.

Type

Type of graph where this pattern is used. You can use "L2" for vlan graphs or "L3" for IP graphs.

Regexp

Regular expression to select the pattern.

  • For L2 graphs, a string is built with "type/model" where "type" is the constructor (e.g. "cisco", "juniper", "hp", etc.) and "model" is the model of the equipment as found by Rancid. This string is then matched with regexps to get the graphviz node attributes.
  • For L3 graphs, 3 types of nodes are used: "router", "host" and "cloud"

Attributes

Graphviz attributes used to sketch nodes. You can find a detailed description of attributes in the Graphviz documentation.

Image

Image of node as drawn by Graphviz.

Netmagis license Netmagis Web site