Commits

Takeshi Komiya committed abcbd07

* Regenerate

Comments (0)

Files changed (7)

Add a comment to this file

nwdiag/build/doctrees/environment.pickle

Binary file modified.

Add a comment to this file

nwdiag/build/doctrees/examples.doctree

Binary file modified.

Add a comment to this file

nwdiag/build/html/_images/nwdiag-f817f3a8258c7a2840b28dead3903f598ec68f11.png

Added
New image

nwdiag/build/html/_sources/examples.txt

 .. literalinclude:: diagrams/simple.diag
 .. nwdiag:: diagrams/simple.diag
 
+define multiple addresses
+=========================
+
+.. versionadded:: 0.2.6
+
+.. literalinclude:: diagrams/multiple_addresses.diag
+.. nwdiag:: diagrams/multiple_addresses.diag
+
 
 grouping nodes
 ==============

nwdiag/build/html/examples.html

 }" width="770" height="418" />
 </p>
 </div>
+<div class="section" id="define-multiple-addresses">
+<h2>define multiple addresses<a class="headerlink" href="#define-multiple-addresses" title="Permalink to this headline">¶</a></h2>
+<p class="versionadded">
+<span class="versionmodified">New in version 0.2.6.</span></p>
+<div class="highlight-python"><pre>diagram {
+  network dmz {
+      address = "210.x.x.x/24"
+
+      // set multiple addresses (using comma)
+      web01 [address = "210.x.x.1, 210.x.x.20"];
+      web02 [address = "210.x.x.2"];
+  }
+  network internal {
+      address = "172.x.x.x/24";
+
+      web01 [address = "172.x.x.1"];
+      web02 [address = "172.x.x.2"];
+      db01;
+      db02;
+  }
+}
+</pre>
+</div>
+<p class="nwdiag">
+<img src="_images/nwdiag-f817f3a8258c7a2840b28dead3903f598ec68f11.png" alt="diagram {
+  network dmz {
+      address = &quot;210.x.x.x/24&quot;
+
+      // set multiple addresses (using comma)
+      web01 [address = &quot;210.x.x.1, 210.x.x.20&quot;];
+      web02 [address = &quot;210.x.x.2&quot;];
+  }
+  network internal {
+      address = &quot;172.x.x.x/24&quot;;
+
+      web01 [address = &quot;172.x.x.1&quot;];
+      web02 [address = &quot;172.x.x.2&quot;];
+      db01;
+      db02;
+  }
+}" width="770" height="418" />
+</p>
+</div>
 <div class="section" id="grouping-nodes">
 <h2>grouping nodes<a class="headerlink" href="#grouping-nodes" title="Permalink to this headline">¶</a></h2>
 <p class="versionadded">
   <ul>
 <li><a class="reference internal" href="#">Sample diagams</a><ul>
 <li><a class="reference internal" href="#simple-diagram">simple diagram</a></li>
+<li><a class="reference internal" href="#define-multiple-addresses">define multiple addresses</a></li>
 <li><a class="reference internal" href="#grouping-nodes">grouping nodes</a></li>
 </ul>
 </li>

nwdiag/build/html/index.html

 </li>
 <li class="toctree-l1"><a class="reference internal" href="examples.html">Sample diagams</a><ul>
 <li class="toctree-l2"><a class="reference internal" href="examples.html#simple-diagram">simple diagram</a></li>
+<li class="toctree-l2"><a class="reference internal" href="examples.html#define-multiple-addresses">define multiple addresses</a></li>
 <li class="toctree-l2"><a class="reference internal" href="examples.html#grouping-nodes">grouping nodes</a></li>
 </ul>
 </li>

nwdiag/build/html/searchindex.js

-Search.setIndex({objects:{"":{nwdiag_antialias:[2,0,1],nwdiag_fontpath:[2,0,1]}},terms:{multilingu:0,code:2,execut:0,text:0,graphviz:4,dejavuserif:0,file:[0,4,2],ipafont:2,font:[0,1,2,4],ttf:[0,2],row:1,web:3,onli:[0,1],group:[4,3],configur:[0,4,2],apach:0,fontpath:[0,2],program:1,web02:[1,2,3],web01:[1,2,3],input:1,modul:2,bin:0,non:1,sourc:[1,2,4],string:2,get:[1,2,4],python:0,requir:[0,4],introduct:[0,4],insert:2,db01:[1,3],like:[0,4],emb:2,"try":0,output:[1,4],div:1,"14pt":1,pleas:0,set:[4,2],monospac:1,nwdiag_antialia:2,interact:[1,4],some:2,direct:[4,2],diagram_imag:1,intern:[1,3],sampl:[0,4,3],diagam:[0,4,3],sphinxcontrib:[4,2],librari:0,bootstrap:0,detect:0,buildout:[0,4],network:[0,1,2,3,4],diag:[0,4,2],section:0,definit:3,ff7777:3,netuenc:2,gener:[0,4,2],refer:0,birkenfeld:2,usag:[0,4],style:1,here:2,extens:2,address:[1,3],org:[0,2],modifi:0,embed:[0,2],blockfil:2,funcparserlib:0,label:0,filter:2,outsid:3,tk0miya:0,licens:[0,4],block:2,note:1,render:[0,1,2],color:3,foobar:2,arrai:2,simpla:0,easy_instal:[0,4,2],nwdiag_fontpath:2,truetyp:[0,2],filenam:2,tsvg:0,dejavu:0,anti:2,famili:1,path:[0,2],contrib:2,instal:[0,4,2],size:1,from:[0,4],sample_front:3,script:2,support:[0,1],add:2,app01:1,basic:0,usr:[0,2],shell:[1,4],option:[0,4,2],imag:[0,4,2],copi:0,setuptool:0,specifi:[0,2],"true":2,png:0,"case":2,utf:0,alia:2,setup:[0,4],sample_back:3,cat:0,defin:3,can:[0,1,2,4],dmz:[1,2,3],similar:4,browser:1,ipagp:2,featur:[0,4],want:0,demo:[1,4],sudo:[0,2],share:[0,2],archiv:2,ini:0,conf:2,home:0,alwai:0,multipl:2,anoth:2,make:0,format:0,same:0,write:0,read:2,take:2,db02:3,environ:0,you:[0,1,2,4],document:2,simpl:[0,4,3],noth:0,singl:2,enabl:2,node:[0,4,3],nwdiagrc:0,http:[0,2],distribut:0,clone:0,after:1,diagram:[0,1,2,3,4],nwdiag:[0,1,2,4],extern:2,bitbucket:[0,2],sphinx:[0,4,2],textarea:1,svg:0,later:0,col:1,exampl:[0,2],command:0,thi:[1,2,4],dot:[0,4]},objtypes:{"0":"std:confval"},titles:["Introduction of nwdiag","Demo - interactive shell for nwdiag","sphinxcontrib-nwdiag","Sample diagams","nwdiag - simple network-diagram image generator"],objnames:{"0":"confval"},filenames:["introduction","demo","sphinxcontrib","examples","index"]})
+Search.setIndex({objects:{"":{nwdiag_antialias:[2,0,1],nwdiag_fontpath:[2,0,1]}},terms:{multilingu:0,code:2,execut:0,text:0,graphviz:4,dejavuserif:0,comma:3,file:[0,4,2],ipafont:2,font:[0,1,2,4],ttf:[0,2],row:1,web:3,onli:[0,1],group:[4,3],configur:[0,4,2],apach:0,fontpath:[0,2],program:1,web02:[1,2,3],web01:[1,2,3],input:1,modul:2,bin:0,non:1,sourc:[1,2,4],string:2,get:[1,2,4],python:0,requir:[0,4],introduct:[0,4],insert:2,db01:[1,3],like:[0,4],emb:2,"try":0,output:[1,4],div:1,"14pt":1,pleas:0,set:[4,2,3],monospac:1,nwdiag_antialia:2,interact:[1,4],some:2,direct:[4,2],diagram_imag:1,intern:[1,3],sampl:[0,4,3],diagam:[0,4,3],sphinxcontrib:[4,2],librari:0,bootstrap:0,detect:0,buildout:[0,4],network:[0,1,2,3,4],diag:[0,4,2],section:0,definit:3,ff7777:3,netuenc:2,gener:[0,4,2],refer:0,birkenfeld:2,usag:[0,4],style:1,here:2,extens:2,address:[1,3,4],org:[0,2],modifi:0,embed:[0,2],blockfil:2,funcparserlib:0,label:0,filter:2,outsid:3,tk0miya:0,licens:[0,4],block:2,note:1,render:[0,1,2],color:3,foobar:2,arrai:2,simpla:0,easy_instal:[0,4,2],nwdiag_fontpath:2,truetyp:[0,2],filenam:2,tsvg:0,dejavu:0,anti:2,famili:1,path:[0,2],contrib:2,instal:[0,4,2],size:1,from:[0,4],sample_front:3,script:2,support:[0,1],add:2,app01:1,basic:0,usr:[0,2],shell:[1,4],option:[0,4,2],imag:[0,4,2],copi:0,setuptool:0,specifi:[0,2],"true":2,png:0,"case":2,utf:0,alia:2,setup:[0,4],sample_back:3,cat:0,defin:[4,3],can:[0,1,2,4],dmz:[1,2,3],similar:4,browser:1,ipagp:2,featur:[0,4],want:0,demo:[1,4],sudo:[0,2],share:[0,2],archiv:2,ini:0,conf:2,home:0,alwai:0,multipl:[4,2,3],anoth:2,make:0,format:0,same:0,write:0,read:2,take:2,db02:3,environ:0,you:[0,1,2,4],document:2,simpl:[0,4,3],noth:0,singl:2,enabl:2,node:[0,4,3],nwdiagrc:0,http:[0,2],distribut:0,clone:0,after:1,diagram:[0,1,2,3,4],nwdiag:[0,1,2,4],extern:2,bitbucket:[0,2],sphinx:[0,4,2],textarea:1,svg:0,later:0,col:1,exampl:[0,2],command:0,thi:[1,2,4],dot:[0,4]},objtypes:{"0":"std:confval"},titles:["Introduction of nwdiag","Demo - interactive shell for nwdiag","sphinxcontrib-nwdiag","Sample diagams","nwdiag - simple network-diagram image generator"],objnames:{"0":"confval"},filenames:["introduction","demo","sphinxcontrib","examples","index"]})
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.