Classes

The following classes are available globally.

  • Represents a control for rendering the Diagram. This class inherits UIView.

    See more

    Declaration

    Swift

    open class DiagramView: UIView
  • Represents an image. This class implements Hashable and Equatable.

    See more

    Declaration

    Swift

    open class Image : Hashable, Equatable
  • Encapsulates attachment information.

    See more

    Declaration

    Swift

    open class Attachment
  • Creates a controller that handles touch input.

    Declaration

    Swift

    open class TouchInputController
  • Represents a weak variable of a chosen type. This class implements Hashable and Equatable.

    See more

    Declaration

    Swift

    open class Weak<T:AnyObject>:Hashable, Equatable
  • NodeListView is a toolbox alike control. It displays a list of node templates, and lets user create new nodes based on these templates by drag-and-drop. NodeListView can contain instances of any DiagramNode derived classes.

    See more

    Declaration

    Swift

    open class NodeListView : UITableView, UITableViewDataSource, UITableViewDelegate
  • Implements several algorithms for arranging tree structures. This class inherits Layout.

    See more

    Declaration

    Swift

    open class TreeLayout: Layout
  • Provides shortcut methods for creating and adding instances of the standard DiagramItem types.

    See more

    Declaration

    Swift

    open class Factory
  • Represents a set of Style objects for different diagram item types.

    See more

    Declaration

    Swift

    open class Theme
  • A tree layout algorithm that places child nodes symmetrically around their parent node. This class inherits Layout.

    See more

    Declaration

    Swift

    open class FractalLayout : Layout
  • Base class for interactive manipulators, which are user interface elements attached to a diagram item. The user can perform various manipulations on objects through their attached manipulators.

    See more

    Declaration

    Swift

    open class Manipulator
  • An abstract base class for classes that defines how the Diagram library reacts to users’ gestures.

    See more

    Declaration

    Swift

    open class BehaviorBase
  • Identifies the adjustment handle being moved by the user.

    Declaration

    Swift

    open class AdjustmentHandle
  • Represents an item in the diagram.

    See more

    Declaration

    Swift

    open class DiagramItem : NSObject
  • Represents a set of anchor points, which specify the exact locations where links are allowed to connect to nodes.

    See more

    Declaration

    Swift

    open class AnchorPattern
  • Represents a diagram shape.

    See more

    Declaration

    Swift

    open class Shape
  • This class represents a connection between an edge and a node in a graph. It decouples the DiagramLink class from the DiagramNode class, allowing edges to connect different types of nodes without knowing anything of their implementation details. Each DiagramLink objects contains two ConnectionPoint instances describing the connections at both ends of the link.

    See more

    Declaration

    Swift

    open class ConnectionPoint
  • Represents a class for drawing diagram items. This class implements Hashable and Equatable.

    See more

    Declaration

    Swift

    open class Brush : Hashable, Equatable
  • Provides properties that allow customization of various aspects of printing and print-preview.

    See more

    Declaration

    Swift

    open class RenderOptions
  • ShapeNode instances are diagram nodes that represent geometric shapes.

    See more

    Declaration

    Swift

    open class ShapeNode : DiagramNode
  • Creates XML elements. This class inherits NSObject and NSXMLParserDelegate.

    See more

    Declaration

    Swift

    open class XmlDomBuilder : NSObject, XMLParserDelegate
  • Identifies properties for the visual style of handles.

    See more

    Declaration

    Swift

    open class HandlesVisualStyle
  • Encapsulates the appearance properties of an element. Implements Hashable and Equatable.

    See more

    Declaration

    Swift

    open class Style : Hashable, Equatable
  • Represents a class for drawing diagram items.

    See more

    Declaration

    Swift

    open class Canvas
  • Class for meta types. The class implements Hashable and Equatable.

    See more

    Declaration

    Swift

    open class Metatype<T:AnyObject> : Hashable, Equatable
  • Specifies the locations in a node, to which the user is allowed to connect links.

    See more

    Declaration

    Swift

    open class AnchorPoint
  • Represents a XML element used for serialiation and deserialization of the diagram.

    See more

    Declaration

    Swift

    open class XmlElement
  • The base class for all layout classes.

    See more

    Declaration

    Swift

    open class Layout
  • Represents a path with Graphics objects.

    See more

    Declaration

    Swift

    open class GraphicsPath
  • Implements the main diagram model class. It acts as a container for diagram elements such as nodes and links. In addition, it defines a set of properties that determine the initial values of the diagram element attributes.

    See more

    Declaration

    Swift

    @objc open class Diagram : NSObject, LayoutContainer
  • Specifies units of measure for a particular data.

    See more

    Declaration

    Swift

    @objc open class MeasureUnit: NSObject
  • Identifies diagram axes.

    See more

    Declaration

    Swift

    @objc open class Axis : NSObject
  • Represents a vector.

    See more

    Declaration

    Swift

    open class Vector
  • Represents a layer in the diagram.

    See more

    Declaration

    Swift

    open class Layer
  • Represents a color. This class implements Equatable.

    See more

    Declaration

    Swift

    open class Color : Equatable
  • A class that represents events.

    Declaration

    Swift

    open class Event<T>
  • A class that provides arguments for repaint events.

    See more

    Declaration

    Swift

    open class RepaintEventArgs