Author |
Lily Dong |
Creation date |
06/06/2011 |
Firing policy |
all |
Package |
org.seasr.meandre.components.vis.text |
DESCRIPTION
Creates a tag cloud image from a word count table. If there are many tags to be displayed, reduce the maximum size of the font or increase the size of the canvas to accommodate all of tags.
INPUTS
Name |
Description |
Example |
|---|---|---|
token_counts |
Tags to be analyzed. TYPE: org.seasr.datatypes.BasicDataTypes.IntegersMap TYPE: java.util.Map |
|
OUTPUTS
Name |
Description |
Example |
|---|---|---|
error |
This port is used to output any unhandled errors encountered during the execution of this component |
|
raw_data |
The image. TYPE: byte[] |
|
PROPERTIES
Name |
Description |
Default value |
|---|---|---|
width |
This property sets the width of the canvas. |
1000 |
height_adjustment |
The number of pixels to increase the height by in the event all the words cannot be displayed in the tag cloud |
50 |
width_adjustment |
The number of pixels to increase the width by in the event all the words cannot be displayed in the tag cloud |
50 |
font_name |
This property sets the name of the font to be used for the words in the tag cloud. |
Courier |
_ignore_errors |
Set to 'true' to ignore all unhandled exceptions and prevent the flow from being terminated. Setting this property to 'false' will result in the flow being terminated in the event an unhandled exception is thrown during the execution of this component |
false |
seed |
Set a random seed value to be used to initiate randomness for each tag cloud generated. If no value is given, then the current time will be used. |
|
show_count |
Set to 'true' to show the count for each tag. Ensure there is enough space for showing the count. In doing so, you could increase the canvas width or height or both, or reduce the font size. |
false |
max_size |
This property sets the maximum size of the font. |
150 |
min_size |
This property sets the minimum size of the font to be used for the words in the tag cloud. |
20 |
height |
This property sets the height of the canvas. |
1000 |
_debug_level |
Controls the verbosity of debug messages printed by the component during execution. Possible values are: off, severe, warning, info, config, fine, finer, finest, all Append ',mirror' to any of the values above to mirror that output to the server logs. |
info |
max_font_size_adjustment |
The value to decrease the maximum font size by in the event all the words cannot be displayed in the tag cloud |
5.0 |
Labels
Add Comment