Блог пользователя csacademy

Автор csacademy, 8 лет назад, перевод, По-русски

Привет, Codeforces!

Недавно мы запустили новый редактор графов.

Не стесняйтесь использовать его, если вам надо визуализировать или создать граф средних размеров. В настоящее время, он может поддерживать до 30 вершин.

Оставляйте свои комментарии здесь:)

  • Проголосовать: нравится
  • +272
  • Проголосовать: не нравится

»
8 лет назад, # |
  Проголосовать: нравится +16 Проголосовать: не нравится

Cool!

The animation of gravitational pull is awesome. Looks like it doesn't work when you place new node in draw mode (bug or feature?)

Similar tool: http://codeforces.com/blog/entry/21750

  • »
    »
    8 лет назад, # ^ |
      Проголосовать: нравится +32 Проголосовать: не нравится

    In draw mode the gravitation pull stops in order to allow users to easily add new edges. The same goes for edit and delete, it's intended behaviour.

»
8 лет назад, # |
  Проголосовать: нравится +39 Проголосовать: не нравится

Great Tool. Hope to see supporting of loops too.

  • »
    »
    8 лет назад, # ^ |
      Проголосовать: нравится +34 Проголосовать: не нравится

    Yeah, loops and multiple edges are a bit of a hassle. For now you can add multiple edges though, and use articulation points to drag them around in order to avoid overlapping.

»
8 лет назад, # |
  Проголосовать: нравится +30 Проголосовать: не нравится

Awesome! It would be also good, if it was able to draw rooted tree, like that:

and that:

»
8 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

буквально вчера искал сервис похожий на этот.... не нашел((

очень круто! единственное, у меня не вышло развернуть рисунок на весь экран...

  • »
    »
    8 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Спасибо, мы добавим режим Полного Экрана в следующую версию редактора

»
8 лет назад, # |
  Проголосовать: нравится +5 Проголосовать: не нравится

Just used your tool while solving a problem. It's awesome how it understands graph's structure without anything except copy-pasting from my side! Force mode is also cool for visualization but it has a drawback: nodes might start moving after you think they've settled down.

Feature request: ability to "freeze" the graph (one check-box?), so that one can place the nodes in the most convenient way, fix their positions and analyze the graph without distraction coming from these random movements.

  • »
    »
    8 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Yes, it's a really cool feature that needs to be added. Unfortunately though, the graph editor tool is now low on our list, but we'll make sure to add this feature when we get back to it.

    • »
      »
      »
      8 лет назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      Thanks!

      Also some more feedback: the text on the instructions how to interact with edge is a little bit misleading. Before I tried it I interpreted Articulation point as Cut point (as they are used interchangeably).

»
8 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

This is awesome! I love graph problems and this is going to make it even more fun. Thank you csacademy!

»
8 лет назад, # |
  Проголосовать: нравится +16 Проголосовать: не нравится

Suggestion: add a button like "Render as image", so that we can download a JPG/PNG file that has the graph as an image.

Otherwise, nice tool! This tool is very helpful.

  • »
    »
    8 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Yes, we are planning to implement multiple ways of exporting the graph, like to an image and to our own mark-up language so you can also paste render your graph in a comment or in the chat of our website. Maybe even to an animated gif :)

»
8 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Maybe a function which allows users to paint colors on nodes and edges could be useful?

»
6 лет назад, # |
Rev. 2   Проголосовать: нравится +8 Проголосовать: не нравится

Great tool!
How to generate markup with the directed graph?
The "Generate Markup" command makes the same code regardless of the selection of directed or undirected.
Thanks.

»
16 месяцев назад, # |
  Проголосовать: нравится +11 Проголосовать: не нравится

I really like this tool and used it often while solving CF rounds; now I've made my own Graph Editor.

Please check it here: Graph Editor

Visualisation works better with some bigger graphs; has random graph generator and adjacent nodes highlighting;

But! you can't add, delete or move vertices on canvas by click now.

Pls leave feedback in my blog: Silver_Fox blog. Graph Editor — I could add some features you will suggest.