{"api_version":2,"name":"piflow_label_propagation","version":"1.1","role":"transform","type":"sdk","description":"Run synchronous label propagation using both directions of each edge. The lowest label wins a tie.","icon":{"path":"M3 5h18v14H3zM3 10h18M9 5v14"},"inputs":{"edges":{"representations":["records"],"formats":[]},"vertex":{"representations":["records"],"formats":[]}},"outputs":{"edges":{"view":"records"},"vertex":{"view":"records"}},"parameters":{"type":"object","properties":{"maxIter":{"type":"integer","description":"Number of label-propagation rounds.","minimum":1,"maximum":50}},"required":["maxIter"],"additionalProperties":false},"documentation":{"inputs":{"edges":"Arrow records. The example uses srcId, dstId, attr.","vertex":"Arrow records. The example uses id, attr."},"outputs":{"edges":"Original edges with srcId, dstId and attr.","vertex":"Output vertices with id and their propagated community label as attr."},"parameters":{"maxIter":{"description":"Number of label-propagation rounds.","help":"Number of label-propagation rounds.","example":1}},"example_job":"name: Graph label propagation\nsteps:\n- id: read_edges\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/piflow/edges.jsonl\n    view: records\n- id: read_vertex\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/piflow/vertex.jsonl\n    view: records\n- id: process\n  operator: piflow_label_propagation@1.1\n  inputs:\n    edges: read_edges\n    vertex: read_vertex\n  params:\n    maxIter: 1\n- id: receive\n  operator: client_sink@1.0\n  inputs:\n    edges: process:edges\n    vertex: process:vertex\n"},"runtime":{"image":"sha256:40db7fee594f1452790d1cc99c2e5429e187eb64633c716b8c6f903c47576975","archive":{"sha256":"e1844833e35390f2eaf9fc9ec7b67057ad0305ad713c0da6c8b055980a66946c","size":73825792,"filename":"python-arrow-2.0-runtime.tar"}},"execution":{"executor":"python","entrypoint":"xstream_piflow_label_propagation","config":{}},"source_public":true,"provenance":{"license":"Apache-2.0","source_repository":"https://github.com/cas-bigdatalab/piflow","source_revision":"777361c4e72b2c5457479683916b7c8e635289ff","build_instructions":"Build the Python SDK adapter in src/ with python-arrow@2.0. See job.yaml for an example using the supplied fixtures.","source_archive":{"sha256":"fcd741d65b8c597e847defecc3cceb231ac06a2436c49c6e72c8b1e2b45425ff","size":17706,"filename":"piflow_label_propagation-sources.zip"},"license_file":{"sha256":"c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4","size":11357,"filename":"LICENSE.txt"}},"artifact":{"sha256":"e76447b80eba3f8f46737feed125d7e68e0f24fdb12eebe6b14a8b52f974ab67","size":31301,"filename":"operator.zip"},"categories":["PiFlow","Graphs"],"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1795080507208},"publication":{"author":"dacp-examples","submitted_at_ms":1795080501261,"approved_at_ms":1795080507208,"last_submitted_at_ms":1795080501261,"last_approved_at_ms":1795080507208},"download_count":4}