capdag 1.199.512 → 1.211.563
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/cap-fab-renderer.js +3 -3
- package/capdag.js +1307 -100
- package/capdag.test.js +787 -460
- package/machine.pegjs +2 -2
- package/package.json +1 -1
package/cap-fab-renderer.js
CHANGED
|
@@ -892,12 +892,12 @@ function validateEditorGraphPayload(data) {
|
|
|
892
892
|
// {
|
|
893
893
|
// "strands": [
|
|
894
894
|
// {
|
|
895
|
-
// "nodes": [{"id": "n0", "urn": "media:pdf"}, ...],
|
|
895
|
+
// "nodes": [{"id": "n0", "urn": "media:ext=pdf"}, ...],
|
|
896
896
|
// "edges": [{
|
|
897
897
|
// "alias": "edge_0",
|
|
898
898
|
// "cap_urn": "...",
|
|
899
899
|
// "is_loop": false,
|
|
900
|
-
// "assignment": [{"cap_arg_media_urn": "media:pdf", "source_node": "n0"}, ...],
|
|
900
|
+
// "assignment": [{"cap_arg_media_urn": "media:ext=pdf", "source_node": "n0"}, ...],
|
|
901
901
|
// "target_node": "n1"
|
|
902
902
|
// }, ...],
|
|
903
903
|
// "input_anchor_nodes": ["n0"],
|
|
@@ -2087,7 +2087,7 @@ function buildRunGraphData(data) {
|
|
|
2087
2087
|
// labels the anchor→entry edge on the first body.
|
|
2088
2088
|
//
|
|
2089
2089
|
// Without such a preceding sequence cap, the source itself is
|
|
2090
|
-
// already a list (e.g. `media:pdf;list` source_media_urn) and the
|
|
2090
|
+
// already a list (e.g. `media:ext=pdf;list` source_media_urn) and the
|
|
2091
2091
|
// ForEach iterates it directly.
|
|
2092
2092
|
let seqProducerStepIdx = -1;
|
|
2093
2093
|
let seqProducerStep = null;
|