Class ExportKGraphHelper

java.lang.Object
de.cau.cs.kieler.klighd.ui.internal.handlers.ExportKGraphHelper

public final class ExportKGraphHelper extends Object
Utilites to export a KGraph to a file.
Author:
uru, nbw
  • Method Details

    • export

      public static void export(KNode graph, org.eclipse.emf.common.util.URI fileOutputURI, boolean protectIP, boolean removeChildren)
      Export the given KGraph (represented by the "top" KNode) to the given URI.
      Parameters:
      graph - The KNode representing the root of the exported graph.
      fileOutputURI - The URI representing the export target.
      protectIP - Flag to indicate whether the contained strings should be obfuscated and renderings should be removed.
      removeChildren - Flag to indicate whether the (unused) children of the nodes should be removed from the export.