antonioru / antonioru/beautiful-react-diagrams

Nodes autolayout

Aberta
#61 1 comentário 4 reações 0 responsáveis Ver no GitHub
enhancement feature request
Linguagem predominante
JavaScript
Estrelas
2.7k
Forks
171
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**Is your feature request related to a problem? Please describe.**
At the moment, the developer shall define the nodes' coordinates to provide a valid schema, unfortunately this is not always ideal (and might result quite tedious for the developer) it would be nice to have an auto-layout feature .

**Describe the solution you'd like**

A prop to define if a Diagram is "autolayout"
```

```

And a function to programmatically re-organise the layout exported from the `useSchema` hook

```
const [schema, { autolayout }] = useSchema();
```

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.