<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd " >
<html xmlns="http://www.w3.org/1999/xhtml " xml:lang="en" >
<head >
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML " >
</script >
<title >GAP (Francy) - Chapter 9: Francy Renderers</title >
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="generator" content="GAPDoc2HTML" />
<link rel="stylesheet" type="text/css" href="manual.css" />
<script src="manual.js" type="text/javascript" ></script >
<script type="text/javascript" >overwriteStyle();</script >
</head >
<body class="chap9" onload="jscontent()" >
<div class="chlinktop" ><span class="chlink1" >Goto Chapter: </span ><a href="chap0_mj.html" >Top</a> <a href="chap1_mj.html" >1</a> <a href="chap2_mj.html" >2</a> <a href="chap3_mj.html" >3</a> <a href="chap4_mj.html" >4</a> <a href="chap5_mj.html" >5</a> <a href="chap6_mj.html" >6</a> <a href="chap7_mj.html" >7</a> <a href="chap8_mj.html" >8</a> <a href="chap9_mj.html" >9</a> <a href="chap10_mj.html" >10</a> <a href="chapInd_mj.html" >Ind</a> </div >
<div class="chlinkprevnexttop" > <a href="chap0_mj.html" >[Top of Book]</a> <a href="chap0_mj.html#contents" >[Contents]</a> <a href="chap8_mj.html" >[Previous Chapter]</a> <a href="chap10_mj.html" >[Next Chapter]</a> </div >
<p id="mathjaxlink" class="pcenter" ><a href="chap9.html" >[MathJax off]</a></p>
<p><a id="X7D64BBF779DF08EA" name="X7D64BBF779DF08EA" ></a></p>
<div class="ChapSects" ><a href="chap9_mj.html#X7D64BBF779DF08EA" >9 <span class="Heading" >Francy Renderers</span ></a>
<div class="ContSect" ><span class="tocline" ><span class="nocss" > </span ><a href="chap9_mj.html#X7CC6903E78F24167" >9.1 <span class="Heading" >Categories</span ></a>
</span >
<div class="ContSSBlock" >
<span class="ContSS" ><br /><span class="nocss" > </span ><a href="chap9_mj.html#X87E855467939C1FD" >9.1-1 IsFrancyRenderer</a></span >
<span class="ContSS" ><br /><span class="nocss" > </span ><a href="chap9_mj.html#X7E31420A7C602AE2" >9.1-2 IsFrancyRendererType</a></span >
</div ></div >
<div class="ContSect" ><span class="tocline" ><span class="nocss" > </span ><a href="chap9_mj.html#X846063757EC05986" >9.2 <span class="Heading" >Families</span ></a>
</span >
</div >
<div class="ContSect" ><span class="tocline" ><span class="nocss" > </span ><a href="chap9_mj.html#X7EABCC537D3BC549" >9.3 <span class="Heading" >Representations</span ></a>
</span >
<div class="ContSSBlock" >
<span class="ContSS" ><br /><span class="nocss" > </span ><a href="chap9_mj.html#X865A6CD586CFFD7B" >9.3-1 IsFrancyRendererRep</a></span >
<span class="ContSS" ><br /><span class="nocss" > </span ><a href="chap9_mj.html#X78812A3F87C4206B" >9.3-2 IsFrancyRendererTypeRep</a></span >
</div ></div >
<div class="ContSect" ><span class="tocline" ><span class="nocss" > </span ><a href="chap9_mj.html#X7DE8E16C7C2D387B" >9.4 <span class="Heading" >Operations</span ></a>
</span >
<div class="ContSSBlock" >
<span class="ContSS" ><br /><span class="nocss" > </span ><a href="chap9_mj.html#X87AE55D687C0164B" >9.4-1 FrancyRenderer</a></span >
</div ></div >
<div class="ContSect" ><span class="tocline" ><span class="nocss" > </span ><a href="chap9_mj.html#X8690E870823975F3" >9.5 <span class="Heading" >Global</span ></a>
</span >
</div >
<div class="ContSect" ><span class="tocline" ><span class="nocss" > </span ><a href="chap9_mj.html#X7C701DBF7BAE649A" >9.6 <span class="Heading" >Attributes</span ></a>
</span >
<div class="ContSSBlock" >
<span class="ContSS" ><br /><span class="nocss" > </span ><a href="chap9_mj.html#X8579B89B80DEF055" >9.6-1 Value</a></span >
<span class="ContSS" ><br /><span class="nocss" > </span ><a href="chap9_mj.html#X8579B89B80DEF055" >9.6-2 Value</a></span >
<span class="ContSS" ><br /><span class="nocss" > </span ><a href="chap9_mj.html#X84656E4C877CAB50" >9.6-3 SetValue</a></span >
</div ></div >
</div >
<h3>9 <span class="Heading" >Francy Renderers</span ></h3>
<p><code class="code" >FrancyRenderer</code > is an object that holds the renderer name to be used by the client to display the graphics.</p>
<p>Francy JS allows users to switch between renderers in runtime, but if the renderer is specified in the GAP code , then the user won't be able to switch between renderers on the client side.
<p>This implementation knows only about the official supported renderers: <code class="code" >D3</code >, <code class="code" >Vis</code > and <code class="code" >Graphviz</code >. Please see Francy-JS for client implementation.</p>
<p><a id="X7CC6903E78F24167" name="X7CC6903E78F24167" ></a></p>
<h4>9.1 <span class="Heading" >Categories</span ></h4>
<p>In this section we show all Francy FrancyRenderer Categories.</p>
<p><a id="X87E855467939C1FD" name="X87E855467939C1FD" ></a></p>
<h5>9.1-1 IsFrancyRenderer</h5>
<div class="func" ><table class="func" width="100%" ><tr ><td class="tdleft" ><code class="func" >‣ IsFrancyRenderer</code >( <var class="Arg" >arg</var > )</td ><td class="tdright" >( filter )</td ></tr ></table ></div >
<p>Returns: <code class="keyw" >true</code > or <code class="keyw" >false</code ></p>
<p>Identifies <code class="code" >FrancyRenderer</code > objects.</p>
<p><a id="X7E31420A7C602AE2" name="X7E31420A7C602AE2" ></a></p>
<h5>9.1-2 IsFrancyRendererType</h5>
<div class="func" ><table class="func" width="100%" ><tr ><td class="tdleft" ><code class="func" >‣ IsFrancyRendererType</code >( <var class="Arg" >arg</var > )</td ><td class="tdright" >( filter )</td ></tr ></table ></div >
<p>Returns: <code class="keyw" >true</code > or <code class="keyw" >false</code ></p>
<p>Identifies <code class="code" >FrancyRendererType</code > objects.</p>
<p><a id="X846063757EC05986" name="X846063757EC05986" ></a></p>
<h4>9.2 <span class="Heading" >Families</span ></h4>
<p>In this section we show all Francy FrancyRenderer Families.</p>
<p><a id="X7EABCC537D3BC549" name="X7EABCC537D3BC549" ></a></p>
<h4>9.3 <span class="Heading" >Representations</span ></h4>
<p>In this section we show all Francy FrancyRenderer Representations.</p>
<p><a id="X865A6CD586CFFD7B" name="X865A6CD586CFFD7B" ></a></p>
<h5>9.3-1 IsFrancyRendererRep</h5>
<div class="func" ><table class="func" width="100%" ><tr ><td class="tdleft" ><code class="func" >‣ IsFrancyRendererRep</code >( <var class="Arg" >arg</var > )</td ><td class="tdright" >( filter )</td ></tr ></table ></div >
<p>Returns: <code class="keyw" >true</code > or <code class="keyw" >false</code ></p>
<p>Checks whether an <code class="code" >Object </code > has a <code class="code" >FrancyRenderer</code > internal representation.</p>
<p><a id="X78812A3F87C4206B" name="X78812A3F87C4206B" ></a></p>
<h5>9.3-2 IsFrancyRendererTypeRep</h5>
<div class="func" ><table class="func" width="100%" ><tr ><td class="tdleft" ><code class="func" >‣ IsFrancyRendererTypeRep</code >( <var class="Arg" >arg</var > )</td ><td class="tdright" >( filter )</td ></tr ></table ></div >
<p>Returns: <code class="keyw" >true</code > or <code class="keyw" >false</code ></p>
<p>Checks whether an <code class="code" >Object </code > has a <code class="code" >FrancyRendererType</code > internal representation.</p>
<p><a id="X7DE8E16C7C2D387B" name="X7DE8E16C7C2D387B" ></a></p>
<h4>9.4 <span class="Heading" >Operations</span ></h4>
<p>In this section we show all Francy FrancyRenderer Operations.</p>
<p><a id="X87AE55D687C0164B" name="X87AE55D687C0164B" ></a></p>
<h5>9.4-1 FrancyRenderer</h5>
<div class="func" ><table class="func" width="100%" ><tr ><td class="tdleft" ><code class="func" >‣ FrancyRenderer</code >( <var class="Arg" >IsFrancyRendererType</var > )</td ><td class="tdright" >( operation )</td ></tr ></table ></div >
<p>Returns: <code class="code" >FrancyRenderer</code ></p>
<p>Adds an info label with the format "label: value" </p>
<p>Examples:</p>
<p>Configure <code class="code" >FrancyRendererType.VIS</code > as the renderer for a specific canvas :</p>
<div class="example" ><pre >
<span class="GAPprompt" >gap></span > <span class="GAPinput" >canvas := Canvas ("Example Canvas / Shape with Messages" );</span >
<span class="GAPprompt" >gap></span > <span class="GAPinput" >graph := Graph(GraphType.UNDIRECTED);</span >
<span class="GAPprompt" >gap></span > <span class="GAPinput" >Add(canvas , graph);</span >
<span class="GAPprompt" >gap></span > <span class="GAPinput" >vis := FrancyRenderer(FrancyRendererType.VIS);</span >
<span class="GAPprompt" >gap></span > <span class="GAPinput" >Add(canvas , vis);</span >
</pre ></div >
<p><a id="X8690E870823975F3" name="X8690E870823975F3" ></a></p>
<h4>9.5 <span class="Heading" >Global</span ></h4>
<p>In this section we show all Global FrancyRendererType records for multi purpose.</p>
<p><a id="X7C701DBF7BAE649A" name="X7C701DBF7BAE649A" ></a></p>
<h4>9.6 <span class="Heading" >Attributes</span ></h4>
<p>In this section we show all FrancyRenderer Core Attributes</p>
<p><a id="X8579B89B80DEF055" name="X8579B89B80DEF055" ></a></p>
<h5>9.6-1 Value</h5>
<div class="func" ><table class="func" width="100%" ><tr ><td class="tdleft" ><code class="func" >‣ Value</code >( <var class="Arg" >arg</var > )</td ><td class="tdright" >( attribute )</td ></tr ></table ></div >
<p>Returns: <code class="code" >IsString</code > with the renderer of the object </p>
<p>A value on a <code class="code" >FrancyRenderer</code > is used to specify which renderer will be used to draw the graphics on the client.</p>
<p><a id="X8579B89B80DEF055" name="X8579B89B80DEF055" ></a></p>
<h5>9.6-2 Value</h5>
<div class="func" ><table class="func" width="100%" ><tr ><td class="tdleft" ><code class="func" >‣ Value</code >( <var class="Arg" >arg1</var > )</td ><td class="tdright" >( operation )</td ></tr ></table ></div >
<p><a id="X84656E4C877CAB50" name="X84656E4C877CAB50" ></a></p>
<h5>9.6-3 SetValue</h5>
<div class="func" ><table class="func" width="100%" ><tr ><td class="tdleft" ><code class="func" >‣ SetValue</code >( <var class="Arg" >IsFrancyRenderer</var >, <var class="Arg" >IsString</var > )</td ><td class="tdright" >( operation )</td ></tr ></table ></div >
<p>Sets the actual renderer <code class="code" >FrancyRenderer</code >.</p>
<div class="chlinkprevnextbot" > <a href="chap0_mj.html" >[Top of Book]</a> <a href="chap0_mj.html#contents" >[Contents]</a> <a href="chap8_mj.html" >[Previous Chapter]</a> <a href="chap10_mj.html" >[Next Chapter]</a> </div >
<div class="chlinkbot" ><span class="chlink1" >Goto Chapter: </span ><a href="chap0_mj.html" >Top</a> <a href="chap1_mj.html" >1</a> <a href="chap2_mj.html" >2</a> <a href="chap3_mj.html" >3</a> <a href="chap4_mj.html" >4</a> <a href="chap5_mj.html" >5</a> <a href="chap6_mj.html" >6</a> <a href="chap7_mj.html" >7</a> <a href="chap8_mj.html" >8</a> <a href="chap9_mj.html" >9</a> <a href="chap10_mj.html" >10</a> <a href="chapInd_mj.html" >Ind</a> </div >
<hr />
<p class="foot" >generated by <a href="http://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc " >GAPDoc2HTML</a></p>
</body >
</html >
quality 100%
¤ Dauer der Verarbeitung: 0.21 Sekunden
(vorverarbeitet)
¤
*© Formatika GbR, Deutschland