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.
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 (Graph
orList<Graph>
) and another generic for theGraphProviderKind
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.