转载请注明来源-作者@loongshawn:http://blog.csdn.net/loongshawn/article/details/78786685,建议读者阅读原文,确保获得完整的信息
1.背景说明
推荐一款Mac流程图工具,效果如下:
工具下载地址:http://staruml.io/download
2.简易使用
创建时序图步骤如下:Model–》Add Diagram–》Sequence Diagram
3.认证注册
目前这个软件是付费使用,费用为70美刀,实例允许建议购买正版;
不过网上也提供了破解方法,可以应急。
- 1.打开对应 mac版本的安装包位置,在对应目录/Applications/StarUML.app/Contents/www/license/node/LicenseManagerDomain.js文件。
- 2.找到文件23行,修改对应下面函数,更改为如下代码:
function validate(PK, name, product, licenseKey) {
var pk, decrypted;
//-----------新增------------
return {
name: "loongshawn",
product: "StarUML",
licenseType: "vip",
quantity: "mergades.com",
licenseKey: "blog.csdn.net/loongshawn"
};
//-----------end------------
try {
pk = new NodeRSA(PK);
decrypted = pk.decrypt(licenseKey, 'utf8');
} catch (err) {
return false;
}
var terms = decrypted.trim().split("\n");
if (terms[0] === name && terms[1] === product) {
return {
name: name,
product: product,
licenseType: terms[2],
quantity: terms[3],
licenseKey: licenseKey
};
} else {
return false;
}
}
3.打开starUML。Help–》Enter license
Name:loongshawn
LicenseKey:blog.csdn.net/loongshawn4.破解下载版本2.5.0测试可用。