Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8968951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:31:34+00:00 2026-06-15T17:31:34+00:00

I see this in examples all the time (like the ethane molecule one) and

  • 0

I see this in examples all the time (like the ethane molecule one) and it is never explained.

What is [type=s]? what are the different types?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T17:31:35+00:00Added an answer on June 15, 2026 at 5:31 pm

    I see this in examples all the time (like the ethane molecule one) …

    I assume you’re referring to the ethane molecule example on Wikipedia’s DOT language page:

     graph ethane {
         C_0 -- H_0 [type=s];
         C_0 -- H_1 [type=s];
         C_0 -- H_2 [type=s];
         C_0 -- C_1 [type=s];
         C_1 -- H_3 [type=s];
         C_1 -- H_4 [type=s];
         C_1 -- H_5 [type=s];
     }
    

    A few things of interest:

    • The use of attribute type on the Wikipedia page dates back to 2004 and is in the first version of the page, almost identical to the version there today.

    • There is no attribute type listed in the current graphviz documentation.

    • I installed graphviz 1.14 and its DOT documentation (circa 2002) does not list type as an attribute.

    • I found DOT documentation for graphviz 1.7, dated 1996. It doesn’t list attribute type either.

    • Removing the type attributes from the graph or changing their values does not affect the output for the current version of graphviz or version 1.14.

    Various attributes have changed over time, and it’s possible that type is the old name of something like tailPort, which accepts a portPos for input to indicate which side of a node to attach the edge (“s” for “south”, “n” for “north”, etc). Maybe it was used in a version that I don’t have the documentation for. Or maybe it was never used at all, and people just faithfully copied it from Wikipedia. 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The examples I see are suggesting the use like this: $response = new Response();
In some ASP.NET examples i see that events are used with delegates like this
All examples of svn branching I have seen so far look like this svn
I would like to see how this example of existing code would be able
I'm using this great jQuery timepicker http://trentrichardson.com/examples/timepicker/ It gives a string something like 07/20/2011
I need some suggestion over this approach - please see examples below. I have
This should be an easy one to solve, I've just never messed with AJAX
I have many examples of Java bytecode, all of which I'd like to execute
In all the examples I've seen of using XmlSerializer any time a list or
See this example! int main( int argc, char ** argv ) { int *ptr

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.