File:Callback-async-notitle.svg

Original file(SVG file, nominally 512 × 253 pixels, file size: 4 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary edit

Description A simple diagram made with Graphviz of an asynchronous callback, including the application main program, a software platform registration function, the callback function, the software platform main loop. The initial step is registration, and the later steps are callbacks.
Date
Source Own work
Author TuukkaH
SVG development
InfoField
 
The SVG code is valid.
 
This chart was created with Graphviz.
Source code
InfoField

Command line code

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

Data

Graphiz code
digraph Pipeline {
        rankdir=LR
        labeljust="l"
        style=filled
        color=lightgrey
        node [style=filled,fillcolor=white,color=white]

# phase 1: registration

        subgraph clusterApplication {
                style=filled
                label="Application program (Initial step)"
                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 -> callback
        }

        subgraph clusterLibrary {
                margin="5,5"
                label="Software platform"
                labelloc=b
                node [color=blue,fontcolor=blue]
                loop [label="Main loop",shape=rect]
                function [label="Registration function"]
                loop -> function [style=invis]
        }
        program -> function [label="calls",weight=100]

# phase 2: callback

        subgraph clusterApplication2 {
                label="Application program (Later steps)"
                program2 [label="Main program",shape=rect]
                callback2 [label="Callback function"]
# invisible content to match layout with intention:
                edge [style=invis]
                node [style=invis,label="",width=0.01,height=0.01]
                program2 -> callback2
        }

        subgraph clusterLibrary2 {
                margin="5,5"
                label="Software platform"
                labelloc=b
                node [color=blue,fontcolor=blue]
                loop2 [label="Main loop",shape=rect]
                function2 [label="Registration function"]

                loop2 -> function2 [style=invis]
        }


        callback2
        loop2 -> callback2 [label="calls"]

# vertical constraint between phases
        program -> callback2 [style=invis]
}


Licensing edit

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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current23:48, 11 February 2018Thumbnail for version as of 23:48, 11 February 2018512 × 253 (4 KB)Pat Hawks (talk | contribs)Reprocess GraphViz code to SVG to eliminate SVG errors
15:34, 21 April 2012Thumbnail for version as of 15:34, 21 April 2012423 × 470 (7 KB)Dirk Hünniger (talk | contribs)text alignment
15:30, 21 April 2012Thumbnail for version as of 15:30, 21 April 2012423 × 470 (6 KB)Dirk Hünniger (talk | contribs)text alignment
20:28, 20 April 2006Thumbnail for version as of 20:28, 20 April 2006423 × 470 (3 KB)TuukkaH (talk | contribs){{Information| |Description=A simple diagram made with Graphviz of an asynchronous callback, including the application main program, a software platform registration function, the callback function, the software platform main loop. The initial step is reg

There are no pages that use this file.

File usage on other wikis

Metadata