# Creating a graph

To create a new graph, you can use our [IDE](https://www.codecademy.com/articles/what-is-an-ide) available as a webapp&#x20;

Once you're on the IDE, click on `File` on the top menu to create your first graph ->

![](/files/1hA8EdIsBsTfMbey9MFq)

Wait for the message `Initialize new empty graph` appearing in the console, then you can start to add a new block over the graph canvas ( the right side )

Select an Ethereum Connector block in the list to add it into the graph ->

![](/files/QwnHsQndAYAzIiznkGYK)

You will notice a new "Ethereum Connector" node with value at right "Url", "SocketUrl" and a yellow dot plus "Connection" parameters ->

![](/files/5ygHLB14vM3hTh7JZhUr)

The left value is always the parameters received from the last nodes, which means in this case that you can set up a custom Ethereum node, such as Infura to connect over the eth network.

We won't need it for this example since without specifying them it will use the Managed connection state from the Engine, so we will only have to care about the right side of that new node. But here is what it would need to look like for your node connector ->

![](https://graphlinq.io/docs-images/graph-create-4.png)

String is of the `Variable` Type which is a type of storage value that you can link to a node to transform your data or make new executions. String describes a type on which you can write texts, every type has its own utility.

The blank dot represent the link of parameters between node, for example on the last image we assigned two new variable that will be attached to the “in parameters” of the "Ethereum Connector" so that when it start its execution, it will have both of them in "Url" and "SocketUrl".

Now we will add a bit of logic, let's say that we want to monitor every new transactions coming on the Ethereum blockchain and print in hash value, here is how we will do it ->

![](/files/gia9rz6M7JMrwqCUiC9w)

The yellow link represent the path of cycle execution that will follow up the engine while running your graph. You can now use "Export as file" to generate a .GLQ file up and ready to be executed over the protocol.

Here is a graph sample video with comments:<br>

{% embed url="<https://graphlinq.io/docs-images/sample-graph.mp4>" %}

*

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.graphlinq.io/dev-tooling/graphs/creating-a-graph.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
