Class SerialisationGraphPlotter
java.lang.Object
org.tweetyproject.graphs.util.GraphPlotter<Extension<DungTheory>,Edge<Extension<DungTheory>>>
org.tweetyproject.arg.dung.serialisibility.plotting.SerialisationGraphPlotter
public class SerialisationGraphPlotter
extends GraphPlotter<Extension<DungTheory>,Edge<Extension<DungTheory>>>
This class represents a specialization of
The class defines the layout specifications of the visualization:
GraphPlotters used
to visualize the process of generating extensions by serialising sets of arguments,
as realised in SerialisableExtensionReasoner.
The class defines the layout specifications of the visualization:
- label of a node
- label of an edge
- size of a node
- style and font-size of a node
- spacing between nodes
- Version:
- TweetyProject 1.23
- Author:
- Julian Sander
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSerialisationGraphPlotter(Plotter plotter, SerialisationGraph graph) *description missing* -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateGraph(boolean isVertical) Parse the elements of the graph to visual elements and align them in a hierarchical layout in a specified orientationgetStyle(Extension<DungTheory> node) static voidplotGraph(SerialisationGraph graph, int width, int height, String title) Plots the specified graph in a new created frame.static voidplotGraph(SerialisationGraph graph, Plotter groundPlotter, String title) Plots the specified graph in the frame of the specified plotterMethods inherited from class org.tweetyproject.graphs.util.GraphPlotter
addLabels, createGraph
-
Constructor Details
-
SerialisationGraphPlotter
*description missing*- Parameters:
plotter- *description missing*graph- *description missing*
-
-
Method Details
-
plotGraph
Plots the specified graph in a new created frame.- Parameters:
graph- Graph of a generation process of serialisable extensionswidth- Width of the new frame created.height- Height of the new frame created.title- Title of the Graph to plot.
-
plotGraph
Plots the specified graph in the frame of the specified plotter- Parameters:
graph- Graph of a generation process of serialisable extensionsgroundPlotter- Plotter, which creates the frametitle- Title of the Graph to plot.
-
createGraph
public void createGraph(boolean isVertical) Description copied from class:GraphPlotterParse the elements of the graph to visual elements and align them in a hierarchical layout in a specified orientation- Overrides:
createGraphin classGraphPlotter<Extension<DungTheory>,Edge<Extension<DungTheory>>> - Parameters:
isVertical- If TRUE layout of graph is "top-to-bottom", if FALSE, layout is "left-to-right"
-
getStyle
-