Prefuse: Difference between revisions
Removed SPAM |
mNo edit summary |
||
Line 1: | Line 1: | ||
= Summary = | [http://starcross33.ifrance.com/leali/index.html leali] [http://oddonpurpose.ifrance.com/multivison.html multivison] [http://plyuh-vios.ifrance.com/incidente-a-roma.html incidente a roma] [http://eliasn5gh.ifrance.com/la-camisa-negra-juanes.html la camisa negra juanes] [http://katzella.ifrance.com/i-survive/index.html i survive] [http://oddonpurpose.ifrance.com/l-ultimo-ballo.html l ultimo ballo] [http://thecrownless.ifrance.com/ivvi-queen/index.html ivvi queen] [http://angeljazz711.ifrance.com/inno-nazionale-americano.html inno nazionale americano] [http://thecrownless.ifrance.com/i-wish-remix/index.html i wish remix] [http://starcross33.ifrance.com/la-pappa-col-pomodoro/index.html la pappa col pomodoro] [http://child-ofadot.ifrance.com/il-te-nel-deserto.html il te nel deserto] [http://xxxenichkaa.ifrance.com/luna-rossa-teo.html luna rossa teo teocoli] [http://busjavka.ifrance.com/hobby-e-work/index.html hobby e work] [http://fluffy-mind.ifrance.com/ke-strange-world.html ke strange world] [http://oddonpurpose.ifrance.com/lynk.html lynk] [http://starcross33.ifrance.com/leaving-in-nwe-york/index.html leaving in nwe york] [http://plyuh-vios.ifrance.com/immagini-illustrative.html immagini illustrative di marx] [http://risdimpuka.ifrance.com/ligabue-balliamo/index.html ligabue balliamo sul mondo] [http://child-ofadot.ifrance.com/il-quotidiano-il.html il quotidiano il manifesto] [http://snakeystil.ifrance.com/i-mad-about-the/index.html i mad about the boy] [http://busjavka.ifrance.com/hothel-rimini/index.html hothel rimini] [http://risdimpuka.ifrance.com/liv-tyler-foto/index.html liv tyler foto] [http://pupsik1993.ifrance.com/l-ultima-tentazione.html l ultima tentazione di cristo nikos] [http://oddonpurpose.ifrance.com/l-opera.html l opera] [http://snakeystil.ifrance.com/jerri-scotti/index.html jerri scotti] [http://xxxenichkaa.ifrance.com/lavorocalabria.html lavorocalabria] [http://taylors-acolyte.ifrance.com/ici2004.html ici2004] [http://plyuh-vios.ifrance.com/in-un-vecchio-palco.html in un vecchio palco della scala] [http://snakeystil.ifrance.com/john-buttler/index.html john buttler] [http://carbonphoenix.ifrance.com/jebacina.html jebacina] [http://alexandraa80.ifrance.com/langston-hughes/index.html langston hughes] [http://xxxenichkaa.ifrance.com/liscate.html liscate] [http://chasingspaces.ifrance.com/gianna-gaetano/index.html gianna gaetano] [http://pupsik1993.ifrance.com/luretta-mia.html luretta mia] [http://listmishyk.ifrance.com/knock-on-my-door-shakira/index.html knock on my door shakira] [http://katzella.ifrance.com/hd/index.html hd] [http://alexandraa80.ifrance.com/laura-pausini-tutta/index.html laura pausini tutta nuda] [http://alexandraa80.ifrance.com/loredana-leccisio/index.html loredana leccisio calendario] [http://xxxenichkaa.ifrance.com/lepussy.html lepussy] [http://busjavka.ifrance.com/hitmania-estate-2000/index.html hitmania estate 2000] [http://taylors-acolyte.ifrance.com/italiano-inglese.html italiano inglese] [http://pupsik1993.ifrance.com/le-maree.html le maree] [http://snakeystil.ifrance.com/j00/index.html j00] [http://risdimpuka.ifrance.com/lettore-font/index.html lettore font] [http://thecrownless.ifrance.com/italiano-medio/index.html italiano medio] [http://busjavka.ifrance.com/homemegago/index.html homemegago] [http://thecrownless.ifrance.com/ibrahim-tatlises/index.html ibrahim tatlises] [http://carbonphoenix.ifrance.com/ja-te-pesmom-zovem.html ja te pesmom zovem] [http://eliasn5gh.ifrance.com/luly-boso.html luly boso] [http://plyuh-vios.ifrance.com/il-santo-rosario.html il santo rosario] [http://busjavka.ifrance.com/hotel-albatross-sharm/index.html hotel albatross sharm egitto] [http://plyuh-vios.ifrance.com/interculturale.html interculturale] [http://carbonphoenix.ifrance.com/juice.html juice] [http://busjavka.ifrance.com/heinzelmann/index.html heinzelmann] [http://snakeystil.ifrance.com/julieta-venegas-su-musica/index.html julieta venegas su musica] [http://snakeystil.ifrance.com/jay-p/index.html jay p] [http://listmishyk.ifrance.com/kicks-and-sex/index.html kicks and sex] [http://listmishyk.ifrance.com/kung-fu-fighting/index.html kung fu fighting] [http://snakeystil.ifrance.com/jonathan-brandis/index.html jonathan brandis immagini gallery] [http://listmishyk.ifrance.com/kamila-clap/index.html kamila clap] [http://katzella.ifrance.com/honduras-con/index.html honduras con] [http://snakeystil.ifrance.com/jej-pi-281-kne-oczy/index.html jej pi 281 kne oczy] [http://risdimpuka.ifrance.com/lontananza/index.html lontananza] [http://child-ofadot.ifrance.com/il-pescatore.html il pescatore] [http://risdimpuka.ifrance.com/lupanuda-foto/index.html lupanuda foto] [http://katzella.ifrance.com/hallo-wen/index.html hallo wen] [http://carbonphoenix.ifrance.com/jose-mari-chan.html jose mari chan] [http://angeljazz711.ifrance.com/inquinamento-elettromagnetico.html inquinamento elettromagnetico] [http://child-ofadot.ifrance.com/immagini-paz-vega-nuda.html immagini paz vega nuda] [http://pupsik1993.ifrance.com/lo-attivazioni.html lo attivazioni] [http://cuivenarius.ifrance.com/hollywood-fx-5.html hollywood fx 5] [http://xxxenichkaa.ifrance.com/lo-siento-de-belida.html lo siento de belida] [http://cuivenarius.ifrance.com/huck-e-jim.html huck e jim] [http://oddonpurpose.ifrance.com/log-seca-2.html log seca 2] [http://starcross33.ifrance.com/la-tasha-marzolla/index.html la tasha marzolla] [http://taylors-acolyte.ifrance.com/incontri-di-sesso.html incontri di sesso in canpania] [http://pupsik1993.ifrance.com/lumayo-kaman.html lumayo kaman] [http://carbonphoenix.ifrance.com/je-regarde-pour-toi.html je regarde pour toi] [http://snakeystil.ifrance.com/jordan-top-model/index.html jordan top model] [http://angeljazz711.ifrance.com/is-my-dj.html is my dj] [http://eliasn5gh.ifrance.com/la-bambolina-remix.html la bambolina remix] [http://carbonphoenix.ifrance.com/juan-pardo.html juan pardo] [http://busjavka.ifrance.com/haiduciii/index.html haiduciii] [http://risdimpuka.ifrance.com/lo-mejor-del-porno/index.html lo mejor del porno] [http://fluffy-mind.ifrance.com/k-ros.html k ros] [http://child-ofadot.ifrance.com/if-god-will-send-his.html if god will send his angels] [http://carbonphoenix.ifrance.com/jorgito.html jorgito] [http://snakeystil.ifrance.com/joy-tobing-karena/index.html joy tobing karena cinta] [http://eliasn5gh.ifrance.com/luca-cavalli-atalanta.html luca cavalli atalanta] [http://pupsik1993.ifrance.com/lavoro-estivo.html lavoro estivo] [http://pupsik1993.ifrance.com/lungo-il-fiume.html lungo il fiume] [http://listmishyk.ifrance.com/karinschubert/index.html karinschubert] [http://taylors-acolyte.ifrance.com/irma-d-alessandro.html irma d alessandro giornalista sportiva t] [http://risdimpuka.ifrance.com/ley/index.html ley] [http://taylors-acolyte.ifrance.com/isola-famosas.html isola famosas] [http://cuivenarius.ifrance.com/hot-flashing.html hot flashing] [http://busjavka.ifrance.com/hit-mania-dance-20004/index.html hit mania dance 20004] [http://angeljazz711.ifrance.com/io-ti-aspettero.html io ti aspettero] [http://child-ofadot.ifrance.com/i-testi-delle.html i testi delle canzoni dei 99 posse] [http://xxxenichkaa.ifrance.com/lionalex.html lionalex] [http://starcross33.ifrance.com/lost-without-you/index.html lost without you] [http://chasingspaces.ifrance.com/hard-britney/index.html hard britney] [http://child-ofadot.ifrance.com/i-personaggi.html i personaggi di roswell] [http://thecrownless.ifrance.com/inimioara/index.html inimioara] [http://angeljazz711.ifrance.com/immi-gov-au.html immi gov au] [http://child-ofadot.ifrance.com/indeo-codec-windows.html indeo codec windows xp] [http://starcross33.ifrance.com/lambadas/index.html lambadas] [http://plyuh-vios.ifrance.com/i-don-t-wanna.html i don t wanna know traduzione mario winans] [http://alexandraa80.ifrance.com/loan-me-a-dime/index.html loan me a dime] [http://eliasn5gh.ifrance.com/la-fabbrica-di-plastica.html la fabbrica di plastica] [http://eliasn5gh.ifrance.com/lyrics-i-ragazzi.html lyrics i ragazzi del 2003] [http://eliasn5gh.ifrance.com/l-amore-ha-scelto-noi.html l amore ha scelto noi] [http://xxxenichkaa.ifrance.com/lara-belli.html lara belli] [http://child-ofadot.ifrance.com/idi-corso-operatore.html idi corso operatore socio assistenziale] [http://child-ofadot.ifrance.com/ivan-delif-jej.html ivan delif jej czarne oczy] [http://katzella.ifrance.com/hacha-exe/index.html hacha exe] [http://plyuh-vios.ifrance.com/it-s-all-vain.html it s all vain] [http://pupsik1993.ifrance.com/liber-feat-marian.html liber feat marian] [http://child-ofadot.ifrance.com/inno-aeronautica.html inno aeronautica militare] [http://angeljazz711.ifrance.com/io-non-credo-piu.html io non credo piu all amore] [http://alexandraa80.ifrance.com/libro-la-legge/index.html libro la legge di bohn] [http://alexandraa80.ifrance.com/le-avventure-di/index.html le avventure di huckleberry finn] [http://alexandraa80.ifrance.com/l-alimentazione-e/index.html l alimentazione e l arte] [http://oddonpurpose.ifrance.com/la-sposa-morta.html la sposa morta] [http://alexandraa80.ifrance.com/liz-rincon/index.html liz rincon] [http://risdimpuka.ifrance.com/lecce-autobus-orari/index.html lecce autobus orari] [http://oddonpurpose.ifrance.com/ldc-org.html ldc org] [http://eliasn5gh.ifrance.com/liquore-crema.html liquore crema di banana] [http://pupsik1993.ifrance.com/laz-taylor.html laz taylor] [http://pupsik1993.ifrance.com/l-urlo-di-munch.html l urlo di munch] [http://eliasn5gh.ifrance.com/ligier.html ligier] [http://plyuh-vios.ifrance.com/i-love-to-love-tina.html i love to love tina charles] [http://thecrownless.ifrance.com/ich-wei-warum/index.html ich wei warum] [http://carbonphoenix.ifrance.com/johnson-andreas.html johnson andreas glorious] [http://pupsik1993.ifrance.com/l-internazionale.html l internazionale] [http://risdimpuka.ifrance.com/ley-de-homs/index.html ley de homs] [http://snakeystil.ifrance.com/jolin-chai-yi-ling/index.html jolin chai yi ling] [http://carbonphoenix.ifrance.com/jouer.html jouer] [http://alexandraa80.ifrance.com/la-repandilla/index.html la repandilla] [http://listmishyk.ifrance.com/kay-parker/index.html kay parker] [http://thecrownless.ifrance.com/io-son-contadinella/index.html io son contadinella] [http://oddonpurpose.ifrance.com/la-fattoria-spettacolo.html la fattoria spettacolo danza del ventre] [http://alexandraa80.ifrance.com/liv-tylor-foto/index.html liv tylor foto] [http://katzella.ifrance.com/hotel-dreams/index.html hotel dreams vacation sharm] [http://angeljazz711.ifrance.com/iran-geirl.html iran geirl] [http://risdimpuka.ifrance.com/la-vasca/index.html la vasca] [http://listmishyk.ifrance.com/katjakean/index.html katjakean] [http://taylors-acolyte.ifrance.com/iec.html iec] [http://alexandraa80.ifrance.com/la-serenella-remix/index.html la serenella remix] [http://fluffy-mind.ifrance.com/kates-playgroud.html kates playgroud] [http://xxxenichkaa.ifrance.com/l-ultimo-dei.html l ultimo dei moichani] [http://child-ofadot.ifrance.com/irma.html irma] [http://angeljazz711.ifrance.com/i-ll-miss-you.html i ll miss you mp3] [http://starcross33.ifrance.com/largo-winch/index.html largo winch] [http://alexandraa80.ifrance.com/lo-zoo/index.html lo zoo] [http://angeljazz711.ifrance.com/ivana-spagna-e-penso.html ivana spagna e penso a te] [http://cuivenarius.ifrance.com/hit-my-heart-lyrics.html hit my heart lyrics] [http://risdimpuka.ifrance.com/laurynhill/index.html laurynhill] [http://risdimpuka.ifrance.com/libertango-per-banda/index.html libertango per banda] [http://starcross33.ifrance.com/la-mia-signorina/index.html la mia signorina] [http://oddonpurpose.ifrance.com/lenny-craviz.html lenny craviz] [http://carbonphoenix.ifrance.com/just-my-gem-boy.html just my gem boy] [http://thecrownless.ifrance.com/il-cocomero/index.html il cocomero] [http://angeljazz711.ifrance.com/intossicazione-da.html intossicazione da rame] [http://starcross33.ifrance.com/la-colalees/index.html la colalees] [http://katzella.ifrance.com/heidi-soundtrack/index.html heidi soundtrack] [http://snakeystil.ifrance.com/juegos/index.html juegos] [http://risdimpuka.ifrance.com/luis-aguile/index.html luis aguile] [http://plyuh-vios.ifrance.com/il-calendario.html il calendario di daniele] [http://chasingspaces.ifrance.com/gooole/index.html gooole] [http://starcross33.ifrance.com/leti/index.html leti] [http://child-ofadot.ifrance.com/immagini-orlando-bloom.html immagini orlando bloom] [http://snakeystil.ifrance.com/john-chamberlain/index.html john chamberlain] [http://snakeystil.ifrance.com/j-lo/index.html j lo] [http://fluffy-mind.ifrance.com/kraftschlag.html kraftschlag] [http://angeljazz711.ifrance.com/inchanto.html inchanto] [http://snakeystil.ifrance.com/j-ai-pas-vingt-ans/index.html j ai pas vingt ans] [http://angeljazz711.ifrance.com/il-futurismo-e-la.html il futurismo e la radio] [http://fluffy-mind.ifrance.com/kal-ho-naa-o.html kal ho naa o] [http://katzella.ifrance.com/hiron-maiden/index.html hiron maiden] [http://chasingspaces.ifrance.com/guida-camping-costa/index.html guida camping costa brava] [http://katzella.ifrance.com/hotel-barcellona/index.html hotel barcellona] [http://thecrownless.ifrance.com/ii/index.html ii] [http://taylors-acolyte.ifrance.com/isorivolta.html isorivolta] [http://snakeystil.ifrance.com/jessica-simpson/index.html jessica simpson did you ever love somebody] [http://angeljazz711.ifrance.com/i-bilieve-i-can-fly.html i bilieve i can fly] [http://listmishyk.ifrance.com/krawczyk-i-edyta/index.html krawczyk i edyta bartosiewicz tak trudno] [http://plyuh-vios.ifrance.com/interpretazione.html interpretazione dei sogni di froid] [http://carbonphoenix.ifrance.com/just-for-you-de.html just for you de lionel richie] [http://carbonphoenix.ifrance.com/jh.html jh] [http://snakeystil.ifrance.com/just-to-tu-o/index.html just to tu o] [http://starcross33.ifrance.com/la-cuarta/index.html la cuarta] [http://eliasn5gh.ifrance.com/lesbicas-e-gays.html lesbicas e gays] [http://fluffy-mind.ifrance.com/kamasutra-video.html kamasutra video] [http://child-ofadot.ifrance.com/iii-capitolo-dei-promessi.html iii capitolo dei promessi sposi] [http://chasingspaces.ifrance.com/gigi-proietti-bella/index.html gigi proietti bella roma] [http://fluffy-mind.ifrance.com/k-te-den-candela.html k te den candela] [http://fluffy-mind.ifrance.com/kighine.html kighine] [http://carbonphoenix.ifrance.com/jkvon.html jkvon] [http://fluffy-mind.ifrance.com/kelly-minogue.html kelly minogue] = Summary = | ||
'''Author''': Jeffrey Heer / UC Berkeley<br /> | '''Author''': Jeffrey Heer / UC Berkeley<br /> |
Revision as of 03:57, 1 September 2007
leali multivison incidente a roma la camisa negra juanes i survive l ultimo ballo ivvi queen inno nazionale americano i wish remix la pappa col pomodoro il te nel deserto luna rossa teo teocoli hobby e work ke strange world lynk leaving in nwe york immagini illustrative di marx ligabue balliamo sul mondo il quotidiano il manifesto i mad about the boy hothel rimini liv tyler foto l ultima tentazione di cristo nikos l opera jerri scotti lavorocalabria ici2004 in un vecchio palco della scala john buttler jebacina langston hughes liscate gianna gaetano luretta mia knock on my door shakira hd laura pausini tutta nuda loredana leccisio calendario lepussy hitmania estate 2000 italiano inglese le maree j00 lettore font italiano medio homemegago ibrahim tatlises ja te pesmom zovem luly boso il santo rosario hotel albatross sharm egitto interculturale juice heinzelmann julieta venegas su musica jay p kicks and sex kung fu fighting jonathan brandis immagini gallery kamila clap honduras con jej pi 281 kne oczy lontananza il pescatore lupanuda foto hallo wen jose mari chan inquinamento elettromagnetico immagini paz vega nuda lo attivazioni hollywood fx 5 lo siento de belida huck e jim log seca 2 la tasha marzolla incontri di sesso in canpania lumayo kaman je regarde pour toi jordan top model is my dj la bambolina remix juan pardo haiduciii lo mejor del porno k ros if god will send his angels jorgito joy tobing karena cinta luca cavalli atalanta lavoro estivo lungo il fiume karinschubert irma d alessandro giornalista sportiva t ley isola famosas hot flashing hit mania dance 20004 io ti aspettero i testi delle canzoni dei 99 posse lionalex lost without you hard britney i personaggi di roswell inimioara immi gov au indeo codec windows xp lambadas i don t wanna know traduzione mario winans loan me a dime la fabbrica di plastica lyrics i ragazzi del 2003 l amore ha scelto noi lara belli idi corso operatore socio assistenziale ivan delif jej czarne oczy hacha exe it s all vain liber feat marian inno aeronautica militare io non credo piu all amore libro la legge di bohn le avventure di huckleberry finn l alimentazione e l arte la sposa morta liz rincon lecce autobus orari ldc org liquore crema di banana laz taylor l urlo di munch ligier i love to love tina charles ich wei warum johnson andreas glorious l internazionale ley de homs jolin chai yi ling jouer la repandilla kay parker io son contadinella la fattoria spettacolo danza del ventre liv tylor foto hotel dreams vacation sharm iran geirl la vasca katjakean iec la serenella remix kates playgroud l ultimo dei moichani irma i ll miss you mp3 largo winch lo zoo ivana spagna e penso a te hit my heart lyrics laurynhill libertango per banda la mia signorina lenny craviz just my gem boy il cocomero intossicazione da rame la colalees heidi soundtrack juegos luis aguile il calendario di daniele gooole leti immagini orlando bloom john chamberlain j lo kraftschlag inchanto j ai pas vingt ans il futurismo e la radio kal ho naa o hiron maiden guida camping costa brava hotel barcellona ii isorivolta jessica simpson did you ever love somebody i bilieve i can fly krawczyk i edyta bartosiewicz tak trudno interpretazione dei sogni di froid just for you de lionel richie jh just to tu o la cuarta lesbicas e gays kamasutra video iii capitolo dei promessi sposi gigi proietti bella roma k te den candela kighine jkvon kelly minogue = Summary =
Author: Jeffrey Heer / UC Berkeley
Project Webpage: http://prefuse.org
Current Version: beta, July 15, 2006
Requirements: Java 1.4
Overview: using Java2D graphics library; pipeline architecture; animation and rendering support
Base data structures: Table, Graph, Tree
Included visualization techniques (prefuse gallery): Fisheye Menu, Radial Graph, Treemap, Scatterplot, zipdecode, DOITree, Graph View, Data Mountain
Supported File Formats: GraphML (XML), TreeML (XML), Tab-delimited Text, CSV
prefuse is an interactive graphical open source toolkit written in Java. It is thought to support the development of sophisticated, highly interactive, and flexible Information Visualizations. The architecture of prefuse considers the Visualization Pipeline, a recommendation on how to implement a visualization. To provide flexibility, a polylithic design was chosen which enables developers to implement only needed functionality and customize these to meet the own requirements. But, in contrast to a monolithic design, this design needs more time to conceive and influences the architecture of the own application heavily (which is not a disadvantage as prefuse is very elaborate).
Typically, prefuse is designed to visualize interrelated information so it can be stored in a graph or tree structure, but, also not related data can be used which is stored within a data table. Even if the structure is hierarchical, the resulting tree or graph structure must not be considered in the proper graphical representation as layout algorithms are not restricted in any way. The painting of visual items is done by using a renderer which has access to the respective item itself and the Graphics2D context of the view. This approach enables to use the whole range of available painting methods of Java, therefore, all painting issues are completely independent of the toolkit itself.
Besides providing a large set of predefined elements to visualize data, most attention was set toward usability of the visualization. This is obtained by applying several interaction techniques like tooltips or dragging visual elements. But also more sophisticated techniques like zooming, panning, or semantic zooming are supported or partially even provided by the toolkit itself. Further, prefuse clearly distinguishes between absolute and view coordinates. This separation helps users to place all visual elements in a logical way without consideration of later applied visualization techniques that changes the entire view.
Pros
- flexible
- versatile pipeline approach
- clear and well thought architecture
- many layout and distortion algorithms included
- algorithms for force-based physics simulation included
- custom animations (smooth transitions)
- color maps
- query language to navigate within abstract data
- demos and examples included
- bounding management
- open source
- documentation of code and general guidance available
- active developer community
Cons
- polylithic design takes up more time to conceive and see first results
- special requirements of a visualization enforce a lot of adapting work
General Approach
Going along with the step-wise recommendation of the Visualization Pipeline, a prefuse application consists of different states of data:
prefuse uses a centralized object called Visualization (former ItemRegistry) which maintains and manages the whole visualization. This object has to fulfil several tasks. It stores the abstract data as well as visual analogous of these in two different tables. All transformation routines like filtering or rendering are managed and executed by the Visualization too. Further, it refers to at least one Display, a graphical component which can represent visual elements of the Visualization.
Transformation routines are defined as Actions which are combined in ActionLists. An ActionList is an executable container which is started manually by a user or automatically by the Visualization. Once such a list is started, all defined Actions are executed in the given sequence. Typically, the last called Action is the RepaintAction which forces all belonging Displays of the Visualization to repaint themselves.
The Display is the view of prefuse. It can be embedded in each Java Swing application. The main task of a Display is the painting of visual structures which are defined in the respective Visualization. Whenever the Display performs a repaint, it requests all visual items and checks all bounds of them (bounding management). If an item is within the own area the respective rendering mechanism is called.
The Display also provides navigation techniques like zooming or panning which change the view. The view itself refers to a separate coordinate system. View coordinates are described through an affine transformation matrix. Any navigation technique applied to the view only concerns the view coordinate system. The most important functionalities to work with this coordinate system are already predefined. Typically, users just have to apply whished techniques without considering technical details like the view coordinate system.
Furthermore, a Display also maintains a set of ControlListener which are used to process user interactions (mouse or keyboard events). Whenever such an event occurs the respective listener is called. A listener already differs on where the event happened (e.g., blank area or a certain item). Further, a ControlListener may also start an ActionList again.
Source Data
Raw data is the base of the application. Typically, the source of raw data is a file, but also other sources like a database or web content are thinkable. However, prefuse provides several file readers for different formats (CSV, Tab-Delimitated, etc.) that can be transformed into a data table. Further, some readers also support the reading of SQL-Databases. If another source is needed, a reader can be written manually.
Once the raw data is read, it is transformed into abstract data and stored within a data table of the Visualization.
Data Table
The data table which is used to store abstract data works with data types and a definition schema which maps relations between data-type and table. That means, each row contains a data record, and each column contains values for a named data field with a specific data-type. Each record of the table is referred as a Tuple.
Furthermore, instead of the table, also a graph or tree may be used to store interrelated data. Instead of Tuples, records are referred as Nodes which are connected to others with Edges. Additionally, a tree has one defined root Node.
Abstract data does not contain any visual information like assignment attributes or color settings. Instead, own visual analogous are created. Visual attributes of them are extracted out of the abstract data following a defined logic.
Visual Abstraction
Visual structures are created when filtering the data container which contains the abstract data. In case of a visualization that displays all items from the beginning on, the filtering routine must only executed once at initializing time. If the visual content changes dynamically, the filtering is executed on certain user interactions by calling a defined filtering ActionList.
A visual structure is referred as VisualItem which may be distinguished as VisualNode, VisualEdge, or an aggregated item which consists of several other items. However, as a VisualItem is extended of the respective abstract entity, it has full access to all abstract information too.
The filtering routine which transforms the abstract data to visual analogues typically consists of following Actions:
- Filter: This Action is responsible to transform the abstract data of the backing table to visual analogues. If no special conditions are defined, the filter creates for each Tuple a visual instance and stores them in a second table. Additionally, a filter also performs a garbage collection and may set visibility attributes of the created items.
- Layout: A layout takes care about placing the VisualItems. Several common algorithms for graphs or trees are already predefined (e.g., ForceDirectedLayout or RadialTreeLayout).
- Assignment: Besides layouting, also other assignments may be performed during the filtering process. Such assignments directly changes visual attributes of VisualItems like colors, sizes, fonts, etc.
A visual structure may also contain a paint routine, but, as all painting jobs are initialized or performed by separated renderers, these issues may also be executed by the renderer itself or any other object.
View
Typically, the rendered visual structure is not stored, instead, they are re-rendered whenever needed. However, in case of very complex but constant visual representations it makes sense to hold items in an offscreen image.
Each VisualItem has got one or more associated Renderers which are maintained by a factory of the Visualization. A Renderer has to perform two tasks:
- Providing a bounding box of the item. This box is used to determine if the item must actually be painted or if it would not be visible anyway.
- Providing the painting routine of the item. Paintings may be executed by the Renderer itself or delegated to other objects which are accessible of the Renderer. The painting routines are not restricted in any way, but the proper representation should not exceed the bounding box of the item.
Rendering is always performed on a repaint of the Display. A repaint can be requested by the Visualization, on user interaction, and on events like resizing the component, getting the focus, or changing the coordinate system of the view. However, as repaints may occur very often, developers have to ascertain that rendering jobs are performed fast, otherwise, the performance of the whole visualization would suffer.
Details
Package Structure
Following picture shows the most important packages of prefuse regarding to the Visualization Pipeline:
These packages also contain predefined components. Default Nodes and Edges provide standard functionality of abstract data, standard functionality is also available in visual analogous of them. A default filter transforms all defined abstract entities to visual ones. Further, also some special functionalities to fulfil common requirements are provided by own components:
- Renderers: EdgeRenderer to render edges between graph or tree nodes, a LableRenderer to render text items, and a PolygoneRenderer to render geometrical items.
- Layouts: RandomLayout, GridLayout, and some more to place non related data, ForceDirectedLayout, TreeLayout, RadialTreeLayout and others to layout trees and graphs.
- Controls: DragControl, ZoomControl, PanControl, ToolTipControl and several others to react on user interactions.
In simple visualizations the predefined functionality will meet most requirements. If special requirements are needed the default functionality supports a step-wise developing as results can be communicated by predefined components until the own functionality is implemented.
Coordinates in prefuse
prefuse works with two different coordinate systems. Absolute coordinates are device-independent logical coordinates. All visual attributes like positions or sizes are defined in absolute coordinates. In contrast, view coordinates are device-depended (screen). Transformations between absolute and view coordinates are done automatically by Java painting routines. View coordinates are influenced by the system and device driver (e.g., the absolute point (0,0) is the topmost left point of the actual graphical component which may be on any position at the screen). Further, view coordinates may also be manipulated manually by using an affine transformation matrix which applies linear transformations on absolute coordinates before device-dependent routines convert them to screen coordinates.
A prefuse Display provides the most important manipulating methods of this matrix. Zooming, panning, and rotation of the whole view are only done by changing the view coordinates. So, as absolute coordinates are never concerned of such transformations and translations, a user must never consider the actual view in layout, assignment, or painting routines.
There are several different ways on how to apply such transformations, additionally, the Display also supports animated transformations.
User Interactions
Mouse or keyboard events are treated by ControlListener. Whenever an event occurs which is handled by a ControlListener, the Display delegates the event to the respective routine. A ControlListener disdinguishes automatically which visual element is concerned of the event (the view itself or a VisualItem).
A ControlListener may just perform simple tasks like changing the mouse cursor or editing the label of an item. But, in more sophisticated applications, also tasks like loading new data or dragging items on the view may be handled. Therefore, a ControlListener may also start ActionLists to execute such tasks. Further, a ControlListener has also access to the Display. Thus, it is able to call methods like zooming or panning. Typically, each ControlListener forces a repaint when its job is done.
Most of standard functionality is already predefined in prefuse and the wanted listeners just have to be assigned to the Display. However, the Display can handle a countless of different listener. Hence, typically only a few listeners must be defined manually as they can be mixed with default ones.
Conclusion
prefuse is a very powerful toolkit, providing a large set of components and methods a developer needs to build an Information Visualization. The polylithic design is not that easy to understand in the beginning of a development, but once conceived, a visualization is easy to realize even if really special demands have to be fulfilled. Furthermore, using Prefuse forces a clear and well designed architecture of own applications.
prefuse was created with most attention paid to developers who will finally work with the toolkit. In an evaluation study this goal was approved too. In the meanwhile, there is also a not so small community using and upgrading the toolkit, which is an argument for its usability.
External links
Downloads
References
- [Heer, 2004] Jeffrey Heer. prefuse: a software framework for interactive information visualization. Masters of Science, Computer Science Division, University of California, Berkeley, 2004.
- [Heer, 2005] Jeffrey Heer, Stuart K. Card, and James A. Landay. prefuse: a toolkit for interactive information visualization. In CHI 2005, Human Factors in Computing Systems, 2005.
- [Heer, 2006a] Jeffrey Heer, prefuse API documentation. Retrieved at: July 06, 2006, http://prefuse.org
- [Heer, 2006b] Jeffrey Heer, prefuse manual. Retrieved at: July 06, 2006, http://prefuse.org
- [Sun Microsystems, 2001] Sun Microsystems, Programmer’s Guide to the Java 2DTM API - Enhanced Graphics and Imaging for Java. Retrieved at: April 20, 2006, http://java.sun.com/j2se/1.4/pdf/j2d-book.pdf