Crate dot_structures

source ·
Expand description

The structures of dot language

The set of components of the graphviz dot notation endeavouring to follow comparatively close to the language notation

Description:

    strict digraph t {           <= graph
        aa[color=green]          <= node aa and attributes in [..]
        subgraph v {             <= subgraph v
	     aa[shape=square]
	     subgraph vv{a2 -> b2}
	     aaa[color=red]
	     aaa -> subgraph { d -> aaa}  <= subgraph id is anon
        }
       aa -> be -> d -> aaa       <= type of the edge is chain
   }

Structs

  • the component represents a attribute in the language.
  • the component represents a edge in the language.
  • the component represents the vital component, namely node in the lang.
  • the component represents a node_id in the language. The component turns up in the edges predominantly or as an id for a node.
  • the component represents a port in the language. It contains from id and direction. All can be optional separately but not at the same time.
  • the component represents a subgraph in the lang.

Enums

  • the component depicts a type of the edge, namely it is a pair of chain. From the graph point of view, it impacts a compact display only.
  • the component represents a graph in the lang.
  • the component represents a set of attributes with prefix denoting a type in the language.
  • the component represents a id in the language. The Anonymous is a virtual component to keep the other components consistent in case when a node or subgraph is anonymous
  • the component represents a wrapper to keep sustainability in subgraph and graph bodies.
  • the component represents an edge component.