Skip to content

Question: The best way to assign labels to edges #202

@eosfor

Description

@eosfor

Hello colleagues,

what is the best way to describe nodes and edges in TSL to be able to mark edges, to be able to follow only specific edges.

For example i got the following node type

[GraphNode]
cell Node {
	string Label;
	[GraphEdge] CellId OutEdge;
}

I need to be able to differentiate between different type of relationships. For example if the node represents a group, it may have relationships like "members" and "memberof" pointing to other groups. So in my query i'd like to extract a subtree following the "members" type of relationship. Is it possible to achieve it with this node type or i need to define a "field" for each type of relationship?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions