libpetri 2.7.0 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2210,6 +2210,9 @@ var PetriNetBuilder = class _PetriNetBuilder {
|
|
|
2210
2210
|
};
|
|
2211
2211
|
function rebuildWithAction(t, action) {
|
|
2212
2212
|
const builder = Transition.builder(t.name).timing(t.timing).priority(t.priority).action(action);
|
|
2213
|
+
if (t.placeAlias.size > 0) {
|
|
2214
|
+
builder.placeAlias(t.placeAlias);
|
|
2215
|
+
}
|
|
2213
2216
|
if (t.inputSpecs.length > 0) {
|
|
2214
2217
|
builder.inputs(...t.inputSpecs);
|
|
2215
2218
|
}
|