This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Edge
mattt edited this page Nov 16, 2020
·
10 revisions
An edge between two nodes.
@dynamicMemberLookup public struct Edge: Hashable
Hashable
public init(from: Node, to: Node, direction: Direction? = nil)
public init(from: Node.ID, to: Node.ID, direction: Direction? = nil)
var from: Node.ID
var to: Node.ID
var direction: Direction?
Sets the edge type for drawing arrowheads (not for ranking purposes).
var attributes: Attributes
public static func <--(lhs: Edge, rhs: Node) -> [Edge]
public static func <->(lhs: Edge, rhs: Node) -> [Edge]
public static func -->(lhs: Edge, rhs: Node) -> [Edge]
public static func ---(lhs: Edge, rhs: Node) -> [Edge]
Generated 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