Skip to content
Tools/Workspace & Portfolios/create_cross_product_edge

create_cross_product_edge

Create a cross-product relationship between two entities in different products within a portfolio graph. Types: `shares_persona`, `shares_competitor`, `shares_metric`, `depends_on_product`, `cannibalises`, `succeeds`.

Workspace & Portfoliosnon-atomic. Portfolio file create (if new) + edge append are separate filesystem operations.

Arguments

source_idstringrequired

Source node ID

target_idstringrequired

Target node ID

typestringrequired

Cross-product relationship type

shares_personashares_competitorshares_metricdepends_on_productcannibalisessucceeds
source_product_idstringoptional

Product ID of the source node

target_product_idstringoptional

Product ID of the target node

Returns

Shape
{ edge, portfolio_file }

See Also