Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-thinking Spreadsheet Format #1

Open
w0rp opened this issue Feb 7, 2023 · 0 comments
Open

Re-thinking Spreadsheet Format #1

w0rp opened this issue Feb 7, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@w0rp
Copy link
Member

w0rp commented Feb 7, 2023

This issue will remain open until most of these ideas are realised, and can be used as a reference later for a vision of what this tool should do.

I slapped together relviz with the following format, expressed in CSV:

Sheet 1 (Name labels the edge)

User,Organisation
w0rp,Dense Analysis
hsanson,Dense Analysis

The headings name the type of vertex, and the rows describe an edge in one direction. There are problems with this format.

  1. This format is highly specific to Excel. There's no way to also support CSV.
  2. It's difficult to draw unnamed edges.
  3. There's no way to create orphaned vertices.
  4. The format is not extensible. (such as defining colours for vertices, etc.)

Given that relviz is still alpha or beta quality and just about literally no one knows it exists yet, we can do better. We can switch to the following format, and abandon the current one.

Node,Type
w0rp,User
hsanson,User
Dense Analysis,Organisation

Edge,From,To
member,w0rp,Dense Analysis
member,hsanson,Dense Analysis

We can accept the following extension later for defining Edge information.

Node,Type
w0rp,User
hsanson,User
Dense Analysis,Organisation

Edge,Color,Label
member,blue,member of

Edge,From,To
member,w0rp,Dense Analysis
member,hsanson,Dense Analysis

The edge data can be optional, and if edge data is not supplied we can say that the edge ID is equal to the edge label. We can allow for any number of optional additional columns for the node and edge rows to specify properties of them. In addition, we can later support settings for the graph itself:

Graph,Renderer
,Force-directed

We will support these groupings of CSV data in any given order. We will apply fuzzy-matching to headings so alternative spellings will work, potentially later including foreign languages.

@w0rp w0rp added the enhancement New feature or request label Feb 7, 2023
@w0rp w0rp self-assigned this Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant