Rendering of flow chart

Note:
To start the rendering double click the flow map item or click a bread crumb button. The automatically activation of the rendering will follow later ...

AD4.Iteration.18.13 (Rendering of complex wires)

The look of the ugly wire arrows improved. Changed:
  • FlowChartWireArrowDecorator.GetArrowPathGeometry: start point initialized
  • FlowChartWireArrowDecorator.Ctor: Stroke of arrow border was missing
  • StrokeEndlineCap, StrokeStartLineCap set to Round

Now the wires look nice:
AD4.AppDesigner.RenderFlowChartFlow.18.13.png

AD4.Iteration.18.12 (Bugfix)

Single instances that needs a wrapper are handled now
  • AppWrapperClassContainer customized (filter part)
  • MakeFlowClassCtor customized (filter part)

AD4.Iteration.18.11 (Bugfix)

  • Previously wrapped classes could not be declared as single instances. AppWrapperClassContainer improved to handel this case (filter adapted)
  • MakeWrapperBuildInstances used the wrong property name from AppWrapperClassContainer.WrappedInstanceName because case of single instance was unhandled.
  • MakeFlowClassCtor didn't create instances of wrapped single classes.

AD4.Iteration.18.10 (Rendering of complex wires)

  • Rendering of complex wires improved

AD4.Iteration.18.09 (Rendering of complex wires with points)

Finished rendering of complex wires (using "Point" property):
  • New FlowChartWirePointToOutputPinDecorator added
AD4.RenderFlowChartFlow.18.09.png
Note:
Taken from Sample AD4.AppDesigner.ad4 file.

$DesignAttribute { DesignType = "Wire" ElementKey = "0" Point = "50,120" Point = "50, 150" Point = "70,150" Point = "70,120" }

Multiple points allow to "build" complex wires. The "ElementKey" is the index of the wire in flow starting with 0,

AD4.Iteration.18.08 (Rendering of complex wires with points)

Started with rendering of complex wires (using "Point" property) (UNFINISHED!):
  • FlowChartWireInputPinToPointDecorator
  • FlowChartWireInputPinToStepDecorator
  • FlowChartWireSegmentDecoratorBase
  • ...

AD4.Iteration.18.07 (Rendering of simple / direct wires from step to step without points)

  • Some wire rendering bugs fixed, RenderWires simplified

AD4.Iteration.18.06 (Rendering of simple / direct wires from step to step without points)

  • Some wire rendering bugs fixed

AD4.Iteration.18.05 (Rendering of simple / direct wires from step to step without points)

  • Started with implementation of RenderWires
Screenshot:
AB4.AlarmClockSample05.Flow.Chart.18.05.png
Note:
Taken from Sample AB4.AlarmClockSample.05.

AD4.Iteration.18.04 (Refecturing)

  • RenderFlowChartName, RenderFlowChartPins, RenderFlowRemarks, RenderGridLines, RenderStarter, RenderStepPins, RenderSteps simplified

AD4.Iteration.18.03 (Pins of flows)

  • Refacturing the render steps
  • RenderStepPins, RenderFlowPins implemented
Screenshot:
AB4.AlarmClockSample10.RaiseAlarmFlow.Flow_Chart.18.03.png
Note:
Taken from Sample AB4.AlarmClockSample.10.

$DesignAttribute { DesignType = "InputPin" ElementKey = "?CurrentTime" Position = "10,80"}
$DesignAttribute { DesignType = "InputPin" ElementKey = "?AlarmTime" Position = "10,110"}

DesignType: Specifies what kind of element is to design ("InputPin" or "OutputPin")
ElementKey: The unique key name of the flow pin if specified.
Position: Specifies where to render the pin (Left, Top) separated by ",".

AD4.Iteration.18.02 (Pins of steps)

  • Refacturing the render steps
  • RenderPins implemented
Screenshot:
AB4.AlarmClockSample05.Flow_Chart.18.02.png
Note:
Taken from Sample AB4.AlarmClockSample.05.

$DesignAttribute { DesignType = "InputPin" ElementKey = "TimerClock" Position = "TopEdge,0" }

DesignType: Specifies what kind of element is to design ("InputPin" or "OutputPin")
ElementKey: The unique key name of the element in flow (plus pin name if specified separated by "?". For example "MyStep?PinName").
Position: Specifies where to render the pin (LeftEdge, TopEdge, RightEdge, BottomEdge) plus the distance from the corner separated by ",".

AD4.Iteration.18.01 (Steps)

  • AttribeChartDecorator, AttributeMapDecorator, RemarkChartDecorator, StepChartDecorator, RenderSteps implemented
  • PresentFlowMapItems, PresentStepMapItems extended
Screenshot:
AB4.AlarmClockSample05.Flow_Chart.18.01.png
Note:
Taken from Sample AB4.AlarmClockSample.05.

$DesignAttribute { DesignType = "Step" ElementKey = "StartTimerClockFlow" Position = "20,100" Size = "100,40" }

DesignType: Specifies what kind of element is to design (in this case always "Step")
ElementKey: The unique name of the element in flow (key of step. CustomName if available, otherwise the type name)
Position: Specifies where to render (left, top)
Size: Specifies the largeness (width, height)

AD4.Iteration.18.00 (Remarks)

  • RemarkChartDecorator, RenderEx, RenderFlowRemarks implemented
Screenshot:
AB4.AlarmClockSample05.Flow_Chart.18.00.png
Note:
Taken from Sample AB4.AlarmClockSample.05.

#region DesignAttributes of flow chart
$DesignAttribute { DesignType  = "FlowRemark" Caption = "This is the only root flow of the AlarmClockSample" Position = "20,20" Size = "200,40" }
#endregion

DesignType: Specifies what kind of element is to design (in this case always "FlowRemark")
Caption: Represents the text to show
Position: Specifies where to render (left, top)
Size: Specifies the largeness (width, height)

Last edited Jun 2, 2014 at 2:13 PM by InneHo, version 22