uni-bremen-agst / SEE

Collaborative Software Visualization with SEE (Software Engineering Experience)
https://see.uni-bremen.de
MIT License
20 stars 4 forks source link

Graph providers rework for evolution city #742

Closed hlkuss closed 4 months ago

hlkuss commented 5 months ago

This PR is a rework of the GraphProvider class.

Since git repositories should also be visualized in an evolution city in #726 SEECityEvolution should also process non-gxl graphs.

Therefore, I've changed GraphProvider and made it a bit more general by introducing two generics (one for the type, the provider should return (Graphor List<Graph>) and another generic for the GraphProviderKind enum type.

I've also changed all existing graph providers to the new parent class.

Minor Issue

Fixed also a small bug which might not be worth being in an extra PR.

When generating a subgraph, the attributes of the graph itself were not being copied to the subgraph.