java.lang.Object
org.bigraphs.framework.visualization.ReactionGraphExporter<B>
- All Implemented Interfaces:
BigraphGraphicsExporter<ReactionGraph<?>>
public class ReactionGraphExporter<B extends Bigraph<? extends Signature<?>>>
extends Object
implements BigraphGraphicsExporter<ReactionGraph<?>>
A graphics exporter for reaction graphs.
- Author:
- Dominik Grzelak
-
Constructor Summary
ConstructorDescriptionReactionGraphExporter
(ReactiveSystem<B> reactiveSystem) Constructor requires the BRS that is being model checking. -
Method Summary
Modifier and TypeMethodDescriptionvoid
toPNG
(ReactionGraph<?> bReactionGraph, File file) Exports a reaction graph as a PNG file.with
(GraphicalFeatureSupplier<?> supplier)
-
Constructor Details
-
ReactionGraphExporter
Constructor requires the BRS that is being model checking.- Parameters:
reactiveSystem
- the system that is being model checked
-
-
Method Details
-
toPNG
Exports a reaction graph as a PNG file. The reaction graph is the result of the model checking process over the reactive system passed to the constructor of this graphics exporter.- Specified by:
toPNG
in interfaceBigraphGraphicsExporter<B extends Bigraph<? extends Signature<?>>>
- Parameters:
bReactionGraph
- the result of model checking the BRS that was passed to the constructorfile
- the filename- Throws:
IOException
-
with
- Specified by:
with
in interfaceBigraphGraphicsExporter<B extends Bigraph<? extends Signature<?>>>
-