Documentation ¶
Index ¶
Constants ¶
View Source
const ( Undirected = EdgeDefault("undirected") Directed = EdgeDefault("directed") )
View Source
const ( EndpointIn = EndpointType("in") EndpointOut = EndpointType("out") EndpointUndir = EndpointType("undir") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Edge ¶
type Edge struct { // XMLName xml.Name `xml:"edge"` ID string `xml:"id,attr,omitempty"` Source string `xml:"source,attr"` Target string `xml:"target,attr"` Directed *bool `xml:"directed,attr,omitempty"` SourcePort string `xml:"sourceport,attr,omitempty"` TargetPort string `xml:"targetport,attr,omitempty"` Attrs Attrs `xml:"data"` }
type EdgeDefault ¶
type EdgeDefault string
type Endpoint ¶
type Endpoint struct { // XMLName xml.Name `xml:"endpoint"` Node string `xml:"node,attr"` Port string `xml:"port,attr,omitempty"` Type EndpointType `xml:"type,attr,omitempty"` }
type EndpointType ¶
type EndpointType string
type File ¶
type Graph ¶
type Graph struct { // XMLName xml.Name `xml:"graph"` ID string `xml:"id,attr"` EdgeDefault EdgeDefault `xml:"edgedefault,attr"` Node []Node `xml:"node"` Edge []Edge `xml:"edge"` Hyperedge []Hyperedge `xml:"hyperedge"` }
Click to show internal directories.
Click to hide internal directories.