mfautolayout
v2.0.8
Published
Your microflows, sometimes, look quite messy. This module is to help you to rearrange components in your microflow automatically, based on Dagre library.
Downloads
31
Readme
Introduction
Your microflows, sometimes, look quite messy. This module is to help you to rearrange components in your microflow automatically, based on Dagre library.
How to use
- Install module
npm intall mfautolayout -g
- Create config.js file in your current folder with content
var project = {
username: 'xxx',
apikey: 'YOUR API KEY',
projectId: 'YOUR PROJECT ID',
projectName: 'YOUR PROJECT NAME',
revNo: -1,
branchName: null // for mainline
};
module.exports = project;
- Enter the command autolayout module1 module2
in which, module1 module2 are names of modules you want to arrange their microflows. Without parameter, it will rearrrange all microflows in project except some special modules like System, Administration...