/// <summary> /// Creates the join according to given definition. /// </summary> /// <param name="definition">The definition of join.</param> /// <param name="context">The context of <see cref="DiagramDefinition"/> where join will be displayed.</param> /// <returns>Join drawing.</returns> public abstract JoinDrawing CreateJoin(JoinDefinition definition, DiagramContext context);
/// <summary> /// Initializes a new instance of the <see cref="JoinDrawing" /> class. /// </summary> /// <param name="definition">The join drawing definition.</param> public JoinDrawing(JoinDefinition definition) { Definition = definition; }
/// <summary> /// Add join into context. /// </summary> /// <param name="join">Join that will be drawed.</param> public void DrawJoin(JoinDefinition join) { _joinDefinitions.Add(join); }