SourceForge logo
SourceForge logo
Sequential Workflow Designer

Sequential Workflow Designer Files

Sequential Workflow Designer is a lightweight workflow designer

Brought to you by: b4rtaz

The interactive file manager requires Javascript. Please enable it or use sftp or scp.
You may still browse the files here.

Download Latest Version 0.30.0 source code.zip (801.0 kB)
Email in envelope

Get an email when there's a new version of Sequential Workflow Designer

Home / v0.2.0
Name Modified Size InfoDownloads / Week
Parent folder
0.2.0 source code.tar.gz 2022年09月09日 199.7 kB
0
0.2.0 source code.zip 2022年09月09日 262.7 kB
0
README.md 2022年09月09日 2.0 kB
0
Totals: 3 Items 464.3 kB 0

Editor's Context

We've changed an approach how the editors should notify the designer about changes in the definition. We've deleted revalidate() and notifiyDefinitionChanged() methods from the Designer class. Instead of this, now editors receive an editor's context.

:::ts
interface StepEditorContext {
 notifyNameChanged(): void;
 notifyPropertiesChanged(): void;
}
interface GlobalEditorContext {
 notifyPropertiesChanged(): void;
}
const config = {
 // ...
 editors: {
 stepEditorProvider: (step: Step, context: StepEditorContext) => {
 // ...
 context.notifyPropertiesChanged();
 // ...
 },
 globalEditorProvider: (definition: Definition, context: GlobalEditorContext) => {
 // ...
 context.notifyPropertiesChanged();
 // ...
 }
 }
};

Type Requirments

The type of a step cannot contain special characters from now. Check the type validator.

  • someType
  • some-type
  • some_type
  • some type
  • someType!

By this, we could add the type to an element's class on the SVG canvas. That allows to customize components by CSS. Check this example.

Restrictions

We added canInsertStep, canMoveStep and canDeleteStep callbacks to the StepsConfiguration. You may restrict some activity in the designer by this.

:::js
const config = {
 // ...
 steps: {
 canInsertStep: (step, targetSequence, targetIndex) => {
 return targetSequence.length < 5;
 },
 canMoveStep: (sourceSequence, step, targetSequence, targetIndex) => {
 return !step.properties['isLocked'];
 },
 canDeleteStep: (step, parentSequence) => {
 return step.name !== 'x';
 }
 // ...
 }
};
Source: README.md, updated 2022年09月09日
You Might Also Like
Easy-to-Use Website Accessibility Widget Icon
Easy-to-Use Website Accessibility Widget

An accessibility solution for quick website accessibility improvement.

All in One Accessibility is an AI based accessibility tool that helps organizations to enhance the accessibility and usability of websites quickly.
Learn More
Beautifully simple experience with RMM, remote support, help desk, billing and reporting in one affordable platform. Icon
Beautifully simple experience with RMM, remote support, help desk, billing and reporting in one affordable platform.

Ideal for small to medium size MSPs, IT Support companies and VARs.

Atera is an IT Management interface that provides the summit of solutions for MSPs. This leading-edge, cloud-based program offers Remote Monitoring and Management, Remote Access and Support, Technician-Based Pricing, and Professional Services Automation.
Try it FREE
Thanks for helping keep SourceForge clean.
X

Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /