public abstract class DotGraphDumper<InstanceT,PortT,PortTemplateT,NetT,DesignT>
extends Object
Modifier and Type | Method and Description |
---|---|
void |
doDump(DesignT design,
Path output,
BiPredicate<InstanceT,DesignT> filter)
Dump the design to a file.
|
void |
doDump(DesignT design,
PrintWriter pw,
BiPredicate<InstanceT,DesignT> filter)
Dump the design to a PrintWriter.
|
BiPredicate<InstanceT,DesignT> |
extendFilterToConnected(BiPredicate<InstanceT,DesignT> initialFilter)
Extend an existing filter to also output instances that connect to the ones that are shown
|
BiPredicate<InstanceT,DesignT> |
extendFilterToConnected(Predicate<InstanceT> initialFilter)
Extend an existing filter to also output instances that connect to the ones that are shown
|
public BiPredicate<InstanceT,DesignT> extendFilterToConnected(BiPredicate<InstanceT,DesignT> initialFilter)
initialFilter
- the filter to extendpublic BiPredicate<InstanceT,DesignT> extendFilterToConnected(Predicate<InstanceT> initialFilter)
initialFilter
- the filter to extendpublic void doDump(DesignT design, PrintWriter pw, BiPredicate<InstanceT,DesignT> filter)
design
- the design to dumppw
- the PrintWriter to output tofilter
- A function that filters the instances that are shown. Pass null to show everythingpublic void doDump(DesignT design, Path output, BiPredicate<InstanceT,DesignT> filter)
design
- the design to dumpoutput
- the target filefilter
- A function that filters the instances that are shown. Pass null to show everything