Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
[WSO2-Release] [Release 1.1.1] update documentation for release 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wso2-jenkins-bot committed Mar 27, 2019
1 parent 7d45245 commit 2560583
Show file tree
Hide file tree
Showing 5 changed files with 148 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -11,7 +11,7 @@ Find some useful links below:

## Latest API Docs

Latest API Docs is <a target="_blank" href="https://wso2-extensions.github.io/siddhi-execution-graph/api/1.1.0">1.1.0</a>.
Latest API Docs is <a target="_blank" href="https://wso2-extensions.github.io/siddhi-execution-graph/api/1.1.1">1.1.1</a>.

## How to use

Expand Down Expand Up @@ -45,8 +45,8 @@ Latest API Docs is <a target="_blank" href="https://wso2-extensions.github.io/si

## Features

* <a target="_blank" href="https://wso2-extensions.github.io/siddhi-execution-graph/api/1.1.0/#maximumclique-stream-processor">maximumClique</a> *<a target="_blank" href="https://wso2.github.io/siddhi/documentation/siddhi-4.0/#stream-processor">(Stream Processor)</a>*<br><div style="padding-left: 1em;"><p>This extension returns the size of the maximum clique of a graph.</p></div>
* <a target="_blank" href="https://wso2-extensions.github.io/siddhi-execution-graph/api/1.1.0/#sizeoflargestconnectedcomponent-stream-processor">sizeOfLargestConnectedComponent</a> *<a target="_blank" href="https://wso2.github.io/siddhi/documentation/siddhi-4.0/#stream-processor">(Stream Processor)</a>*<br><div style="padding-left: 1em;"><p>This extension returns the size of the largest connected component of a graph.</p></div>
* <a target="_blank" href="https://wso2-extensions.github.io/siddhi-execution-graph/api/1.1.1/#maximumclique-stream-processor">maximumClique</a> *<a target="_blank" href="https://wso2.github.io/siddhi/documentation/siddhi-4.0/#stream-processor">(Stream Processor)</a>*<br><div style="padding-left: 1em;"><p>This extension returns the size of the maximum clique of a graph.</p></div>
* <a target="_blank" href="https://wso2-extensions.github.io/siddhi-execution-graph/api/1.1.1/#sizeoflargestconnectedcomponent-stream-processor">sizeOfLargestConnectedComponent</a> *<a target="_blank" href="https://wso2.github.io/siddhi/documentation/siddhi-4.0/#stream-processor">(Stream Processor)</a>*<br><div style="padding-left: 1em;"><p>This extension returns the size of the largest connected component of a graph.</p></div>

## How to Contribute

Expand Down
140 changes: 140 additions & 0 deletions docs/api/1.1.1.md
@@ -0,0 +1,140 @@
# API Docs - v1.1.1

## Graph

### maximumClique *<a target="_blank" href="https://wso2.github.io/siddhi/documentation/siddhi-4.0/#stream-processor">(Stream Processor)</a>*

<p style="word-wrap: break-word">This extension returns the size of the maximum clique of a graph.</p>

<span id="syntax" class="md-typeset" style="display: block; font-weight: bold;">Syntax</span>
```
graph:maximumClique(<STRING> main.vertex, <STRING> refer.vertex, <BOOL> notify.update)
```

<span id="query-parameters" class="md-typeset" style="display: block; color: rgba(0, 0, 0, 0.54); font-size: 12.8px; font-weight: bold;">QUERY PARAMETERS</span>
<table>
<tr>
<th>Name</th>
<th style="min-width: 20em">Description</th>
<th>Default Value</th>
<th>Possible Data Types</th>
<th>Optional</th>
<th>Dynamic</th>
</tr>
<tr>
<td style="vertical-align: top">main.vertex</td>
<td style="vertical-align: top; word-wrap: break-word">This is the ID of the main vertex that is used to create a graph.</td>
<td style="vertical-align: top"></td>
<td style="vertical-align: top">STRING</td>
<td style="vertical-align: top">No</td>
<td style="vertical-align: top">No</td>
</tr>
<tr>
<td style="vertical-align: top">refer.vertex</td>
<td style="vertical-align: top; word-wrap: break-word">This is the ID of the 'refer vertex' that connects with the main vertex in thegraph.</td>
<td style="vertical-align: top"></td>
<td style="vertical-align: top">STRING</td>
<td style="vertical-align: top">No</td>
<td style="vertical-align: top">No</td>
</tr>
<tr>
<td style="vertical-align: top">notify.update</td>
<td style="vertical-align: top; word-wrap: break-word">If this is set to <code>true</code> and if there is any update in the maximum clique of the graph, an alert is sent.</td>
<td style="vertical-align: top"></td>
<td style="vertical-align: top">BOOL</td>
<td style="vertical-align: top">No</td>
<td style="vertical-align: top">No</td>
</tr>
</table>
<span id="extra-return-attributes" class="md-typeset" style="display: block; font-weight: bold;">Extra Return Attributes</span>
<table>
<tr>
<th>Name</th>
<th style="min-width: 20em">Description</th>
<th>Possible Types</th>
</tr>
<tr>
<td style="vertical-align: top">sizeOfMaximumClick</td>
<td style="vertical-align: top; word-wrap: break-word">The size of the maximum clique of the graph.</td>
<td style="vertical-align: top">INT</td>
</tr>
</table>

<span id="examples" class="md-typeset" style="display: block; font-weight: bold;">Examples</span>
<span id="example-1" class="md-typeset" style="display: block; color: rgba(0, 0, 0, 0.54); font-size: 12.8px; font-weight: bold;">EXAMPLE 1</span>
```
define stream CseEventStream (vertex1 String, vertex2 String);
from CseEventStream#graph:maximumClique(vertex1,vertex2,false)
select maximumClique
insert all events into OutputStream;
```
<p style="word-wrap: break-word">This query returns the maximum clique of a given graph.</p>

### sizeOfLargestConnectedComponent *<a target="_blank" href="https://wso2.github.io/siddhi/documentation/siddhi-4.0/#stream-processor">(Stream Processor)</a>*

<p style="word-wrap: break-word">This extension returns the size of the largest connected component of a graph.</p>

<span id="syntax" class="md-typeset" style="display: block; font-weight: bold;">Syntax</span>
```
graph:sizeOfLargestConnectedComponent(<STRING> main.vertex, <STRING> refer.vertex, <BOOL> notify.update)
```

<span id="query-parameters" class="md-typeset" style="display: block; color: rgba(0, 0, 0, 0.54); font-size: 12.8px; font-weight: bold;">QUERY PARAMETERS</span>
<table>
<tr>
<th>Name</th>
<th style="min-width: 20em">Description</th>
<th>Default Value</th>
<th>Possible Data Types</th>
<th>Optional</th>
<th>Dynamic</th>
</tr>
<tr>
<td style="vertical-align: top">main.vertex</td>
<td style="vertical-align: top; word-wrap: break-word">This is the ID of the main vertex that is used to create the graph.</td>
<td style="vertical-align: top"></td>
<td style="vertical-align: top">STRING</td>
<td style="vertical-align: top">No</td>
<td style="vertical-align: top">No</td>
</tr>
<tr>
<td style="vertical-align: top">refer.vertex</td>
<td style="vertical-align: top; word-wrap: break-word">This is the ID of the 'refer vertex' that connects with the main vertex in the graph.</td>
<td style="vertical-align: top"></td>
<td style="vertical-align: top">STRING</td>
<td style="vertical-align: top">No</td>
<td style="vertical-align: top">No</td>
</tr>
<tr>
<td style="vertical-align: top">notify.update</td>
<td style="vertical-align: top; word-wrap: break-word">If this is set to <code>true</code> and if there is any update in the largest connected component of the graph, an alert is sent.</td>
<td style="vertical-align: top"></td>
<td style="vertical-align: top">BOOL</td>
<td style="vertical-align: top">No</td>
<td style="vertical-align: top">No</td>
</tr>
</table>
<span id="extra-return-attributes" class="md-typeset" style="display: block; font-weight: bold;">Extra Return Attributes</span>
<table>
<tr>
<th>Name</th>
<th style="min-width: 20em">Description</th>
<th>Possible Types</th>
</tr>
<tr>
<td style="vertical-align: top">sizeOfLargestConnectedComponent</td>
<td style="vertical-align: top; word-wrap: break-word">The size of the largest connected component of a graph.</td>
<td style="vertical-align: top">LONG</td>
</tr>
</table>

<span id="examples" class="md-typeset" style="display: block; font-weight: bold;">Examples</span>
<span id="example-1" class="md-typeset" style="display: block; color: rgba(0, 0, 0, 0.54); font-size: 12.8px; font-weight: bold;">EXAMPLE 1</span>
```
define stream CseEventStream (vertex1 String, vertex2 String);
from CseEventStream#graph:sizeOfLargestConnectedComponent(vertex1,vertex2,false)
select sizeOfLargestConnectedComponent
insert all events into OutputStream ;
```
<p style="word-wrap: break-word">This query returns the size of the largest connected component of a given graph.</p>

2 changes: 1 addition & 1 deletion docs/api/latest.md
@@ -1,4 +1,4 @@
# API Docs - v1.1.0
# API Docs - v1.1.1

## Graph

Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Expand Up @@ -11,7 +11,7 @@ Find some useful links below:

## Latest API Docs

Latest API Docs is <a target="_blank" href="https://wso2-extensions.github.io/siddhi-execution-graph/api/1.1.0">1.1.0</a>.
Latest API Docs is <a target="_blank" href="https://wso2-extensions.github.io/siddhi-execution-graph/api/1.1.1">1.1.1</a>.

## How to use

Expand Down Expand Up @@ -45,8 +45,8 @@ Latest API Docs is <a target="_blank" href="https://wso2-extensions.github.io/si

## Features

* <a target="_blank" href="https://wso2-extensions.github.io/siddhi-execution-graph/api/1.1.0/#maximumclique-stream-processor">maximumClique</a> *<a target="_blank" href="https://wso2.github.io/siddhi/documentation/siddhi-4.0/#stream-processor">(Stream Processor)</a>*<br><div style="padding-left: 1em;"><p>This extension returns the size of the maximum clique of a graph.</p></div>
* <a target="_blank" href="https://wso2-extensions.github.io/siddhi-execution-graph/api/1.1.0/#sizeoflargestconnectedcomponent-stream-processor">sizeOfLargestConnectedComponent</a> *<a target="_blank" href="https://wso2.github.io/siddhi/documentation/siddhi-4.0/#stream-processor">(Stream Processor)</a>*<br><div style="padding-left: 1em;"><p>This extension returns the size of the largest connected component of a graph.</p></div>
* <a target="_blank" href="https://wso2-extensions.github.io/siddhi-execution-graph/api/1.1.1/#maximumclique-stream-processor">maximumClique</a> *<a target="_blank" href="https://wso2.github.io/siddhi/documentation/siddhi-4.0/#stream-processor">(Stream Processor)</a>*<br><div style="padding-left: 1em;"><p>This extension returns the size of the maximum clique of a graph.</p></div>
* <a target="_blank" href="https://wso2-extensions.github.io/siddhi-execution-graph/api/1.1.1/#sizeoflargestconnectedcomponent-stream-processor">sizeOfLargestConnectedComponent</a> *<a target="_blank" href="https://wso2.github.io/siddhi/documentation/siddhi-4.0/#stream-processor">(Stream Processor)</a>*<br><div style="padding-left: 1em;"><p>This extension returns the size of the largest connected component of a graph.</p></div>

## How to Contribute

Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Expand Up @@ -32,6 +32,7 @@ markdown_extensions:
pages:
- Welcome: index.md
- API Docs:
- 1.1.1: api/1.1.1.md
- 1.1.0: api/1.1.0.md
- 1.0.14: api/1.0.14.md
- 1.0.13: api/1.0.13.md
Expand Down

0 comments on commit 2560583

Please sign in to comment.