Hi Team,
I am new to Aspose products and recently took the temporary license for Aspose Diagram Java API. I need help Decision shape; I tried adding master with “Decision” or “Diamon” master name but none of that is working. Below is the code snippet for the same and error message that i am getting:
Diagram diagram = new Diagram();
String masterName = “Rectangle”;
String decisionMaster = “Decision”;
String connectorMaster = “Dynamic connector”;
diagram.addMaster(masterDataDir + “Basic_Shapes.vss”, decisionMaster);
diagram.addMaster(masterDataDir + “Basic_Shapes.vss”, masterName);
diagram.addMaster(masterDataDir + “Basic_Shapes.vss”, connectorMaster);
Error Message: com.aspose.diagram.DiagramException: Master with name {0} does not present in the template.