OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsn-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Public Comment


Comment from: oic2day@yahoo.com

Name: Steve Pothier
Regarding Specification: WS-BaseNotification 1.3

It would be wonderful if the defintions from section 2.1 were related by a diagram.  A very coarse attempt at this is in the GRAPHVIZ file given below.  Also included is the graphviz file rendered as SVG.

regards,
-sp-

/*
EXAMPLE:
  neato -Tsvg ws-BaseNotification-terms.dot > ws-BaseNotification-terms.svg

in emacs,
  compile using: C-c c
  preview using: C-c p
*/


digraph mygraph {
        rankdir=LR;
        node [shape=record];
        edge [len=1.5]; 
        title [label="Relationships between terminology", shape=plaintext];
        
        Situation [shape="ellipse"];
        Notification [shape="ellipse"];
        producer [label="NotificationProducer"];
        consumer [label="NotificationConsumer"];
        Subscription [shape="ellipse"];
        SubscriptionManager;
        Subscriber;
        e1 [shape="point"];
        e2 [shape="point"];
        
        // Relations
        Situation -> Notification [style="dotted",arrowhead="none"];
        producer -> e1 -> consumer;
        e1 -> Notification [style="dashed", arrowhead="none"];
        
        Subscription -> SubscriptionManager -> Subscription;
        producer -> Subscription [style="dashed", arrowhead="none"];
        Subscription -> consumer [style="dashed", arrowhead="none"];

        // Subscriber definition
        Subscriber -> e2 -> producer;
        e2 -> SubscribeRequest [style="dashed"];

}


// Local variables:
// mode: graphviz-dot
// end:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
<!-- Generated by neato version 2.2 (Tue Mar 22 18:02:44 UTC 2005)
     For user: (pothiers) Steve Pothier   Title: mygraph    Pages: 1 -->
<svg width="615pt" height="492pt"
 viewBox = "-1 -1 614 491"
 xmlns="http://www.w3.org/2000/svg";>
<g id="graph0" class="graph" style="font-family:Times-Roman;font-size:14.00;">
<title>mygraph</title>
<g id="node1" class="node"><title>title</title>
<text text-anchor="middle" x="500" y="298">Relationships between terminology</text>
</g>
<g id="node2" class="node"><title>Situation</title>
<ellipse cx="554" cy="23" rx="38" ry="18" style="fill:none;stroke:black;"/>
<text text-anchor="middle" x="554" y="28">Situation</text>
</g>
<g id="node3" class="node"><title>Notification</title>
<ellipse cx="467" cy="94" rx="47" ry="18" style="fill:none;stroke:black;"/>
<text text-anchor="middle" x="467" y="99">Notification</text>
</g>
<g id="edge2" class="edge"><title>Situation&#45;&gt;Notification</title>
<path style="fill:none;stroke:black;stroke-dasharray:1,5;" d="M535,39C521,51 502,66 487,78"/>
</g>
<g id="node4" class="node"><title>producer</title>
<polygon style="fill:none;stroke:black;" points="226,269 361,269 361,233 226,233 226,269"/>
<text text-anchor="middle" x="293" y="256">NotificationProducer</text>
</g>
<g id="node6" class="node"><title>Subscription</title>
<ellipse cx="190" cy="181" rx="48" ry="18" style="fill:none;stroke:black;"/>
<text text-anchor="middle" x="190" y="186">Subscription</text>
</g>
<g id="edge12" class="edge"><title>producer&#45;&gt;Subscription</title>
<path style="fill:none;stroke:black;stroke-dasharray:5,2;" d="M266,233C250,222 229,208 214,197"/>
</g>
<g id="node9" class="node"><title>e1</title>
<ellipse cx="364" cy="149" rx="2" ry="2" style="fill:black;stroke:black;"/>
</g>
<g id="edge4" class="edge"><title>producer&#45;&gt;e1</title>
<path style="fill:none;stroke:black;" d="M306,233C321,211 345,177 357,159"/>
<polygon style="fill:black;stroke:black;" points="354,157 363,151 360,161 354,157"/>
</g>
<g id="node5" class="node"><title>consumer</title>
<polygon style="fill:none;stroke:black;" points="190,100 332,100 332,64 190,64 190,100"/>
<text text-anchor="middle" x="261" y="87">NotificationConsumer</text>
</g>
<g id="edge14" class="edge"><title>Subscription&#45;&gt;consumer</title>
<path style="fill:none;stroke:black;stroke-dasharray:5,2;" d="M203,163C216,145 235,118 248,100"/>
</g>
<g id="node7" class="node"><title>SubscriptionManager</title>
<polygon style="fill:none;stroke:black;" points="6,180 143,180 143,144 6,144 6,180"/>
<text text-anchor="middle" x="74" y="167">SubscriptionManager</text>
</g>
<g id="edge9" class="edge"><title>Subscription&#45;&gt;SubscriptionManager</title>
<path style="fill:none;stroke:black;" d="M142,180C142,180 142,180 142,180"/>
<polygon style="fill:black;stroke:black;" points="156,173 142,180 149,166 156,173"/>
</g>
<g id="edge10" class="edge"><title>SubscriptionManager&#45;&gt;Subscription</title>
<path style="fill:none;stroke:black;" d="M143,167C143,167 144,167 144,167"/>
<polygon style="fill:black;stroke:black;" points="145,164 154,169 144,170 145,164"/>
</g>
<g id="node8" class="node"><title>Subscriber</title>
<polygon style="fill:none;stroke:black;" points="193,483 269,483 269,447 193,447 193,483"/>
<text text-anchor="middle" x="231" y="470">Subscriber</text>
</g>
<g id="node10" class="node"><title>e2</title>
<ellipse cx="308" cy="373" rx="2" ry="2" style="fill:black;stroke:black;"/>
</g>
<g id="edge16" class="edge"><title>Subscriber&#45;&gt;e2</title>
<path style="fill:none;stroke:black;" d="M246,447C262,428 287,398 300,383"/>
<polygon style="fill:black;stroke:black;" points="298,380 307,375 303,385 298,380"/>
</g>
<g id="edge7" class="edge"><title>e1&#45;&gt;Notification</title>
<path style="fill:none;stroke:black;stroke-dasharray:5,2;" d="M366,148C374,144 412,123 439,109"/>
</g>
<g id="edge5" class="edge"><title>e1&#45;&gt;consumer</title>
<path style="fill:none;stroke:black;" d="M362,148C355,143 323,123 298,106"/>
<polygon style="fill:black;stroke:black;" points="295,108 289,100 299,103 295,108"/>
</g>
<g id="edge17" class="edge"><title>e2&#45;&gt;producer</title>
<path style="fill:none;stroke:black;" d="M308,371C307,360 301,311 296,279"/>
<polygon style="fill:black;stroke:black;" points="293,279 295,269 299,279 293,279"/>
</g>
<g id="node19" class="node"><title>SubscribeRequest</title>
<polygon style="fill:none;stroke:black;" points="340,469 456,469 456,433 340,433 340,469"/>
<text text-anchor="middle" x="398" y="456">SubscribeRequest</text>
</g>
<g id="edge19" class="edge"><title>e2&#45;&gt;SubscribeRequest</title>
<path style="fill:none;stroke:black;stroke-dasharray:5,2;" d="M310,374C317,380 347,406 369,426"/>
<polygon style="fill:black;stroke:black;" points="372,424 377,433 367,429 372,424"/>
</g>
</g>
</svg>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]