Interface GraphPostProcessor

All Superinterfaces:
Serializer

public interface GraphPostProcessor
extends Serializer
Interfaces a "graph post-processor", which is called once a graph is newly loaded from file and once a graph is newly created. This makes it possible to initialize all graphs automatically e.g. with default attributes. Another use case is, the post processing of newly loaded graphs, that are read from file.
Version:
$Revision: 1.4 $
Author:
Christian Klukas
  • Method Details

    • processNewGraph

      void processNewGraph​(Graph g)
      Call back for processing newly created graphs and newly loaded graphs. After loading of a file this method will be called. Also during creation of a new graph this method will be called.
      Parameters:
      stream - The output stream to save the graph to.
      g - The graph to save.