Image:Callback-notitle.svg

From Wikipedia, the free encyclopedia

Callback-notitle.svg (SVG file, nominally 625 × 233 pixels, file size: 2 KB)

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

[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

Public domain I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.


Afrikaans | Alemannisch | Aragonés | العربية | Asturianu | Български | Català | Česky | Cymraeg | Dansk | Deutsch | Eʋegbe | Ελληνικά | English | Español | Esperanto | Euskara | Estremeñu | فارسی | Français | Galego | 한국어 | हिन्दी | Hrvatski | Ido | Bahasa Indonesia | Íslenska | Italiano | עברית | Kurdî / كوردی | Latina | Lietuvių | Latviešu | Magyar | Македонски | Bahasa Melayu | Nederlands | ‪Norsk (bokmål)‬ | ‪Norsk (nynorsk)‬ | 日本語 | Polski | Português | Ripoarisch | Română | Русский | Shqip | Slovenčina | Slovenščina | Српски / Srpski | Svenska | ไทย | Tagalog | Türkçe | Українська | Tiếng Việt | Walon | ‪中文(简体)‬ | ‪中文(繁體)‬ | zh-yue-hant | +/-

[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/TimeDimensionsUserComment
current19:23, 20 April 2006625×233 (2 KB)TuukkaH ({{Information| |Description=I made with Graphviz this simple diagram of 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 |Permi)
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):