[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [sarif] Nested graphs: adopting Luke's proposal
Ok, a single value it is. I was not planning to prohibit a graph from being nested under multiple nodes. Function-A can call Function-B in multiple places, right? Larry From: sarif@lists.oasis-open.org <sarif@lists.oasis-open.org> On Behalf Of Luke Cartey Hi Larry, My intention was that the node in the parent graph, and the nested graph itself were equivalent. In the example I had, the node "function_a" in the graph "file_a", which is equivalent to the graph with id "function_a". For a SARIF viewer, the way this can be rendered is to place any nodes within the nested graph inside the "parent" node. For example, nodes a1-a3 were rendered directly in the "function_a" node in the "file_a" graph. If we permitted multiple nested graphs within one node, then we would need to render the nested graph as a separate node from the parent node. In my example, you would then have: file_a - function_a -function_a -a1 -a2 -a3 Which seems redundant. I'm also not sure what you're enabling by making it an array - if you want to have multiple nested graphs, you could just have multiple nodes in the parent graph, one for each graph you want to nest. On a related note, are you planning to prohibit graphs from being nested under multiple different nodes? Cheers, Luke On Mon, May 7, 2018 at 9:37 AM Larry Golding (Comcast) <larrygolding@comcast.net> wrote:
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]