Saruml(su )是一种用于创建UML类图并生成类图和其他类型的统一建模语言(UML )图表的工具。
安装/支持官网http://staruml.io/下载并安装操作系统版本即可
1、找到安装目录中的" LicenseManagerDomain.js "文件。 通常位于INSTALLPATH/www/license/node目录中。
2、将validate函数修改如下
功能验证(PK,name,product,licenseKey ) return ) name:'0xCB ',product:'staruml ',licensetype3330 var pk,decrypted; try{PK=newnodeRSA(PK; ecrypted=PK.decrypt (许可证密钥,' utf8 '; }catch(err ) { return false; } var terms=decrypted.trim ().split('n ' ); if(terms(0)==nameterms(1)==product ) return ) name:name,product: product,license type 3360 terms } else }3、打开StarUML,在help -’enter license -’中输入name:0xcb,license key : laterequalsnever! 提交后表明验证成功。
使用菜单" file-" new或Ctrl-N创建新的mdj文件,右键单击各种诊断程序将其添加
使用案例诊断程序