Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Provide graphml export option #1085
Comments
|
Updated the gist, using the |
|
What a great idea! I really would like to see that included in sourcetrail, as it allows to perform further, graph based architecture analysis. Please include this feature in the next release of sourcetrail! |
|
I could imaging this to be availabe via a command line call. The current API looks like this:
For this feature I could imaging an |
In my mind one of the key things (besides visualization) Sourcetrail provides is a useful graph structure for source code that can be used for various types of analysis, without having to go through the pain of writing a clang analyzer yourself. However, since sourcetrail doesn't have plugins (#1076), writing your own analysis tools is a bit of work, and may not let you use other kinds of graph analysis tooling.
I've started on making a graphml exporter at https://gist.github.com/virtuald/95ecfa5047671f008395f5781a359cc7 , but it seems that
getGraphForNodeTypesandgetGraphForAlldon't actually seem to create a full in memory graph.