Original file(SVG file, nominally 512 × 144 pixels, file size: 8 KB)

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.
Date
Source Own work
Author TuukkaH
SVG development
InfoField
 
The SVG code is valid.
 
This chart was created with Graphviz.
 
 This file uses embedded text that can be easily translated using a text editor.
Source code
InfoField

Command line code

<callback.dot dot -Tsvg ┃ sed -e 's/<title>.*<\/title>//' >callback-notitle.svg

Data

Graphiz code
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"]
}

Licensing

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

20 April 2006

image/svg+xml

0e9f405dbe0a5623de4d89961c8250b76e1772d5

7,700 byte

144 pixel

512 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current00:31, 29 November 2018Thumbnail for version as of 00:31, 29 November 2018512 × 144 (8 KB)Gherson2New arrow to show how the callback function is specified.
23:49, 11 February 2018Thumbnail for version as of 23:49, 11 February 2018512 × 144 (2 KB)Pat HawksTransparent background
23:45, 11 February 2018Thumbnail for version as of 23:45, 11 February 2018512 × 144 (2 KB)Pat HawksEliminate SVG errors
15:31, 21 April 2012Thumbnail for version as of 15:31, 21 April 2012625 × 233 (5 KB)Dirk Hünnigertext alignment
19:23, 20 April 2006Thumbnail for version as of 19: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

Global file usage

The following other wikis use this file:

Metadata