This repository was archived by the owner on Oct 17, 2021. It is now read-only.
  
  
  - 
                Notifications
    
You must be signed in to change notification settings  - Fork 40
 
Node
        mattt edited this page Nov 16, 2020 
        ·
        10 revisions
      
    A single node of the graph.
@dynamicMemberLookup public struct Node: Identifiable, HashableIf a node appears inside a record, it has only the both attributes id and label.
ExpressibleByStringLiteral, Hashable, Identifiable
public init(_ id: String)public init(stringLiteral value: String)var id: StringA unique identifier for a node or a cluster.
Node ids are referenced by the edge attributes from and to, cluster ids by ltail and lhead.
If for a node the attribute label is not defined, the value of the attribute is used.
Strings [A-Z,a-z,0-9,.,_]+
var attributes: Attributespublic static func <--(lhs: Node, rhs: Node) -> Edgepublic static func <->(lhs: Node, rhs: Node) -> Edgepublic static func -->(lhs: Node, rhs: Node) -> Edgepublic static func -->(lhs: Node, rhs: [Node]) -> Subgraphpublic static func ---(lhs: Node, rhs: Node) -> EdgeGenerated at 2021-01-07T20:25:50+0000 using swift-doc 1.0.0-beta.5.
Types
- AspectRatio
 - Attribute
 - Color
 - Color.GradientStyle
 - Color.Name
 - DOTEncoder
 - DOTEncoder.Delimiter
 - Edge
 - Edge.Arrow
 - Edge.Arrow.Shape
 - Edge.Arrow.Side
 - Edge.Attributes
 - Edge.Direction
 - Edge.Port
 - Edge.Style
 - Error
 - Format
 - Graph
 - Graph.Attributes
 - Graph.ClusterMode
 - Graph.FontNamingConvention
 - Graph.InitialNodeLayoutStrategy
 - Graph.LabelScheme
 - Graph.Mode
 - Graph.Orientation
 - Graph.OutputOrder
 - Graph.PackingMode
 - Graph.PageDirection
 - Graph.QuadtreeScheme
 - Graph.RankDirection
 - Graph.Smoothing
 - Graph.Spline
 - Graph.Viewport
 - Graph.Viewport.Center
 - GraphBuilder
 - LayoutAlgorithm
 - Location
 - Node
 - Node.Attributes
 - Node.FixedSize
 - Node.ImagePosition
 - Node.Shape
 - Node.Style
 - Ordering
 - Point
 - Position
 - Rectangle
 - Renderer
 - Renderer.Options
 - Size
 - Subgraph
 - Subgraph.Attributes
 - Subgraph.Rank
 - Subgraph.Style
 - SubgraphBuilder