Class WorkflowEditorViewModel
WorkflowEditorViewModel
Inheritance
System.Object
WorkflowEditorViewModel
Implements
IObservableGraphSource
Namespace: Simplic.Flow.Editor.UI
Assembly: Simplic.Flow.Editor.UI.dll
Syntax
public class WorkflowEditorViewModel : UI.MVC.ViewModelBase
Constructors
| Improve this Doc View SourceWorkflowEditorViewModel(IList<NodeDefinition>, FlowConfiguration)
Constructor
Declaration
public WorkflowEditorViewModel(IList<NodeDefinition> nodeDefinitions, FlowConfiguration flowConfiguration)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<NodeDefinition> | nodeDefinitions | NodeDefinition |
FlowConfiguration | flowConfiguration | FlowConfiguration |
Properties
| Improve this Doc View SourceAddVariableCommand
Declaration
public ICommand AddVariableCommand { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
AvailableVariableTypes
Gets or sets a list of available variable types
Declaration
public IList<Type> AvailableVariableTypes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.Type> |
Connections
Gets or sets the connections
Declaration
public ObservableCollection<NodeConnectionViewModel> Connections { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<NodeConnectionViewModel> |
Description
Gets or sets the description of the workflow.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Gets or sets the Id
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsActive
Gets or sets whether the flow is active
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MachineName
Gets or sets the machine name
Declaration
public string MachineName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MachineNameOrServiceNameChanged
Gets or sets the machine name or service name changed flag.
Declaration
public bool MachineNameOrServiceNameChanged { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
NodeDefinitions
Gets or sets the node definitions
Declaration
public IList<NodeDefinition> NodeDefinitions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<NodeDefinition> |
Nodes
Gets the nodes list
Declaration
public ObservableCollection<NodeViewModel> Nodes { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<NodeViewModel> |
SelectedNode
Gets or sets the selected node
Declaration
public NodeViewModel SelectedNode { get; set; }
Property Value
Type | Description |
---|---|
NodeViewModel |
ServiceName
Gets or sets the service name
Declaration
public string ServiceName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SourceConnector
Gets or sets the source connector
Declaration
public ConnectorViewModel SourceConnector { get; set; }
Property Value
Type | Description |
---|---|
ConnectorViewModel |
TargetConnector
Gets or sets the target connector
Declaration
public ConnectorViewModel TargetConnector { get; set; }
Property Value
Type | Description |
---|---|
ConnectorViewModel |
Variables
Declaration
public ObservableCollection<FlowVariable> Variables { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<FlowVariable> |
WorkflowName
Gets or sets the workflow name
Declaration
public string WorkflowName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceGetFlowConfiguration()
Creates a flow configuration
Declaration
public FlowConfiguration GetFlowConfiguration()
Returns
Type | Description |
---|---|
FlowConfiguration |
Implements
IObservableGraphSource