mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-22 02:49:06 +00:00
Fix state id in Scxml export
This commit is contained in:
parent
6979fb6d55
commit
aa53729752
@ -55,6 +55,7 @@ import org.w3c.dom.Element;
|
||||
|
||||
import net.sourceforge.plantuml.Guillemet;
|
||||
import net.sourceforge.plantuml.baraye.EntityImp;
|
||||
import net.sourceforge.plantuml.baraye.Quark;
|
||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||
import net.sourceforge.plantuml.cucadiagram.LeafType;
|
||||
import net.sourceforge.plantuml.cucadiagram.Link;
|
||||
@ -162,9 +163,8 @@ public class ScxmlStateDiagramStandard {
|
||||
}
|
||||
|
||||
private String getId(EntityImp entity) {
|
||||
String result = entity.getDisplay().get(0).toString();
|
||||
result = result.replaceAll("\\*", "");
|
||||
return result;
|
||||
final Quark quark = entity.getQuark();
|
||||
return quark.getName().replaceAll("\\*", "");
|
||||
}
|
||||
|
||||
public void transformerXml(OutputStream os) throws TransformerException, ParserConfigurationException {
|
||||
|
Loading…
Reference in New Issue
Block a user