piflow_label_propagation
PiFlow · GraphsRun synchronous label propagation using both directions of each edge. The lowest label wins a tie.
Use this operator
operator: piflow_label_propagation@1.1Configure remote_operator_library_urls with this repository’s origin. XStream verifies and caches artifacts by digest, sharing them across operators.
Named ports
- edgesInputrecords
Arrow records. The example uses srcId, dstId, attr.
Formats: Any compatible format - vertexInputrecords
Arrow records. The example uses id, attr.
Formats: Any compatible format - edgesOutputrecords
Original edges with srcId, dstId and attr.
- vertexOutputrecords
Output vertices with id and their propagated community label as attr.
Output structure and samples are provided by operator inference.
Parameters
- maxIterintegerRequired
Number of label-propagation rounds.
- How to fill
- Number of label-propagation rounds. · Minimum: 1 · Maximum: 50
- Example value
- 1
Operator usage example
Connect the input ports to upstream steps and adjust the parameters for your data.
id: process
operator: piflow_label_propagation@1.1
inputs:
edges: read_edges
vertex: read_vertex
params:
maxIter: 1
Manual download
curl -fLo 'operator.zip' 'https://repo.conox.cn/v1/blobs/sha256/e76447b80eba3f8f46737feed125d7e68e0f24fdb12eebe6b14a8b52f974ab67/operator.zip'
sha256sum -- 'operator.zip'
curl -fLo 'LICENSE.txt' 'https://repo.conox.cn/v1/blobs/sha256/c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4/LICENSE.txt'
sha256sum -- 'LICENSE.txt'Compare checksums with the manifest. Download execution and build environments from the runtime catalog ↗.
Source and licensing
See Source archive under Artifact details
- Source repository
- https://github.com/cas-bigdatalab/piflow
- Source revision
- 777361c4e72b2c5457479683916b7c8e635289ff
- License (publisher declared)
- Apache-2.0
- License text
- Available below
- Dependency SBOM
- Dependency SBOM not provided
Build instructions
Build the Python SDK adapter in src/ with python-arrow@2.0. See job.yaml for an example using the supplied fixtures.
Publisher-provided source, licenses and dependency information support your review. Availability and checksums do not certify safety, legal clearance, or that the executable matches the source.