RE: [sarif] Another graph design issue: id vs. label

From
Michael Fanning <>
Date
2018-03-31T03:56:33+00:00
ID
Thread
RE: [sarif] Another graph design issue: id vs. label
Interesting question. An id is used to uniquely identify something. A label is used to describe it in the viewer. I think we need both concepts. A descriptive label may be shortened in a way that renders it non-unique.

 

 

From:  <>
On Behalf Of Larry Golding (Comcast)

Sent: Friday, March 30, 2018 3:22 PM

To: 

Subject: [sarif] Another graph design issue: id vs. label

 

We’ve said that nodes and edges have “labels”, and that edge traversals have user-facing “messages”.

 

Is there a difference between 
{node,edge).id and {node,edge}.label? Ids are unique; can two nodes or two edges in the same graph have the same “label”? Do we need both?

 

Larry