Its subject matter is on-topic, as Robert Harvey mentioned. From the Help Center (emphasis mine):
Stack Overflow is for professional and enthusiast programmers, people
who write code because they love it. We feel the best Stack Overflow
questions have a bit of source code in them, but if your question
generally covers…
- a specific programming problem, or
- a software algorithm, or
- software tools commonly used by programmers; and is
- a practical, answerable problem that is unique to software development … then you’re in the right place to ask your question!
So, the fact that it is about an algorithm is fine. The problem, however, lies in the presentation of the question, which goes wrong at around the second sentence:
I need an algorithm to tell me how to draw a graph as following : The
graph must have the maximum number of triangle faces. Edges must not
cross each others (planar graph).
I need to know what is the name of the graph I want to draw, Then I
need to know if there is a good algorithm or library to help me draw
that.
Applicable close reasons:
- too broad – There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.
- This question is asking for an algorithm to be given without showing any effort given to solve the problem.
- unclear what you're asking – Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.
- This question is a request rather than a specific problem that needs fixing.
- Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
- The asker says that s/he "need[s] a good algorithm or library to help me draw that," which is not a specific problem, but a request for an off-site resource.