Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Add cluster common attributes #65

Merged
merged 1 commit into from
Apr 27, 2020
Merged

Conversation

kamiazya
Copy link
Member

@kamiazya kamiazya commented Apr 26, 2020

What was a problem

It was not possible to give common attributes to Node, Edge and Graph objects under the cluster.

How this PR fixes the problem

const Example: FC = () => (
  <Digraph
    dpi={150}
    rankdir="TB"
    edge={{
      color: 'blue',
      fontcolor: 'blue',
    }}
    node={{
      shape: 'none',
    }}
  />
);

Check lists (check x in [ ] of list items)

  • Test passed
  • Coding style (indentation, etc)

@kamiazya kamiazya added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 26, 2020
@kamiazya kamiazya merged commit ab3d01a into master Apr 27, 2020
@kamiazya kamiazya deleted the cluster-common-attributes branch April 27, 2020 10:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant