Joint.dia.devs.html #1

  • //
  • guest/
  • christiane_renck/
  • mergequestjs/
  • main/
  • demos/
  • JointJS/
  • www/
  • api/
  • symbols/
  • Joint.dia.devs.html
  • View
  • Commits
  • Open Download .zip Download (12 KB)
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		<title>JointJS API Reference - Joint.dia.devs</title>

		<style type="text/css">
			/* default.css */
body
{
	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	width: 800px;
        color: white;
}

.header
{
	clear: both;
	background-color: #ccc;
	padding: 8px;
}

h1
{
	font-size: 150%;
	font-weight: bold;
	padding: 0;
	margin: 1em 0 0 .3em;
}

hr
{
	border: none 0;
	border-top: 1px solid #7F8FB1;
	height: 1px;
}

pre.code
{
	display: block;
	padding: 8px;
	border: 1px dashed #ccc;
}

#index
{
	margin-top: 24px;
	float: left;
	width: 160px;
	position: absolute;
	left: 8px;
	background-color: #F3F3F3;
	padding: 8px;
}

#content
{
	margin-left: 190px;
	width: 600px;
}

.classList
{
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 8px;
	font-family: arial, sans-serif;
	font-size: 1em;
	overflow: auto;
}

.classList li
{
	padding: 0;
	margin: 0 0 8px 0;
}

.summaryTable { width: 100%; }

h1.classTitle
{
	font-size:170%;
	line-height:130%;
}

h2 
{ 
    font-size: 110%; 
}
caption, div.sectionTitle
{
	background-color: #7F8FB1;
	color: #fff;
	font-size:130%;
	text-align: left;
	padding: 2px 6px 2px 6px;
	border: 1px #7F8FB1 solid;
}

div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }

.summaryTable td
{
	vertical-align: top;
	padding: 4px;
	border-bottom: 1px #7F8FB1 solid;
	border-right: 1px #7F8FB1 solid;
}

/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
	border-left: 1px #7F8FB1 solid;
	width: 140px;
	text-align: right;
}

td.attributes, .fixedFont
{
	line-height: 15px;
	color: white;
        font-weight: bold;
	font-family: "Courier New",Courier,monospace;
	font-size: 13px;
}

.summaryTable td.nameDescription
{
	text-align: left;
	font-size: 13px;
	line-height: 15px;
}

.summaryTable td.nameDescription, .description
{
	line-height: 15px;
	padding: 4px;
	padding-left: 4px;
}

.summaryTable { margin-bottom: 8px; }

ul.inheritsList
{
	list-style: square;
	margin-left: 20px;
	padding-left: 0;
}

.detailList {
	margin-left: 20px; 
	line-height: 15px;
}
.detailList dt { margin-left: 20px; }

.detailList .heading
{
	font-weight: bold;
	padding-bottom: 6px;
	margin-left: 0;
}

.light, td.attributes, .light a:link, .light a:visited
{
	color: #777;
	font-style: italic;
}

.fineprint
{
	text-align: right;
	font-size: 10px;
}

#header { 
  display: block;
  text-align: center;
  background-color: #26A2E0;
  color: white;
  font-size: 24px;
  font-weight: bold;
}
#header a { 
  text-decoration: none;
  color: inherit;
}
a {
    color: white;
    text-decoration: underline;
}

#index a,
#index h2 {
    color: black;
}




		</style>
	</head>

	<body>
<!-- ============================== header ================================= -->	
		<!-- begin static/header.html -->
		
		<!-- end static/header.html -->

<!-- ============================== classes index ============================ -->
		<div id="index">
			<!-- begin publish.classesIndex -->
			<div align="center"><a href="../index.html">Class Index</a>
| <a href="../files.html">File Index</a></div>
<hr />
<h2>Classes</h2>
<ul class="classList">
	
	<li></li>
	
	<li><a href="../symbols/Joint.html">Joint</a></li>
	
	<li><a href="../symbols/Joint.arrows.html">Joint.arrows</a></li>
	
	<li><a href="../symbols/Joint.dia.html">Joint.dia</a></li>
	
	<li><a href="../symbols/Joint.dia.devs.html">Joint.dia.devs</a></li>
	
	<li><a href="../symbols/Joint.dia.Element.html">Joint.dia.Element</a></li>
	
	<li><a href="../symbols/Joint.dia.erd.html">Joint.dia.erd</a></li>
	
	<li><a href="../symbols/Joint.dia.fsa.html">Joint.dia.fsa</a></li>
	
	<li><a href="../symbols/Joint.dia.org.html">Joint.dia.org</a></li>
	
	<li><a href="../symbols/Joint.dia.pn.html">Joint.dia.pn</a></li>
	
	<li><a href="../symbols/Joint.dia.uml.html">Joint.dia.uml</a></li>
	
</ul>
<hr />
			<!-- end publish.classesIndex -->
		</div>
		
		<div id="content">
<!-- ============================== class title ============================ -->
			<h1 class="classTitle">
				
				Namespace Joint.dia.devs
			</h1>

<!-- ============================== class summary ========================== -->			
			<p class="description">
				
				
			
				Holds functionality related to Discrete EVent System (DEVS) diagrams.
				
				
					<br /><i>Defined in: </i> <a href="../symbols/src/src_joint.dia.devs.js.html">joint.dia.devs.js</a>.
				
			</p>

<!-- ============================== constructor summary ==================== -->			
			
			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class Joint.dia.devs.">
				<caption>Namespace Summary</caption>
				<thead>
					<tr>
						<th scope="col">Constructor Attributes</th>
						<th scope="col">Constructor Name and Description</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="attributes">&nbsp;</td>
						<td class="nameDescription" >
							<div class="fixedFont">
								<b><a href="../symbols/Joint.dia.devs.html#constructor">Joint.dia.devs</a></b>
							</div>
							<div class="description"></div>
						</td>
					</tr>
				</tbody>
			</table>
			

<!-- ============================== properties summary ===================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class Joint.dia.devs.">
					<caption>Field Summary</caption>
					<thead>
						<tr>
							<th scope="col">Field Attributes</th>
							<th scope="col">Field Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								Joint.dia.devs.<b><a href="../symbols/Joint.dia.devs.html#.arrow">arrow</a></b>
								</div>
								<div class="description">Predefined arrow.</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			

<!-- ============================== methods summary ======================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class Joint.dia.devs.">
					<caption>Method Summary</caption>
					<thead>
						<tr>
							<th scope="col">Method Attributes</th>
							<th scope="col">Method Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">Joint.dia.devs.<b><a href="../symbols/Joint.dia.devs.html#.Model.create">Model.create</a></b>(properties)
								</div>
								<div class="description">DEVS atomic/coupled model.</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			
<!-- ============================== events summary ======================== -->
			

<!-- ============================== constructor details ==================== -->		
			
			<div class="details"><a name="constructor"> </a>
				<div class="sectionTitle">
					Namespace Detail
				</div>
				
				<div class="fixedFont">
						<b>Joint.dia.devs</b>
				</div>
				
				<div class="description">
					
					
				</div>
				
				
				
				
					
					
					
					
					
					
					

			</div>
			

<!-- ============================== field details ========================== -->		
			
				<div class="sectionTitle">
					Field Detail
				</div>
				
					<a name=".arrow"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">Joint.dia.devs.</span><b>arrow</b>
					
					</div>
					<div class="description">
						Predefined arrow.
						
						
					</div>
					
					
					
					<pre class="code">a1.port("o", "out1").joint(c1.port("i", "in"), Joint.dia.devs.arrow);</pre>
					
					

						
						
						
						

					
				
			

<!-- ============================== method details ========================= -->		
			
				<div class="sectionTitle">
					Method Detail
				</div>
				
					<a name=".Model.create"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">Joint.dia.devs.</span><b>Model.create</b>(properties)
					
					</div>
					<div class="description">
						DEVS atomic/coupled model.
						
						
					</div>
					
					
					
					<pre class="code">var a1 = Joint.dia.devs.Model.create({
  rect: {x: 30, y: 90, width: 100, height: 60},
  label: "Atomic 1",
  attrs: {
    fill: "90-#000-#f00:1-#fff"
  },
  iPorts: ["in1"],
  oPorts: ["out1", "out2"]
});</pre>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>properties</b>
									
								</dt>
								<dd></dd>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>properties.rect</b>
									
								</dt>
								<dd>Bounding box of the model (e.g. {x: 50, y: 100, width: 150, height: 100}).</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>properties.label</b>
									<i>Optional</i>
								</dt>
								<dd>The name of the model.</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>properties.labelOffsetX</b>
									<i>Optional</i>
								</dt>
								<dd>Offset in x-axis of the label from the model rectangle origin.</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>properties.labelOffsetY</b>
									<i>Optional</i>
								</dt>
								<dd>Offset in y-axis of the label from the model rectangle origin.</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>properties.portsOffsetX</b>
									<i>Optional</i>
								</dt>
								<dd>Offset in x-axis of the ports from the model rectangle origin.</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>properties.portsOffsetY</b>
									<i>Optional</i>
								</dt>
								<dd>Offset in y-axis of the ports from the model rectangle origin.</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>properties.iPortRadius</b>
									<i>Optional</i>
								</dt>
								<dd>Radius of the input ports circle.</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>properties.oPortRadius</b>
									<i>Optional</i>
								</dt>
								<dd>Radius of the output ports circle.</dd>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>properties.iPortAttrs</b>
									<i>Optional</i>
								</dt>
								<dd>SVG attributes of the appearance of the input ports.</dd>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>properties.oPortAttrs</b>
									<i>Optional</i>
								</dt>
								<dd>SVG attributes of the appearance of the output ports.</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>properties.iPortLabelOffsetX</b>
									<i>Optional</i>
								</dt>
								<dd>Offset in x-axis of the input ports label.</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>properties.oPortLabelOffsetX</b>
									<i>Optional</i>
								</dt>
								<dd>Offset in x-axis of the output ports label.</dd>
							
								<dt>
									<span class="light fixedFont">{array}</span> <b>properties.iPorts</b>
									<i>Optional</i>
								</dt>
								<dd>The input port names.</dd>
							
								<dt>
									<span class="light fixedFont">{array}</span> <b>properties.oPorts</b>
									<i>Optional</i>
								</dt>
								<dd>The output port names.</dd>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>properties.attrs</b>
									<i>Optional</i>
								</dt>
								<dd>SVG attributes of the appearance of the model.</dd>
							
							</dl>
						
						
						
						
						
						
						

					
				
			
			
<!-- ============================== event details ========================= -->		
			
			
			<hr />
		</div>

		
<!-- ============================== footer ================================= -->
		<div class="fineprint" style="clear:both">
		  JointJS - JavaScript diagramming library, &copy; David Durman, 2009 - 2011
		</div>
	</body>
</html>
# Change User Description Committed
#1 16445 christiane_renck Rename/move file(s)
//guest/christiane_renck/MergeQuestJS/main/demos/JointJS/www/api/symbols/Joint.dia.devs.html
#1 16444 christiane_renck Adding MergeQuestJS to the Workshop.