From Wikipedia, the free encyclopedia

[edit] Summary
| Description |
This simple diagram made with Graphviz shows a callback function, including the application main program, a software library function and the callback function.
|
| Source |
Own work.
|
| Date |
2006-04-20
|
| Author |
User:TuukkaH
|
Permission
(Reusing this image) |
See below.
|
[edit] Licensing
[edit] Graphviz source
Command line was:
<callback.dot dot -Tsvg | sed -e 's/<title>.*<\/title>//' >callback-notitle.svg
File callback.dot:
digraph Pipeline {
rankdir=LR
labeljust="l"
style=filled
color=lightgrey
node [style=filled,fillcolor=white,color=white]
subgraph clusterApplication {
label="Application program"
program [label="Main program",shape=rect]
callback [label="Callback function"]
# invisible content to match layout with intention:
edge [style=invis]
node [style=invis,label="",width=0.01,height=0.01]
program -> libpad
libpad -> callback
}
subgraph clusterLibrary {
margin="5,5"
label="Software library"
labelloc=b
node [color=blue,fontcolor=blue]
function [label="Library function"]
}
program -> function [label="calls"]
function -> callback [label="calls"]
}
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Dimensions | User | Comment |
| current | 19:23, 20 April 2006 | 625×233 (2 KB) | TuukkaH | |
File links
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):