Hi, firstly thank you for your work.
I have a Java project right now and I want to use your tool to extract a multi-version program dependency graph, and since the provided PDGExtractor is oriented towards C#, I would like to use TinyPDG( https://github.com/YoshikiHigo/TinyPDG ) to extract the PDG, followed by Flexeme for subsequent processing. However, I have encountered some problems, TinyPDG may not produce graph information like span, could you please give me some guidance on what I need to change roughly on TinyPDG to adapt to Flexeme.
The output of TinyPDG looks like this:
digraph { subgraph cluster0 { label = "method <5...10>"; 0.3 [style = filled, label = "return c; <9>", fillcolor = deeppink, shape = ellipse]; 0.1 [style = filled, label = "int b = 20; <7>", fillcolor = white, shape = ellipse]; 0.0 [style = filled, label = "int a = 10; <6>", fillcolor = white, shape = ellipse]; 0.2 [style = filled, label = "int c = a + b; <8>", fillcolor = white, shape = ellipse]; 0.4 [style = filled, label = "Enter <5...10>", fillcolor = aquamarine, shape = diamond]; 0.0 -> 0.1 [style = bold, label=""]; 0.0 -> 0.2 [style = solid, label="a"]; 0.1 -> 0.2 [style = solid, label="b"]; 0.1 -> 0.2 [style = bold, label=""]; 0.2 -> 0.3 [style = solid, label="c"]; 0.2 -> 0.3 [style = bold, label=""]; 0.4 -> 0.0 [style = dotted, label="true"]; 0.4 -> 0.0 [style = bold, label=""]; 0.4 -> 0.1 [style = dotted, label="true"]; 0.4 -> 0.2 [style = dotted, label="true"]; 0.4 -> 0.3 [style = dotted, label="true"]; } }
and when I plugged into Flexeme:
{'attributes': {}, 'name': 'PDG', 'type': 'digraph', 'strict': False, 'suppress_disconnected': False, 'simplify': False, 'current_child_sequence': 87, 'nodes': {}, 'edges': {}, 'subgraphs':cluster0,cluster1,...}
there's no nodes and edges, which only present in the subgraphs.